Hello
is it possible to put the search form into the shop header area ?
i looked for it in the functions.php (code below) file but i didn't succeed to insert correctly get_search_form();
Something like :
<div class='sub_menu'>
<div>sub_menu link1 sub_menu link2 etc... </div>
<div>get_search_form();</div>
</div>
thx
fraktale
if(!function_exists('avia_shop_banner'))
{
function avia_shop_banner()
{
$pos = false;
$output = "";
$sub = $cart = $menu = "";
if(avia_woocommerce_enabled())
{
$sub = $cart = avia_woocommerce_cart_dropdown();
}
$sub .= "<div class='sub_menu'>";
$args = array('theme_location'=>'avia2', 'fallback_cb' => '', 'echo' => 0);
if(avia_woocommerce_enabled()) $args['fallback_cb'] ='avia_shop_nav';
$menu = wp_nav_menu($args);
$sub .= $menu;
$sub .= "</div>";
$output .= "<div class='container_wrap info_text_header' id='shop_header'><div class='container'>";
if($cart || $menu)
{
$output .= $sub;
}
else
{
$pos = true;
}
$output .= "</div></div>";
echo $output;
return $pos;
}
}














