<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - Topic: insert search form into the shop header area</title>
		<link>http://www.kriesi.at/support/topic/insert-search-form-into-the-shop-header-area</link>
		<description>Support Forum - Topic: insert search form into the shop header area</description>
		<language>en-US</language>
		<pubDate>Wed, 22 May 2013 20:42:22 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/insert-search-form-into-the-shop-header-area" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "insert search form into the shop header area"</title>
			<link>http://www.kriesi.at/support/topic/insert-search-form-into-the-shop-header-area#post-52275</link>
			<pubDate>Thu, 19 Apr 2012 05:02:36 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">52275@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;You can try to add following code to functions.php (at the very bottom):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function add_login_logout_link($items, $args)
{
if($args-&#38;gt;theme_location == &#38;#39;avia2&#38;#39;)
  {
    $newitems = &#38;#39;&#38;lt;li&#38;gt;&#38;#39;.get_search_form(false).&#38;#39;&#38;lt;/li&#38;gt;&#38;#39;;
    $newitems .= $items;
  }
}
add_filter(&#38;#39;wp_nav_menu_items&#38;#39;, &#38;#39;add_login_logout_link&#38;#39;, 10, 2);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;However you maybe need to add custom css code to align the search form, etc.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>fraktale911 on "insert search form into the shop header area"</title>
			<link>http://www.kriesi.at/support/topic/insert-search-form-into-the-shop-header-area#post-51242</link>
			<pubDate>Wed, 11 Apr 2012 19:06:12 +0000</pubDate>
			<dc:creator>fraktale911</dc:creator>
			<guid isPermaLink="false">51242@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hello &#60;/p&#62;
&#60;p&#62;is it possible to put the search form into the shop header area ?&#60;br /&#62;
i looked for it in the functions.php (code below) file but i didn't succeed to insert correctly get_search_form();&#60;br /&#62;
Something like :&#60;br /&#62;
&#38;lt;div class='sub_menu'&#38;gt;&#60;br /&#62;
&#38;lt;div&#38;gt;sub_menu link1 sub_menu link2 etc... &#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;div&#38;gt;get_search_form();&#38;lt;/div&#38;gt;&#60;br /&#62;
 &#38;lt;/div&#38;gt;&#60;/p&#62;
&#60;p&#62;thx&#60;br /&#62;
fraktale&#60;/p&#62;
&#60;p&#62;if(!function_exists('avia_shop_banner'))&#60;br /&#62;
{&#60;br /&#62;
	function avia_shop_banner()&#60;br /&#62;
	{&#60;/p&#62;
&#60;p&#62;		$pos = false;&#60;br /&#62;
		$output = &#34;&#34;;&#60;br /&#62;
		$sub = $cart = $menu = &#34;&#34;;&#60;br /&#62;
		if(avia_woocommerce_enabled())&#60;br /&#62;
		{&#60;br /&#62;
			$sub = $cart = avia_woocommerce_cart_dropdown();&#60;br /&#62;
		}&#60;/p&#62;
&#60;p&#62;		$sub .= &#34;&#38;lt;div class='sub_menu'&#38;gt;&#34;;&#60;br /&#62;
		$args = array('theme_location'=&#38;gt;'avia2', 'fallback_cb' =&#38;gt; '', 'echo' =&#38;gt; 0);&#60;br /&#62;
		if(avia_woocommerce_enabled()) $args['fallback_cb'] ='avia_shop_nav';&#60;br /&#62;
		$menu = wp_nav_menu($args);&#60;br /&#62;
		$sub .=  $menu;&#60;br /&#62;
		$sub .= &#34;&#38;lt;/div&#38;gt;&#34;;&#60;/p&#62;
&#60;p&#62;		$output .= &#34;&#38;lt;div class='container_wrap info_text_header' id='shop_header'&#38;gt;&#38;lt;div class='container'&#38;gt;&#34;;&#60;br /&#62;
		if($cart &#124;&#124; $menu)&#60;br /&#62;
		{&#60;br /&#62;
			$output .= $sub;&#60;br /&#62;
		}&#60;br /&#62;
		else&#60;br /&#62;
		{&#60;br /&#62;
			$pos = true;&#60;br /&#62;
		}&#60;br /&#62;
		$output .= &#34;&#38;lt;/div&#38;gt;&#38;lt;/div&#38;gt;&#34;;&#60;br /&#62;
		echo $output;&#60;/p&#62;
&#60;p&#62;		return $pos;&#60;/p&#62;
&#60;p&#62;	}&#60;br /&#62;
}
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
