WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Wordpress there's a menu option called 'Appeareances'. I want to add (e.g.) a submenu 'header' there and then be able to customize the header from within wordpress (administration page).

From what I understood I have to have a 'functions.php' file in my theme folder. In the 'functions.php' file I write something like this:

<?php add_submenu_page( $parent_slug, $page_title, $menu_title, $capability, $menu_slug, $function); ?>

Of course with adapted arguments (which I'm not entirely sure what those should be since I feel quite lost in all this).

share|improve this question
Why not use the Customization API? – s_ha_dum Apr 6 '14 at 16:11
Because I didn't know about :P I'll look into it, thanks for the link. As of now, I think that the following function call in the functions.php file probably is a step in the right direction: add_theme_support('custom-header'); – Gandora Apr 6 '14 at 17:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.