Site icon Hip-Hop Website Design and Development

Theme possibility : being able to pick out amongst a number of predefined headers

I am within the course of of making my first theme, and I am utilizing Quark as a starter theme.

I would really like the theme to have varied choices, one being header choice. (to illustrate 5 totally different headers – when chosen, the header will present website vast.)

I additionally wish to implement varied headers whose code can be found on codepen, however what I am fighting is giving customers the power to pick out their header of selection.

Let’ say I wish to implement this menu first : http://codepen.io/WhiteWolfWizard/pen/CJLeu.

I’ve learn the Codex for get header operate, and I additionally noticed this :

<?php
if ( is_home() ) :
    get_header( 'residence' );
elseif ( is_404() ) :
    get_header( '404' );
else :
    get_header();
endif;
?>

It is not appropriate to what I am making an attempt to do, because it reveals a header on a per-page foundation.

So I used to be questioning : the place the code for the totally different headers must be, and the way can I give the customers the power to pick out the headers ? (both with possibility tree, Customizer API, or a greater resolution if in case you have any)

Thanks

PS : I am a newbie at this.