[theme-reviewers] add_theme_page()
Rahul Bansal
rahul286 at gmail.com
Mon Jan 24 19:03:55 UTC 2011
>
> If the Theme options *must* be separated into two pages (in most cases, one
> page is sufficient; but there are exceptions), then just put the two pages
> under "Appearance". Still no need for a separate, top-level menu entry.
Is it really must?
What if theme offers so many options that it need to contains 4-5 subpages?
--
Rahul Bansal | Founder & CEO | rtCamp Solutions Pvt. Ltd.
Mobile: +91-9860501882 | Web: http://rtcamp.com/
On Mon, Jan 24, 2011 at 10:31 PM, Chip Bennett <chip at chipbennett.net> wrote:
> If the Theme options *must* be separated into two pages (in most cases, one
> page is sufficient; but there are exceptions), then just put the two pages
> under "Appearance". Still no need for a separate, top-level menu entry.
>
> Chip
>
> On Mon, Jan 24, 2011 at 10:22 AM, Satish Gandham <satish.iitg at gmail.com>wrote:
>
>> I have two option pages in my theme, so im using a separate menu just
>> below the appearance.
>>
>> Theme update was not approved showing the following message. Can't the
>> theme be accepted as is?
>> http://themes.trac.wordpress.org/ticket/2730
>>
>> -WARNING: admin/admin-core.php. Themes should use add_theme_page() for
>> adding admin pages.
>> Line 48: add_submenu_page( 'swift-options', 'Design Options', 'Design
>> Options', 'ediLine 49: *add_submenu_page( 'swift-options', 'Import and
>> Export SWIFT options','Impor*
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110125/647dc334/attachment.htm>
More information about the theme-reviewers
mailing list