Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

[SOLVED] Admin menu visibility - edit_themes


  #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
 
23,765 posts · Mar 2009
OSX 10.11.5 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

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 10:59 AM.


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