Issue with the add_theme_page requirement (1 post)

  1. Jacob Martella
    Posted 3 years ago #

    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');

Topic Closed

This topic has been closed to new replies.

About this Topic