mywebgrocer
Forum Replies Created
-
So tmuka, your mod is an overwrite of the whole plugin? It couldn’t be accomplished by making a plugin for WP Super Cache?
Forum: Alpha/Beta/RC
In reply to: remove IDs from custom menu LIsI’m also looking for an answer… I know it can be accomplished using a custom Walker_Nav_Menu, but looking not sure which function effects the list item elements…
Forum: Themes and Templates
In reply to: "Cheatin' Uh?" – Editor Accessible Settings PageI built my options page just as this example (which was linked from a codex article).
I’m sure there are many themes using these features but the problem is that I need an Editor to be able to use it… from that line in
wp-admin/options.php
I can tell that you MUST have themanage_options
capability to POST the options form to the options.php page. My solution will be to have the form submit to the page itself (rather than options.php) and I’ll process the submission from there.Forum: Themes and Templates
In reply to: "Cheatin' Uh?" – Editor Accessible Settings PageAnd yes, I switched to using the
add_theme_page
Forum: Themes and Templates
In reply to: "Cheatin' Uh?" – Editor Accessible Settings PageAnd line 30 of wp-admin/options.php says it all:
if ( !current_user_can('manage_options') )
This is preventing saving any options without the
manage_options
capability. If only there were a hook here to make an exception for certain options…Forum: Themes and Templates
In reply to: "Cheatin' Uh?" – Editor Accessible Settings PageThanks for your reply. I tried giving the capability
edit_theme_options
to editors via Capability Manager but I am still getting the “Cheatin'” message when trying to save… I can see the menu item, get to the page, but can’t update options. I also tried
edit_themes
but no luck. It appears to work only when I give the fullmanage_options
capability… but that is far too much power to give to my editors.It seems there is something preventing the full permission of updating the settings even though the user has the capability required by the page (
edit_theme_options
).Forum: Themes and Templates
In reply to: "Cheatin' Uh?" – Editor Accessible Settings PageI’ve tried several capability/role manager plugins with no luck. With Capability Manager, I created a custom capability called
manage_custom_settings
and used it like this:
add_menu_page('Theme Settings', 'Theme Settings', 'manage_custom_settings', basename(__FILE__), 'my_settings_page', get_bloginfo('template_directory') . '/images/icon_16.png');
Any ideas?
Forum: Plugins
In reply to: [Plugin: TinyMCE Advanced] How can I backup the button arrangement?The settings are located in the wp_options table. They are prefixed with “tadv_”
Do a select for those options and then copy the desired values into an update query ??