[theme-reviewers] Theme submit error

Sandeep Kumar sandeeptanwar600 at gmail.com
Thu May 8 15:24:57 UTC 2014


still getting error here is code

/**
>
>      * Add a subpage called "Theme Options" to the appearance menu.
>
>      *
>
>      * @since 1.7.0
>
>      */
>
> function add_custom_options_page() {
>
>
>>  $menu = $this->menu_settings();
>
>
>>         switch( $menu['mode'] ) {
>
>
>>             case 'menu':
>
>             // http://codex.wordpress.org/Function_Reference/add_menu_page
>
>                 $this->options_screen = add_menu_page(
>
>                 $menu['page_title'],
>
>                 $menu['menu_title'],
>
>                 $menu['capability'],
>
>                 $menu['menu_slug'],
>
>                 array( $this, 'options_page' ),
>
>                 $menu['icon_url'],
>
>                 $menu['position']
>
>                 );
>
>                 break;
>
>
>>             default:
>
>             //
>> http://codex.wordpress.org/Function_Reference/add_submenu_page
>
>                 $this->options_screen = add_submenu_page(
>
>                 $menu['parent_slug'],
>
>                 $menu['page_title'],
>
>                 $menu['menu_title'],
>
>                 $menu['capability'],
>
>                 $menu['menu_slug'],
>
>                 array( $this, 'options_page' ) );
>
>                 break;
>
>         }
>
> }
>
>
>>



On Thu, May 8, 2014 at 2:25 PM, Vibhor Purandare <purandare.vibhor at gmail.com
> wrote:

> add_theme_page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20140508/0b6bfd46/attachment.html>


More information about the theme-reviewers mailing list