Users of your online platform will need to see all the details of the membership they have purchased on your platform and manage their billing.
That’s why in this post we show you how to display the user’s membership page in the frontend with a few clicks using WP Frontend Admin.
This page is provided by WP Ultimo in the WordPress backend.
Just follow these simple steps.
1- Create a new page on the site template
Go to Network Admin > Sites and open the Dashboard of the front-end dashboard site.
Now you need to go to Pages and click Add New to create a new page.
On that new page, enter the title and enter the following shortcode as the page content:
- [vg_display_admin_page page_url=”wp-admin URL”]
You can display any wp-admin page on the frontend using this shortcode. You just need to enter the URL of the wp-admin > account page in the shortcode.
For example, this is how the URL looks:
Then just click Preview to view and edit the page on the frontend.
IMPORTANT – Maybe you’ll get a message telling you you’re trying to open a page for which you don’t have the right permissions. This happens because the current user is a super administrator and it’s not a real user. The current user doesn’t “own a site”, but the page will work fine for regular users and this is what users will see when they go to their membership plan page:
2- Configure the page title, URL, template, and menu
To configure the page title, URL, template, and menu, you need to select the following values:
- Page Title: Enter the page title in this field.
- URL Slug: Enter the page slug on this page.
- Page Template: Default
- Add page to this menu: Select the Main Menu.
You need to tick the Hide notices added by other plugins and themes checkbox and then click Save to publish the page.
After these steps, you’ll have created the WP Ultimo membership page on the frontend and added it to the front-end dashboard menu.
When users open their membership page, they will see something like this:
Here, users will be able to see:
- Plan details
- Account status
- Billing History
How can users set their own domains?
Users will be able to set their own domains using the Custom Domain section on the page. Just remember that this feature will depend on the membership plan preferences so it can be activated on specific plans manually.