<?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: main title seo unfriendly</title>
		<link>http://www.kriesi.at/support/topic/main-title-seo-unfriendly</link>
		<description>Support Forum - Topic: main title seo unfriendly</description>
		<language>en-US</language>
		<pubDate>Sat, 25 May 2013 11:14:13 +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/main-title-seo-unfriendly" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "main title seo unfriendly"</title>
			<link>http://www.kriesi.at/support/topic/main-title-seo-unfriendly#post-97993</link>
			<pubDate>Fri, 22 Feb 2013 08:38:56 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">97993@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi! &#60;/p&#62;
&#60;p&#62; Yes, the product category pages and the tag pages require the wp_query var and it doesn't make much sense to import/use it for single products. &#60;/p&#62;
&#60;p&#62; Best regards,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sobrilliant on "main title seo unfriendly"</title>
			<link>http://www.kriesi.at/support/topic/main-title-seo-unfriendly#post-97930</link>
			<pubDate>Thu, 21 Feb 2013 21:07:26 +0000</pubDate>
			<dc:creator>sobrilliant</dc:creator>
			<guid isPermaLink="false">97930@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thank you again, top support.&#60;/p&#62;
&#60;p&#62;was there any reason why you wouldn't have mixed them together?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "main title seo unfriendly"</title>
			<link>http://www.kriesi.at/support/topic/main-title-seo-unfriendly#post-97589</link>
			<pubDate>Wed, 20 Feb 2013 06:18:49 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">97589@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;The is_product_category(), is_product_tag(), etc. functions are conditional tags: &#60;a href=&#34;http://wcdocs.woothemes.com/codex/theming/conditional-tags/&#34; rel=&#34;nofollow&#34;&#62;http://wcdocs.woothemes.com/codex/theming/conditional-tags/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Imho it doesn't make much sense to add the is_product() to the same if-statement. I'd rather use:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(is_product_category() &#124;&#124; is_product_tag())
{
global $wp_query;
$tax = $wp_query-&#38;gt;get_queried_object();
$title = $tax-&#38;gt;name;
$t_link = &#38;#39;&#38;#39;;
}
else if( is_product() )
{
$title = get_the_title();
$t_link = &#38;#39;&#38;#39;;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>sobrilliant on "main title seo unfriendly"</title>
			<link>http://www.kriesi.at/support/topic/main-title-seo-unfriendly#post-97559</link>
			<pubDate>Wed, 20 Feb 2013 03:32:16 +0000</pubDate>
			<dc:creator>sobrilliant</dc:creator>
			<guid isPermaLink="false">97559@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;this is perfect thank you! top support!&#60;/p&#62;
&#60;p&#62;I also edited your code to&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
if(!$title) $title  = __(&#34;Shop&#34;,'avia_framework');&#60;/p&#62;
&#60;p&#62;        if(is_product_category() &#124;&#124; is_product_tag() &#124;&#124; is_product())&#60;br /&#62;
        {&#60;br /&#62;
            global $wp_query;&#60;br /&#62;
            $tax = $wp_query-&#38;gt;get_queried_object();&#60;br /&#62;
            $title = $tax-&#38;gt;name;&#60;br /&#62;
            $t_link = '';&#60;br /&#62;
        }&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;(added is_product) taxonomy to try and replicate this for product pages it but it didnt work? is it the same process for product pages?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "main title seo unfriendly"</title>
			<link>http://www.kriesi.at/support/topic/main-title-seo-unfriendly#post-97382</link>
			<pubDate>Tue, 19 Feb 2013 07:27:03 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">97382@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Open up wp-content\themes\replete\config-woocommerce\config.php and replace:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(!$title) $title  = __(&#38;quot;Shop&#38;quot;,&#38;#39;avia_framework&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(!$title) $title  = __(&#38;quot;Shop&#38;quot;,&#38;#39;avia_framework&#38;#39;);

        if(is_product_category() &#124;&#124; is_product_tag())
        {
            global $wp_query;
            $tax = $wp_query-&#38;gt;get_queried_object();
            $title = $tax-&#38;gt;name;
            $t_link = &#38;#39;&#38;#39;;
        }&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>sobrilliant on "main title seo unfriendly"</title>
			<link>http://www.kriesi.at/support/topic/main-title-seo-unfriendly#post-97347</link>
			<pubDate>Mon, 18 Feb 2013 22:08:12 +0000</pubDate>
			<dc:creator>sobrilliant</dc:creator>
			<guid isPermaLink="false">97347@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;hello, the main tittle is not seo friendly&#60;/p&#62;
&#60;p&#62;for example on a shop category e.g. &#34;printed tee shirts&#34; the only h1 on the page is &#34;shop&#34; (or what ever your store page is)&#60;/p&#62;
&#60;p&#62;it doesn't take the category tittle and put it in the main tittle. so your left with no h1s on the category page relevant to your shop.&#60;/p&#62;
&#60;p&#62;i've been trying to change this editing the replete functions file but cannot seem to work it out..&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
//advanced title + breadcrumb function&#60;br /&#62;
if(!function_exists('avia_title'))&#60;br /&#62;
{&#60;br /&#62;
	function avia_title($args = false, $id = false)&#60;br /&#62;
	{&#60;br /&#62;
		global $avia_config;&#60;/p&#62;
&#60;p&#62;		if(!$id) $id = avia_get_the_id();&#60;/p&#62;
&#60;p&#62;		$defaults 	 = array(&#60;/p&#62;
&#60;p&#62;			'title' 		=&#38;gt; get_the_title($id),&#60;br /&#62;
			'subtitle' 		=&#38;gt; &#34;&#34;, //avia_post_meta($id, 'subtitle'),&#60;br /&#62;
			'link'			=&#38;gt; get_permalink($id),&#60;br /&#62;
			'html'			=&#38;gt; &#34;&#38;lt;div class='{class} title_container'&#38;gt;&#38;lt;div class='container'&#38;gt;&#38;lt;h1 class='main-title'&#38;gt;{title}&#38;lt;/h1&#38;gt;&#38;lt;/div&#38;gt;{additions}&#38;lt;/div&#38;gt;&#34;,&#60;br /&#62;
			'class'			=&#38;gt; 'stretch_full container_wrap slideshow_color '.avia_is_dark_bg('slideshow_color', true),&#60;br /&#62;
			'breadcrumb'	=&#38;gt; true,&#60;br /&#62;
			'additions'		=&#38;gt; &#34;&#34;&#60;/p&#62;
&#60;p&#62;		);&#60;/p&#62;
&#60;p&#62;		// Parse incomming $args into an array and merge it with $defaults&#60;br /&#62;
		$args = wp_parse_args( $args, $defaults );&#60;/p&#62;
&#60;p&#62;		// OPTIONAL: Declare each item in $args as its own variable i.e. $type, $before.&#60;br /&#62;
		extract( $args, EXTR_SKIP );&#60;/p&#62;
&#60;p&#62;		if(empty($title)) $class .= &#34; empty_title &#34;;&#60;br /&#62;
		if(!empty($link)) $title = &#34;&#60;a href='&#34;.$link.&#34;' rel='bookmark'&#62;&#34;.$title.&#34;&#60;/a&#62;&#34;;&#60;br /&#62;
		if(!empty($subtitle)) $additions .= &#34;&#38;lt;div class='title_meta meta-color'&#38;gt;&#34;.wpautop($subtitle).&#34;&#38;lt;/div&#38;gt;&#34;;&#60;br /&#62;
		if($breadcrumb) $additions .= &#34;&#38;lt;div class='bc-container-wrap'&#38;gt;&#38;lt;div class='container bc-container'&#38;gt;&#34;.avia_breadcrumbs().&#34;&#38;lt;/div&#38;gt;&#38;lt;/div&#38;gt;&#34;;&#60;/p&#62;
&#60;p&#62;		$html = str_replace('{class}', $class, $html);&#60;br /&#62;
		$html = str_replace('{title}', $title, $html);&#60;br /&#62;
		$html = str_replace('{additions}', $additions, $html);&#60;/p&#62;
&#60;p&#62;		if(!empty($avia_config['slide_output']) &#38;amp;&#38;amp; !avia_is_dynamic_template($id) &#38;amp;&#38;amp; !avia_is_overview())&#60;br /&#62;
		{&#60;br /&#62;
			$avia_config['small_title'] = $title;&#60;br /&#62;
		}&#60;br /&#62;
		else&#60;br /&#62;
		{&#60;br /&#62;
			return $html;&#60;br /&#62;
		}&#60;br /&#62;
	}&#60;br /&#62;
}&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;this is the area i've been working on but no luck, do you have a fix for this?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
