Edit wp-admin/theme.php page

Last question: Where can I edit this admin page to remove options.


I followed exactly through wp-admin and theme.php and still can't find where to edit/remove options on that file: theme specific styling, set your own, menus and enjoy your theme

  • 3SixtyEvolve
    • New Recruit

    Hi kaformedia

    Hope you're making progress with your FrameMarket MarketPress setup.

    (I will assume that your question is related to the same. If not, then please just update it on the 'Topic Meta » Change associated project' to the correct project, thank you.)

    I will investigate where you can make these changes (remove the mentioned settings) and revert back to you at the earliest.

    Thank you in advance for your patience.

    Have a good day!


  • Tammie
    • WordPress Wizard

    Are you trying to edit settings or are you trying to remove? Editing is a different case to remove. Changing theme options unless it's just values is going to impact the theme throughout so probably something we can only guide you at not fully support.

    It all depends on what you want to do though. Can you perhaps explain what you are trying to achieve?

  • kaformedia
    • Design Lord, Child of Thor

    Sorry not edit but remove options, I'm trying to block certain options from the site administrator on this page: wp-admin/themes.php?page=theme_options

    Here are the options:
    theme specific styling, set your own, menus and enjoy your theme

  • Tammie
    • WordPress Wizard

    If you want to remove you need to edit under framemarket options/options.php:

    					/* load up all the option sections */
    					include(get_template_directory() . '/options/options-values.php');
    					include(get_template_directory() . '/options/options-setup.php');
    					include(get_template_directory() . '/options/options-advert.php');
    					include(get_template_directory() . '/options/options-google.php');
    					include(get_template_directory() . '/options/options-footer.php');
    					include(get_stylesheet_directory() . '/options/options-styles.php');
    					include(get_template_directory() . '/options/options-menus.php');
    					include(get_template_directory() . '/options/options-enjoy.php');

    You may also need to edit

    function framemarket_options_validate( $input ) {

    We'd not advise you do this unless comfortable with code and consider the changes you've done will be lost unless do a careful update.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.