Support » Plugin: Options Framework » [Plugin: Options Framework] Top Level Menu

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Devin Price


    Why would you put theme options under a different submenu?

    If you’re looking to do a lot of customization on it, go for the theme version:

    Options Framework Theme

    I’ve often wondered the same thing for two reasons:

    1) The theme options page has applications other than just Theme Options. For example, if I wanted to use it as a place for the admin to enter, say, default blurbs of content for the front page. Granted that may not be what you intended the plugin for but I suspect it’s pretty commonly used for such things. These things aren’t really options related to the theme (although they kind of are). I would go so far as to say it would be nice to be able to have multiple options pages so some items can remain under Appearance and other items can appear elsewhere.

    2) I’ve done a few installations for clients where the backend was locked down pretty tightly and the users needed a very simple interface. In those situations, I had to hack the Options Framework plugin so it would display at the root of the menu and have a name like “My Settings”. Of course, I’m not longer able to do automatic updates without reimplementing my changes and I’d really like to be able to do auto updates.

    Thanks for a great plugin!

    Hi this plugin is great.

    I would like to ask about changing the position. I change the position by using this code.

    -> $of_page = add_menu_page(__(‘Theme Options’, ‘options_framework_theme’), __(‘Theme Option’, ‘options_framework_theme’), ‘edit_theme_options’, ‘options-framework’,’optionsframework_page’);

    it works actually. but after that the tab are not working properly how can i fix this? thanks in advance

    Hi melster777,

    The tab not working properly because you don’t change the hook of scripts enqueue method yet after the change you made, so the scripts cannot be loaded.

    To load scripts properly, open options-framework.php then go to function optionsframework_load_scripts($hook) { (You can use CTR+F) Here is the function to enqueue scripts function.

    Chanhe toplevel_page_options-framework into toplevel_page_options-framework

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Options Framework] Top Level Menu’ is closed to new replies.