Remove Pagelines Button From Top Admin Bar
Posted 26 October 2012 - 04:57 PM
Posted 26 October 2012 - 05:16 PM
Posted 26 October 2012 - 05:29 PM
Can you please take a screenshot and point out which one you're referring to?
Usually i have a plugin for admin menu but i just can't get rid of that item.
that did not work!
Posted 26 October 2012 - 05:51 PM
Posted 26 October 2012 - 05:59 PM
i use a plugin user access manager - but this works only on the left side of the wordpress admin, not on the top quicklinks wordpress admin menu.
now access to pagelines via quicklinks is not possible though, but the menu still appears.
once there was a working function for PlatformPro ....
Posted 26 October 2012 - 06:04 PM
Posted 26 October 2012 - 06:12 PM
Posted 27 November 2012 - 09:25 AM
in wp its easy to use a function for the admin bar items:
is there a way to remove pagelines item?
Posted 28 November 2012 - 05:54 AM
Posted 28 November 2012 - 09:29 AM
Add this to your functions.php file in either your child theme or PageLines Customisation plugin.
- basmati likes this
Posted 28 November 2012 - 02:00 PM
The menus are only visible to users with the edit_theme_options role. Unless all your visiters are Administrators?
Posted 29 November 2012 - 08:39 AM
@james b: that was the first thing i tried. but i found no way - the css display none is not working - flushed the cache and everything. display none works in firebug but not within the child theme css.
@simon: it's visible for editors - but when they click on it they would have no access to the settings tab and thats confusing for clients.
@danny thanks - thats it!
Posted 29 November 2012 - 03:03 PM
ok - must have confused my own admin modifications...
Posted 03 June 2013 - 04:26 PM
This works great, but what about the Admin Menu bar > Edit Meta menu item, which leads here:
None of the following work:
On a side note, how does one go about finding the menu item names (slugs?) to add into code such as this?
I know how to find the slug for a post or page but not Admin menu or Dashboard menu items.
Firebug, Chrome Dev nor Safari Dev seems to show them.
Posted 03 June 2013 - 06:47 PM
Please could you create your own topic for this as this topic has been answered
Posted 03 June 2013 - 06:50 PM
No problem Martin.
Would you like to remove my question from this topic?
Regardless, I answered both of my questions on my own so I guess there's no need to repost.