Add this to your functions.php file –
add_filter('ot_theme_options_parent_slug', '__return_false');
Basically it’s a filter (ot_theme_options_parent_slug) added by the plugin author and the usage is simple like I provided here. You may consider looking at this page for all available filters for “Option-Tree” plugin – https://github.com/valendesigns/option-tree/blob/master/includes/ot-functions-admin.php By adding this filter, you can pass any function and adjust the UI according to you. Like add_filter('filter_name', 'your_function_name');
Then define the function and do what you like to do –
function(your_function_name){//do whatever you like to do}
Btw, (ot_theme_options_parent_slug) this returns default slug of themes.php So by returning is false, it will go to main menu system of wordpress. You may also adjust the position of it by adding additional filter available.
Related Posts:
- get_option() vs get_theme_mod(): Why is one slower?
- wp_editor() fields on Theme Options Page not saving
- Adding a checkbox to the theme customizer
- Adding a description to theme customizer controls
- Theme Options Panels, What are some good examples from Frameworks or Premium Themes? [closed]
- Where are a theme’s options stored and can I export them to be imported into freshly installed themes?
- Can I install Analytics before deciding on a theme?
- Options Framework options not being output
- Using update_option() and get_option() is echoing escaped strings
- Two Ways Of Creating WordPress Options Pages
- Theme Options page with tabs
- WordPress Nonce and check admin referer help needed
- Outputting results from select box option in options panel
- Theme option : having the ability to select among several predefined headers
- Upload multiple images via theme options [closed]
- PHP stylesheet cannot use standard WP functions
- Display user HTML on website
- Need help understanding/coding with Settings API
- Setting up a members area
- How can I insert some extra validation into the theme options’ validation function using add_filter?
- How to add an alternative style sheet as a theme option?
- Disable image resizing on specific upload fields
- Put standard wordpress options into a theme options panel?
- How can I get my options in json response?
- Removing \\\ from Saved Data
- Use of check_admin_referer with theme options and options.php
- WordPress custom options storing?
- WordPress admin panel framework weird layout on server side
- get option framework options returns Call to undefined function of_get_option()
- Theme Customizier sanitize_callback not working
- Getting the ID of header image, even when set to random
- Theme Options page not saving data correctly
- Getting error to display radio button value in General Settings page
- Create an Options page with two image upload fields
- Only allow site url in text field using wp_kses/wp_filter_nohtml_kses?
- Additional custom header image
- Options Theme – WordPress [closed]
- How to reset (clear) theme settings
- Settings API settings section not appearing
- Is there a function to add additional options to the Twentyeleven option page?
- How to set a default theme option after installing theme?
- How to get of_get_option() inside the inc folder file
- Retrieve uploaded image attibutes value from option tree theme options
- WordPress theme options framework, I can’t read them in my templates
- Display and hide content using checkbox in Options Framework Theme
- How do I remove the page listing menu in the header in the Twenty Ten Theme?
- Multiple options in the options_value field of the wp_options table
- Shorter admin url for options page
- How to use WP Theme Option: Custom_Backgrounds on specific element?
- How can I create a rearrangeable list of items like OptionTree offers with the Theme Customization API?
- WordPress Theme Settings Page
- Theme options are they necessary
- The best place of the code for creating a robots.txt file
- How do I display a WP Option from an array?
- Blogname and Blogdescription in Pagelines DMS Options Panel
- Can Settings API setting generate other settings?
- Cannot modify headers
- How to get functions.php to talk to options.php
- Options Framework not saving options correctly
- How to use checked() function with multiple check box group? How to properly sanitize that checkbox group?
- Admin menus and submenus
- WordPress Options Framework, add to main menu not appearance menu
- WordPress karma theme shortcodes not working
- WordPress built-in Custom Background
- Weird undefined index: id,std notices. How to fix it?
- Splitting an eCommerce store from the WordPress Theme
- How do I have my widgets in a Sidebar for my http://localhost/wordpress/
- Theme options period being replaced
- Show multiple option in URL with Redux framework in front end
- Do not want to display random category. Want to exclude a few or make post show only the category I want [closed]
- Theme options on CPT
- Can’t save multiple sections on one page with register_setting
- Echo content based on current tabbed page in theme options
- What should I use to store options for a single blog on a network site?
- Delete Transient when clicking ‘Save Changes’ on options page
- Build Form on Dashboard
- How to make a hyperlink conditional according to whether you are logged in or not
- How to give site owner the ability to change to footer text via theme options (1 post)
- Changing the layout of a custom options page
- Make Theme Options Menu item more easily / directly accessible
- Is there a better way to define options for custom fields in an admin panel?
- File input returns null in theme options array
- Cloning/replicating/copying dashboard admin settings
- Can’t add options to db
- Slightly modified options framework Colour picker
- Set option to show the slider in post – WP
- Cannot retrieve theme options on index.php
- Theme options: Display ID of page options
- Trouble saving wp_dropdown_pages()
- Notice: Undefined index: in options-framework.php
- Notice: Trying to get property of non-object in options.php
- Is it good idea to combine Options FrameWork with Hybrid Core Framework
- wordpress theme option in other templates
- Need some PHP schoolin’! passing var to url and the old options table
- How to support special characters in text field?
- Multiple Custom Headers
- Why has my WordPress theme disappeared from my WordPress site?
- Can I call Options Framework in footer.php?
- Where to add the code for an outer container in a theme?
- Theme Options wp_editor breaks with 6.0.2 update