Support » Fixing WordPress » Issue with the add_theme_page requirement

  • So I’m trying to upload my theme for review for the theme directory and I have an issue that will not go away. It’s saying that I need the add_theme_page() function when it’s already in there (see below). Not sure how to get that to go away. Thanks in advance for any help.

    function create_theme_page() {
    	add_theme_page('Sports News Theme Options', 'Theme Options', 'edit_theme_options', basename(__FILE__), 'build_options_page');
    add_action('admin_menu', 'create_theme_page');
  • The topic ‘Issue with the add_theme_page requirement’ is closed to new replies.