Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

[SOLVED] Admin menu visibility - edit_themes

Prev Previous Post   Next Post Next
Old Dec 13, 2010, 12:48 PM
5 posts · Dec 2010
[SOLVED] Admin menu visibility - edit_themes

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.



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 09:24 AM.

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