Anton
Anton

Reputation: 75

WordPress theme developing

I need to add submenu to Appearance menu at WordPress like Background, Header, etc. Please, see the screenshot - http://i28.fastpic.ru/big/2012/0322/17/2ea91d7afac4e8a6755cebfef434aa17.png Anybody know how to do it according to WordPress theme developing standarts?

Upvotes: 0

Views: 165

Answers (2)

Wyck
Wyck

Reputation: 2023

In your theme functions.php you can add sub menu's by using add_submenu_page

add_submenu_page( 'themes.php', //this is the appearance menu
                   $page_title, 
                   $menu_title, 
                   $capability, 
                   $menu_slug, 
                   $function 
               );

Ref: http://codex.wordpress.org/Function_Reference/add_submenu_page

Upvotes: 1

Robbie
Robbie

Reputation: 19500

You could create an admin panel plugin.

Or

If you want to add a section to the admin panel directly from your theme, then i think this link provides details that will help guide you (although I'm not sure it covers how to get it into the Appearance menu).

Upvotes: 0

Related Questions