![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#10
|
|||
|
|||
|
Hi Violet,
Thanks for the plugin recommendations, i already have adminimize, and NOW the other one so thanks for that, the problem was Violet the "add new" button which is on the page when you click pages, i wanted the client to see his pages and be able to edit them, just not add new ones....BUT i found a way how to do it, so heres the code incase anyone else is trying to do it, this only hides the button and for people who are running user/member sites there are still other ways they can access this page so you guys would need a "roles" plugin like the members plugin to restrict access. // functions.php function hide_buttons() { global $current_screen; if($current_screen->id == 'page'); { echo '<style>.add-new-h2{display: none;}</style>'; } } add_action('admin_head','hide_buttons'); Im still fairly new with genesis n wordpress so please correct me if im wrong "Nick" or "Violet". Heres my next task may be you guys can help me with, im now trying to remove the "show all dates" dropdown menu and the "filter" button, im guessing i could use the code above again to remove the button, but im not to sure what to change, and imguessing there may be a hook or something to remove the drop down box.. Any help, or point me in the right direction, would be very much appreciated. Brook |
| Tags |
| add new button, admin, wordpress add new pages, wordpress admin |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to remove "About Admin" and "Comments are closed" from bottom of posts | zreboletti | General Discussion | 3 | 11-22-2010 01:07 PM |
| Wordpress 2.8 Upgrade - Only "HTML" Post View - no "Visual" | lizzzlu | General Discussion | 3 | 06-16-2009 08:16 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us