WordPress.org

Ready to get started?Download WordPress

Forums

Options Framework
Top Level Menu (5 posts)

  1. Dinesh Kesarwani
    Member
    Posted 2 years ago #

    It is possible we can add top level menu using Options Framework instead of sub-menu under "Appearance". And, can we rename the menu name from "Theme Options" to any other.

    http://wordpress.org/extend/plugins/options-framework/

  2. Devin Price
    Member
    Plugin Author

    Posted 2 years ago #

    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:
    http://wptheming.com/options-framework-theme/

  3. asocalguy
    Member
    Posted 1 year ago #

    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!

  4. melster777
    Member
    Posted 1 year ago #

    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

  5. Kharis Sulistiyono
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic