function wpex_hook_main_before_default() { $header_style = wpex_get_header_style(); if ($header_style == 'two' || $header_style == 'three') { // Above menu slider if ('above_menu' == wpex_post_slider_position()) { wpex_post_slider(); } wpex_header_menu(); } }
function wpex_hook_header_bottom_default() { // Header menu for header styles 2 or 3 $header_style = wpex_get_header_style(); if ($header_style == 'two' || $header_style == 'three') { // Above menu slider if ('above_menu' == wpex_post_slider_position()) { wpex_post_slider(); } wpex_header_menu(); } }