<?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: Breadcrumb missing &#039;shop&#039; link</title>
		<link>http://www.kriesi.at/support/topic/breadcrumb-missing-shop-link</link>
		<description>Support Forum - Topic: Breadcrumb missing &#039;shop&#039; link</description>
		<language>en-US</language>
		<pubDate>Sun, 19 May 2013 05:57:03 +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/breadcrumb-missing-shop-link" rel="self" type="application/rss+xml" />

		<item>
			<title>lcburns on "Breadcrumb missing &#039;shop&#039; link"</title>
			<link>http://www.kriesi.at/support/topic/breadcrumb-missing-shop-link#post-70869</link>
			<pubDate>Mon, 13 Aug 2012 21:18:50 +0000</pubDate>
			<dc:creator>lcburns</dc:creator>
			<guid isPermaLink="false">70869@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thanks for your help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Nick on "Breadcrumb missing &#039;shop&#039; link"</title>
			<link>http://www.kriesi.at/support/topic/breadcrumb-missing-shop-link#post-70856</link>
			<pubDate>Mon, 13 Aug 2012 20:19:34 +0000</pubDate>
			<dc:creator>Nick</dc:creator>
			<guid isPermaLink="false">70856@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Great! It's little things like that which usually cause the most stress.&#60;/p&#62;
&#60;p&#62;Good luck and thanks for posting what the problem was,&#60;/p&#62;
&#60;p&#62;Nick
&#60;/p&#62;</description>
		</item>
		<item>
			<title>lcburns on "Breadcrumb missing &#039;shop&#039; link"</title>
			<link>http://www.kriesi.at/support/topic/breadcrumb-missing-shop-link#post-70839</link>
			<pubDate>Mon, 13 Aug 2012 19:39:24 +0000</pubDate>
			<dc:creator>lcburns</dc:creator>
			<guid isPermaLink="false">70839@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Well, feeling a little silly now, but I checked the class-breadcrumb.php file from my original download folder and compared the two.  Seems like the following was missing and now it works beautifully! (inadvertently erased I'm supposing).&#60;/p&#62;
&#60;p&#62;/* If there's a slug, add it to the $path. */&#60;br /&#62;
			if ( !empty( $post_type_object-&#38;gt;rewrite['slug'] ) )&#60;br /&#62;
				$path .= $post_type_object-&#38;gt;rewrite['slug'];&#60;/p&#62;
&#60;p&#62;			/* If there's a path, check for parents. */&#60;br /&#62;
			if ( !empty( $path ) )&#60;br /&#62;
				$trail = array_merge( $trail, avia_breadcrumbs_get_parents( '', $path ) );
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Nick on "Breadcrumb missing &#039;shop&#039; link"</title>
			<link>http://www.kriesi.at/support/topic/breadcrumb-missing-shop-link#post-70591</link>
			<pubDate>Sat, 11 Aug 2012 12:35:47 +0000</pubDate>
			<dc:creator>Nick</dc:creator>
			<guid isPermaLink="false">70591@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;And you already have the code you mentioned earlier in place substituting a small block of code around line 255 of class-breadcrumb.php ? (code below).&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/* If there&#38;#39;s an archive page, add it to the trail. */
if (!empty($post_type_object-&#38;gt;has_archive) &#38;amp;&#38;amp; function_exists(&#38;#39;get_post_type_archive_link&#38;#39;)) {
    if (is_product()) {
        $prod_cat   = array();
        $prod_cat[] = get_the_term_list(get_the_ID(), &#38;#39;product_cat&#38;#39;);
        $trail[]    = $prod_cat[0];
    } else {
        $trail[] = &#38;#39;&#38;lt;a href=&#38;quot;&#38;#39; . get_post_type_archive_link($post_type) . &#38;#39;&#38;quot; title=&#38;quot;&#38;#39; . esc_attr($post_type_object-&#38;gt;labels-&#38;gt;name) . &#38;#39;&#38;quot;&#38;gt;&#38;#39; . $post_type_object-&#38;gt;labels-&#38;gt;name . &#38;#39;&#38;lt;/a&#38;gt;&#38;#39;;
    }
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Please also check under WooCommerce &#38;gt; Settings &#38;gt; Pages and please go over the settings to see that they are the way you want, and if there is a Shop page created.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Nick
&#60;/p&#62;</description>
		</item>
		<item>
			<title>lcburns on "Breadcrumb missing &#039;shop&#039; link"</title>
			<link>http://www.kriesi.at/support/topic/breadcrumb-missing-shop-link#post-70529</link>
			<pubDate>Fri, 10 Aug 2012 21:03:19 +0000</pubDate>
			<dc:creator>lcburns</dc:creator>
			<guid isPermaLink="false">70529@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;No, I'd like it to be:&#60;/p&#62;
&#60;p&#62;Home » Shop » Category » Product Title&#60;/p&#62;
&#60;p&#62;It is just showing:&#60;/p&#62;
&#60;p&#62;Home » Category » Product Title on the single product page.  &#60;/p&#62;
&#60;p&#62;I must have something checked in the settings, but not sure what.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Nick on "Breadcrumb missing &#039;shop&#039; link"</title>
			<link>http://www.kriesi.at/support/topic/breadcrumb-missing-shop-link#post-70143</link>
			<pubDate>Thu, 09 Aug 2012 03:50:52 +0000</pubDate>
			<dc:creator>Nick</dc:creator>
			<guid isPermaLink="false">70143@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I just pasted the code above into my local demo and on page for a product called Big Gold Ring in category Jewelry inside a Shop that lists all products from all categories i see the breadcrumbs:&#60;/p&#62;
&#60;p&#62;You are here: Home » Shop » Jewelry » Big Gold Ring&#60;/p&#62;
&#60;p&#62;or are you asking for Jewelry to come before the Shop?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Nick
&#60;/p&#62;</description>
		</item>
		<item>
			<title>lcburns on "Breadcrumb missing &#039;shop&#039; link"</title>
			<link>http://www.kriesi.at/support/topic/breadcrumb-missing-shop-link#post-69808</link>
			<pubDate>Tue, 07 Aug 2012 15:37:34 +0000</pubDate>
			<dc:creator>lcburns</dc:creator>
			<guid isPermaLink="false">69808@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;In a previous post regarding the breadcrumb logic, (&#60;a href=&#34;http://www.kriesi.at/support/topic/breadcrumbs-glitching-illogical-structure&#34; rel=&#34;nofollow&#34;&#62;http://www.kriesi.at/support/topic/breadcrumbs-glitching-illogical-structure&#60;/a&#62;) ... i.e. home/shop/product/product title, it was suggested to use the following in class-breadcrumbs.php to have it look like home/shop/category/product title.&#60;/p&#62;
&#60;p&#62;code suggested:&#60;/p&#62;
&#60;p&#62;/* If there's an archive page, add it to the trail. */&#60;br /&#62;
			if ( !empty( $post_type_object-&#38;gt;has_archive ) &#38;amp;&#38;amp; function_exists( 'get_post_type_archive_link' ) ){&#60;br /&#62;
					if (is_product()){&#60;br /&#62;
						$prod_cat = array();&#60;br /&#62;
						$prod_cat[] = get_the_term_list(get_the_ID(), 'product_cat');&#60;br /&#62;
						$trail[] = $prod_cat[0];&#60;br /&#62;
					}else{&#60;br /&#62;
						$trail[] = '&#60;a href=&#34;' . get_post_type_archive_link( $post_type ) . '&#34;&#62;labels-&#38;gt;name ) . '&#34;&#38;gt;' . $post_type_object-&#38;gt;labels-&#38;gt;name . '&#60;/a&#62;';&#60;br /&#62;
					}&#60;br /&#62;
				}&#60;/p&#62;
&#60;p&#62;It took out the redundancy, but now on the single-product details page, I'm missing the 'shop' link.  It looks like this:  home/category/product title.  Not a huge issue, but ideally, it would be great to add the 'shop' back in.&#60;/p&#62;
&#60;p&#62;Thanks -
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
