<?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: Move Product Ordering from Shop Header to Shop Sidebar</title>
		<link>http://www.kriesi.at/support/topic/move-product-ordering-from-shop-header-to-shop-sidebar</link>
		<description>Support Forum - Topic: Move Product Ordering from Shop Header to Shop Sidebar</description>
		<language>en-US</language>
		<pubDate>Mon, 20 May 2013 15:56:11 +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/move-product-ordering-from-shop-header-to-shop-sidebar" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "Move Product Ordering from Shop Header to Shop Sidebar"</title>
			<link>http://www.kriesi.at/support/topic/move-product-ordering-from-shop-header-to-shop-sidebar#post-53235</link>
			<pubDate>Wed, 25 Apr 2012 05:20:43 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">53235@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I haven't tested this but imho you can simply add this function to sidebar.php. Add the code somewhere before following code:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;// single shop sidebars
					if ($avia_config[&#38;#39;currently_viewing&#38;#39;] == &#38;#39;shop_single&#38;#39; &#38;amp;&#38;amp; dynamic_sidebar(&#38;#39;Single Product Pages&#38;#39;) ) : $default_sidebar = false; endif;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>michaelspencer on "Move Product Ordering from Shop Header to Shop Sidebar"</title>
			<link>http://www.kriesi.at/support/topic/move-product-ordering-from-shop-header-to-shop-sidebar#post-52792</link>
			<pubDate>Sun, 22 Apr 2012 18:09:37 +0000</pubDate>
			<dc:creator>michaelspencer</dc:creator>
			<guid isPermaLink="false">52792@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I need to move the Product Ordering drop-down menu from the shop header to the shop sidebar. Ideally this would be as simple as adding a Woocommerce product ordering widget to my shop sidebar but alas, this widget doesn't seem to exist.&#60;/p&#62;
&#60;p&#62;So, into the code we go...&#60;/p&#62;
&#60;p&#62;It appears that the product ordering drop down is currently being generated in the shop header by the function woocommerce_catalog_ordering() as called from within the function avia_woocommerce_advanced_title().&#60;/p&#62;
&#60;p&#62;I have successfully removed this from the shop header.&#60;/p&#62;
&#60;p&#62;Now the question is, how to add this to the shop sidebar?&#60;/p&#62;
&#60;p&#62;It appears that the shop sidebar is being generated in /config-woocommerce/config.php/ here...&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;/p&#62;
&#60;p&#62;function avia_woocommerce_after_main_content()&#60;br /&#62;
{&#60;br /&#62;
	global $avia_config;&#60;br /&#62;
	$avia_config['currently_viewing'] = &#34;shop&#34;;&#60;/p&#62;
&#60;p&#62;			//reset all previous queries&#60;br /&#62;
			wp_reset_query();&#60;/p&#62;
&#60;p&#62;			//get the sidebar&#60;br /&#62;
			if(!is_singular())&#60;br /&#62;
			get_sidebar();&#60;/p&#62;
&#60;p&#62;		echo &#34;&#38;lt;/div&#38;gt;&#34;; // end container&#60;br /&#62;
	echo &#34;&#38;lt;/div&#38;gt;&#34;; // end tempate-shop content&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I tried adding a call to woocommerce_catalog_ordering() immediate after the call to get_sidebar() but this didn't have any effect.&#60;/p&#62;
&#60;p&#62;Any direction here would be greatly appreciated. Thank you.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
