You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/api-management/developer-portal-wordpress-plugin.md
+115-4Lines changed: 115 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ ms.author: danlep
16
16
17
17
This article shows how to configure an open-source developer portal plugin (preview) to customize the API Management developer portal on WordPress. With the plugin, turn any WordPress site into a developer portal. Take advantage of site capabilities in WordPress to customize and add features to your developer portal including localization, collapsible and expandable menus, custom stylesheets, file downloads, and more.
18
18
19
-
Follow the steps in this article to create a WordPress site on Azure App Service and configure the developer portal plugin on the WordPress site. Microsoft Entra ID is configured for authentication to the WordPress site and the developer portal.
19
+
In this article, you create a WordPress site on Azure App Service and configure the developer portal plugin on the WordPress site. Microsoft Entra ID is configured for authentication to the WordPress site and the developer portal.
20
20
21
21
## Prerequisites
22
22
@@ -140,10 +140,121 @@ Configure the same Microsoft Entra app registration as an identity provider for
140
140
1. In the left menu, select **Azure API Management Developer Portal**.
141
141
1. On the **APIM Settings** page, enter the following settings and select **Save Changes**:
142
142
***APIM service name** - Name of your API Management instance
143
-
* Settings to enable **Create default pages** and **Create navigation menu**
143
+
* Enable **Create default pages** and **Create navigation menu**
144
+
145
+
## Step 8: Add a custom stylesheet
146
+
147
+
Add a custom stylesheet for the API Management developer portal.
148
+
149
+
1. In the WordPress admin site, in the left menu, select **Appearance** > **Themes**.
150
+
1. Select **Customize** and then navigate to **Styles**.
151
+
1. Select the pencil icon (**Edit Styles**).
152
+
1. In the **Styles pane**, select **More** (three dots) > **Additional CSS**.
153
+
1. In **Additional CSS**, enter the following CSS:
1. **Save** the changes. Select**Save** again to save the changes to the theme.
144
255
1. **Log Out** of the WordPress admin site.
145
256
146
-
## Step 8: Add the WordPress site to the list of origins for the developer portal
257
+
## Step 9: Add the WordPress site to the list of origins for the developer portal
147
258
148
259
Update the settings of the developer portal in the API Management instance to include the WordPress site as a portal origin.
149
260
@@ -152,7 +263,7 @@ Update the settings of the developer portal in the API Management instance to in
152
263
1. On the **Self-hosted portal configuration** tab, enter the hostname of your WordPress on App Service site as a portal origin, substituting the name of your app service in the following URL: `https://<yourapp-service-name>.azurewebsites.net`
153
264
1. [Republish the developer portal](developer-portal-overview.md#publish-the-portal) to apply the changes.
154
265
155
-
## Step 9: Sign into the API Management developer portal deployed on WordPress
266
+
## Step 10: Sign into the API Management developer portal deployed on WordPress
156
267
157
268
Sign into the WordPress site to see your new API Management developer portal deployed on WordPress and hosted on App Service.
0 commit comments