Archived

This topic is now archived and is closed to further replies.

  • 0

Remove Pagelines Options From Admin Toolbar For Non-Admins


Question

Posted · Report post

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

2 answers to this question

Posted · Report post

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

Posted · Report post

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.

Share this post


Link to post
Share on other sites