Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating »

[SOLVED] Admin menu visibility - edit_themes


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Dec 13, 2010, 12:48 PM
boone
 
5 posts · Dec 2010
In Atahualpa 3.5.3, the theme's admin menu item is only visible to users with the capability 'edit_themes', which WPMS site admins do not have by default.

Please consider changing the last line (65) of functions/bfa_ata_add_admin.php to:

add_theme_page("Atahualpa Options", "Atahualpa Theme Options", apply_filters( 'bfa_ata_admin_menu_cap', 'edit_theme_options' ), 'functions.php', 'bfa_ata_admin');

That sets the default to edit_theme_options (which blog admins *do* have), and allows site admins or plugin authors to change the cap back to edit_themes if they want.

Thanks"
  #2  
Old Dec 13, 2010, 04:58 PM
juggledad's Avatar
juggledad
 
22,186 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
This has already been added into 3.5.4
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to add a private page for admin only to the menu bar? braids Page & Category Menu Bars 7 Dec 8, 2009 07:52 AM
", 'edit_themes', 'functions.php', 'bfa_ata_admin'); } ?> Mads Rasmussen Atahualpa 3 Wordpress theme 2 Nov 24, 2009 07:50 PM
Search engine visibility pilsen1 Header configuration & styling 1 Oct 30, 2009 09:49 AM


All times are GMT -6. The time now is 05:49 AM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.