55 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market

While checking my theme with theme-check plugin, i found few errors which are listed below along with the line of codes where it displays those errors(REQUIRED:) to be fixed.

REQUIRED: plugin-activation.php. Themes should use add_theme_page() for adding admin pages. Line 335: add_submenu_page(

add_submenu_page( $this->parent_menu_slug, // Parent menu slug $this->strings[‘page_title’], // Page title $this->strings[‘menu_title’], // Menu title ‘edit_theme_options’, // Capability $this->menu, // Menu slug array( &$this, ‘install_plugins_page’ ) // Callback );

REQUIRED: panel_functions.php. Themes should use add_theme_page() for adding admin pages. Line 143: add_menu_page(theme_name.’ Settings’, theme_name ,’install_themes’, ‘panel’ updated the list.

$icon = get_template_directory_uri().’/innovative_panel/images/ipanel-settings.png’; add_menu_page(theme_name.’ Settings’, theme_name ,’install_themes’, ‘panel’ , ‘panel_options’, $icon ); $theme_page = add_submenu_page(‘panel’,’Settings’, theme_name.’ Settings’,’install_themes’, ‘panel’ , ‘panel_options’); add_submenu_page(‘panel’,theme_name.’ Documentation’, ‘Documentation’,’install_themes’, ‘docs’ , ‘redirect_docs’); add_submenu_page(‘panel’,’Support’, ‘Support’,’install_themes’, ‘support’ , ‘innovative_get_support’);

Also tell me whether my theme will be accepted by the reviewer with these errors?

Thanks in advance!

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes