Jump to content
dharmagate

Remove Pagelines Options From Admin Toolbar For Non-Admins

Recommended Posts

dharmagate    1
dharmagate

We are not using boxes, banners and features and would like to disable these options from the admin toolbar for non admin users (or all users if need be). Is this possible?

post-11321-0-15920700-1352137668_thumb.p

Share this post


Link to post
Share on other sites
dharmagate    1
dharmagate

I found this, but it is not specific to removing pagelines links from admin toolbar dropdown:

http://sumtips.com/2011/03/customize-wordpress-admin-bar.html


// EDIT ADMIN TOOLBAR

function remove_admin_bar_links() {

global $wp_admin_bar;

$wp_admin_bar->remove_menu('comments');

$wp_admin_bar->remove_menu('new-content');

}

add_action( 'wp_before_admin_bar_render', 'remove_admin_bar_links' );

Share this post


Link to post
Share on other sites
James B    436
James B

Hi there, these are assigned to user roles, if you give the person a lower user role then those items won't appear in the admin bar.

You can also edit which sections feature on various user roles by going into Pagelines>Site options>Advanced. So you can chose an admin level user, and remove the boxes/banners etc from there.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×