</div> </div> <!-- #header-links .main-navigation --> <?php /* Add responsive header menu */ thinkup_input_responsivehtml1(); ?> </div> </div> <!-- #header --> <?php /* Add responsive header menu */ thinkup_input_responsivehtml2(); ?> <?php /* Custom Slider */ thinkup_input_sliderhome(); ?> <?php /* Custom Intro - Below */ thinkup_custom_intro(); ?> </div> </header>
function thinkup_input_responsivehtml2_below() { global $thinkup_header_styleswitch; global $thinkup_header_locationswitch; global $post; // Assign meta data variable if (!empty($post->ID)) { $_thinkup_meta_headerstyle = get_post_meta($post->ID, '_thinkup_meta_headerstyle', true); $_thinkup_meta_headerlocation = get_post_meta($post->ID, '_thinkup_meta_headerlocation', true); } if (empty($_thinkup_meta_headerstyle) or $_thinkup_meta_headerstyle == 'option1') { if ($thinkup_header_styleswitch == 'option2' and $thinkup_header_locationswitch == 'option2') { thinkup_input_responsivehtml2(); } } else { if ($_thinkup_meta_headerstyle == 'option3' and $_thinkup_meta_headerlocation == 'option2') { thinkup_input_responsivehtml2(); } } }