Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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 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 at 17:06

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.