In this lesson, we’ll show you how to display the access control settings on the frontend dashboard. By using this page, our donations platform users will be able to:
- Select the session lifetime when donors login to their accounts
- Enable the email access and reCAPTCHA
- Set up the number of donations displayed to a non logged-in user when they attempt to access the Donation History page without an active session.
Just follow these steps:
1- Open the frontend dashboard site
Go to Network Admin > WP Ultimo > Sites.
Click on Manage on the frontend dashboard site.
Click on Dashboard to open the wp-admin panel of the frontend dashboard site.
2- Add a new page to the frontend dashboard site
Go to Pages > Add New.
Enter the page title, select the Elementor Canvas template, and click on Edit with Elementor.
3- Import the frontend dashboard template to the new page
Click on the Add template button to open the Elementor library.
Find the frontend dashboard template and click on Insert.
3- Display the access control settings on the frontend
Paste the following shortcode on the page content section to display the access control settings from GiveWP on the frontend:
Once you paste the shortcode, click on Preview changes.
4- Set up the access control page on the frontend
Use the Quick Settings panel to select the following information:
- Page title: Access control
- URL slug: access-control
- Page template: Elementor Canvas
- Add to this menu: Dashboard
Now you can hide all the unnecessary elements from the access control page on the frontend.
- Click on Hide element
- Click on the element you want to hide
We will remove the settings tabs from this page.
We will also remove the General, Currency, Access control, and Sequential Ordering links from the page.
Besides hiding any unnecessary elements, you can change any texts on the page. This is useful if we want to rename things or remove any plugin names. For example, we can change the “GiveWP” texts with something like “our platform”.
To change any texts on the frontend pages:
- Click on Edit texts.
- Change all the texts you want.
- Click on Stop editing texts.
We changed the GiveWP text with Our platform, and this is what it looks like:
Now that we’ve edited the page content, let’s tick the Hide notices added by other plugins or themes checkbox.
Let’s also select the WP Ultimo membership plans for which this page is available under the This page is available for these WP Ultimo plans section.
Finally, click on Save to apply the changes, and publish the page.
This is what the Access control page will look on the frontend dashboard once it’s finished.
In the next lesson, we’ll show you how to display the payment gateways settings on the frontend dashboard.