<?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: Pagelayout: Moving product tabs</title>
		<link>http://www.kriesi.at/support/topic/pagelayout-moving-product-tabs</link>
		<description>Support Forum - Topic: Pagelayout: Moving product tabs</description>
		<language>en-US</language>
		<pubDate>Sat, 25 May 2013 16:43:37 +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/pagelayout-moving-product-tabs" rel="self" type="application/rss+xml" />

		<item>
			<title>Nick on "Pagelayout: Moving product tabs"</title>
			<link>http://www.kriesi.at/support/topic/pagelayout-moving-product-tabs#post-90905</link>
			<pubDate>Thu, 10 Jan 2013 09:08:28 +0000</pubDate>
			<dc:creator>Nick</dc:creator>
			<guid isPermaLink="false">90905@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Those numbers let wordpress know how important the execution of that action is compared to others. The lower , the more important it is that its done first. For example if one action is (strap on parachute) and another is (jump out of plane) its important for the computer to know which action to do first :)&#60;/p&#62;
&#60;p&#62; You can read here &#60;a href=&#34;http://codex.wordpress.org/Function_Reference/add_action&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Function_Reference/add_action&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You can also look at the solution I pasted earlier for what you are trying to do &#60;a href=&#34;http://www.kriesi.at/support/topic/product-details-page-layout#post-88883&#34; rel=&#34;nofollow&#34;&#62;http://www.kriesi.at/support/topic/product-details-page-layout#post-88883&#60;/a&#62; since just moving the 2 actions around at some point will cause duplication. Additional else statement needed to prevent that. Though I think  your settings play a role in it too. &#60;a href=&#34;http://i.imgur.com/tVzKs.png&#34; rel=&#34;nofollow&#34;&#62;http://i.imgur.com/tVzKs.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Nick
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sirchunk on "Pagelayout: Moving product tabs"</title>
			<link>http://www.kriesi.at/support/topic/pagelayout-moving-product-tabs#post-90782</link>
			<pubDate>Wed, 09 Jan 2013 11:04:04 +0000</pubDate>
			<dc:creator>sirchunk</dc:creator>
			<guid isPermaLink="false">90782@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Brilliant. I've surprised myself.&#60;br /&#62;
Can I just ask what the numbers mean (20 &#38;amp; 10) at the end of this please:&#60;/p&#62;
&#60;p&#62;remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 20 );&#60;br /&#62;
add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 );
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Devin on "Pagelayout: Moving product tabs"</title>
			<link>http://www.kriesi.at/support/topic/pagelayout-moving-product-tabs#post-90721</link>
			<pubDate>Wed, 09 Jan 2013 00:57:42 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">90721@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I don't think you need the:&#60;br /&#62;
&#60;code&#62;woocommerce_output_product_data_tabs($avia_config[&#38;#39;shop_single_column_items&#38;#39;],$avia_config[&#38;#39;shop_single_column&#38;#39;]); // X products, X columns&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;But that looks right on first glance.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sirchunk on "Pagelayout: Moving product tabs"</title>
			<link>http://www.kriesi.at/support/topic/pagelayout-moving-product-tabs#post-90696</link>
			<pubDate>Tue, 08 Jan 2013 22:34:33 +0000</pubDate>
			<dc:creator>sirchunk</dc:creator>
			<guid isPermaLink="false">90696@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;OMG, I don't know what I did but I fluffed through it and have managed to do it... I hope.&#60;br /&#62;
Can I ask for you to check what I've done and see if it's correct please :)&#60;/p&#62;
&#60;p&#62;FROM THIS:&#60;/p&#62;
&#60;p&#62;#&#60;br /&#62;
# display tabs and related items within the summary wrapper&#60;br /&#62;
#&#60;br /&#62;
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 );&#60;br /&#62;
add_action(    'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 1 );&#60;/p&#62;
&#60;p&#62;TO THIS:&#60;/p&#62;
&#60;p&#62;#&#60;br /&#62;
# display tabs and related items within the summary wrapper&#60;br /&#62;
#&#60;br /&#62;
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 20 );&#60;br /&#62;
add_action(    'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 );&#60;/p&#62;
&#60;p&#62;function avia_woocommerce_output_tabs()&#60;br /&#62;
{&#60;br /&#62;
	global $avia_config;&#60;br /&#62;
	$output = &#34;&#34;;&#60;/p&#62;
&#60;p&#62;	ob_start();&#60;br /&#62;
	woocommerce_output_product_data_tabs($avia_config['shop_single_column_items'],$avia_config['shop_single_column']); // X products, X columns&#60;br /&#62;
	$content = ob_get_clean();&#60;br /&#62;
	if($content)&#60;br /&#62;
	{&#60;br /&#62;
		$output .= &#34;&#38;lt;div class='product_column product_column_&#34;.$avia_config['shop_single_column'].&#34;'&#38;gt;&#34;;&#60;br /&#62;
		//$output .= &#34;&#38;lt;h3&#38;gt;&#34;.(__('Tabs, 'avia_framework')).&#34;&#38;lt;/h3&#38;gt;&#34;;&#60;br /&#62;
		$output .= $content;&#60;br /&#62;
		$output .= &#34;&#38;lt;/div&#38;gt;&#34;;&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	$avia_config['woo_tabs'] = $output;&#60;/p&#62;
&#60;p&#62;}
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Devin on "Pagelayout: Moving product tabs"</title>
			<link>http://www.kriesi.at/support/topic/pagelayout-moving-product-tabs#post-90656</link>
			<pubDate>Tue, 08 Jan 2013 20:32:43 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">90656@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi sirchunk,&#60;/p&#62;
&#60;p&#62;The single page layout gets output into a 12 column grid with the images sitting in 4 columns and the summary in 8. The grid gets scaled down as the page responds to different screen size and this would require the tabs getting output in a new div after everything else. Similar to what is done with the upsells and related products.&#60;/p&#62;
&#60;p&#62;So you would need to write a function similar to those but for the tabs. The tab code is in the woocommerce-config&#38;gt;config.php lines 717-721. Just below that is the function for the upsells and related products.&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sirchunk on "Pagelayout: Moving product tabs"</title>
			<link>http://www.kriesi.at/support/topic/pagelayout-moving-product-tabs#post-90613</link>
			<pubDate>Tue, 08 Jan 2013 16:57:03 +0000</pubDate>
			<dc:creator>sirchunk</dc:creator>
			<guid isPermaLink="false">90613@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;What files do I need to change so that the product tabs (description, additional information, reviews) are under the images and run full width of the container?&#60;/p&#62;
&#60;p&#62;Cheers
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
