WordPress Simple Membership Hide Adminbar shows you how to hide the adminbar from the website front-end for members, admin and more.
Last Updated: May 31, 2018
Latest News: I have updated the information.
The following instructions shows you how to hide or show the adminbar. You will learn how to manage the adminbar when members log in from the front-end of your website via Simple Membership login widget. The following instructions shows you a member who is not an admin, have access to the WordPress Admin Menu. This can be confusing for some members who are only interested in viewing the protected content. Or as an administrator of a membership site you only want your members to have access to their profile and protected content.
The good news is that Simple Membership plugin has a few features that allows you to control who sees the adminbar from the front end.
Note: The admin menu displays if you don’t have the following feature enabled Hide Adminbar. If you have the following feature enabled Show Adminbar to Admin and the member is not an admin member, then they will not see the admin menu.
WordPress Simple Membership Hide Adminbar
Step 1 ) First go to WP Membership -> Settings as illustrated in the following image to manage the following options. Make sure you play around with these options because they all play a different role.
Hide Adminbar Options
- Hide Adminbar = This hides the adminbar for all members.
- Show Adminbar to Admin = This allows only the administrators to see the adminbar.
- Disable Access to WP Dashboard = (Enable this feature if your wp dashboard is displayed when a member navigates to another tab in the same browser while logged in as a non admin member.)
Note: Each feature above allows you to hide or show the adminbar and or wp dashboard for members or admin members. Remember that when members sign up, they are assigned to a Membership Level. Each membership level is assigned to a wp user role.
Step 2 ) The following image shows you the adminbar displayed on the top when members log in. The adminbar is displayed when members log in whether they have admin privileges or not.
Note: Each member is assigned a membership level with a WP user role assigned.
Step 3 ) The following image shows you the website when a member logs in without the adminbar displayed. This is a much cleaner login process for members and less confusing. This is achieved when you enable the following option Hide Adminbar mentioned in Step 1 ) above.
Show Adminbar to Admin
Step 4 ) The following image shows you the website Adminbar displayed to an admin member logged in via Simple Membership login widget.
In this example only members with admin privileges will see the wp dashboard. This is achieved when you enable the following option Show Adminbar to Admin mentioned in Step 1 ) above.
Disable Access to WP Dashboard
Step 5 ) The following image shows you the message displayed when a WP user logs into your site. This happens when the following feature is enabled Disable Access to WP Dashboard mentioned in Step 1 ) above. When a member logs in and tries to view the WP Dashboard, they will also see the following message. However the member will still have access to the protected content and their profile.
Questions and Answers
Q1: How do I allow other members to have access to the adminbar?
Solution 1: Someone posted a solution in the forum post. You can read more about it from the following forum post.
Click on the following URL MailChimp Integration Setup to continue with the settings.
If you have any questions please let me know. I will be updating this tutorial from time to time.
Simple Membership Plugin Tutorial List: