WordPress.org

Support

Support » Plugins and Hacks » Theme Check » [Resolved] Error add_options_page

[Resolved] Error add_options_page

Viewing 4 replies - 1 through 4 (of 4 total)
  • This is not an error, this is a correct message. Themes should use the add_theme_page function instead.

    The add_options_page function is for adding pages to the settings menu, themes should add their pages under the Appearance menu.

    I do not think this logic response because within a WordPress Theme you can create new pages and plugin need to be add_options_page, is an error that the plugin does not accept this option.

    It is not an error, it is intentional. Themes are not allowed to use the add_options_page function, as per the theme review guidelines.

    http://make.wordpress.org/themes/guidelines/guidelines-theme-check/

    Themes are required to use the add_theme_page() function to add the Theme Settings Page to the Appearance menu, rather than using add_menu_page() to add a top-level menu.

    The add_options_page function is disallowed for the same reason, because themes should add their pages to the Appearance menu, not to the Settings menu.

    Ok, no choice.
    Thanks for the prompt response.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Error add_options_page’ is closed to new replies.
Skip to toolbar