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
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
Old Dec 13, 2010, 12:48 PM
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.

Old Dec 13, 2010, 04:58 PM
juggledad's Avatar
23,242 posts · Mar 2009
OSX 10.10.1 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
This has already been added into 3.5.4
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support


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 08:06 PM.

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