<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>Categories breadcrumbs issue &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/categories-breadcrumbs-issue/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/categories-breadcrumbs-issue/feed/</link>
		<description></description>
		<lastBuildDate>Thu, 16 Oct 2025 19:41:11 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/categories-breadcrumbs-issue/#post-134340</guid>
					<title><![CDATA[Categories breadcrumbs issue]]></title>
					<link>https://theme.co/archive/forums/topic/categories-breadcrumbs-issue/#post-134340</link>
					<pubDate>Wed, 29 Oct 2014 12:16:44 +0000</pubDate>
					<dc:creator>eugenetim</dc:creator>

					<description>
						<![CDATA[
						<p>Hello.<br />
I made two categories on my website:<br />
&#8211; Blog<br />
&#8211; Workshops<br />
In main menu I use direct links to categories:<br />
mywebsite.com/category/blog<br />
mywebsite.com/category/workshops<br />
In such case breadcrambs of the X theme work wrong on the post pages. All posts from any category show wrong link:<br />
Home-&gt;Blog-&gt;Post name<br />
where &#8216;Blog&#8217; &#8211; link to mywebsite.com/blog page that is not using on website at all.<br />
How can I make breadcrambs work correctly? I want to see different and correct links to categories of the posts:<br />
Home-&gt;CategoryName-&gt;Post name<br />
where CategoryName is right category link of the post which is shown to user.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/categories-breadcrumbs-issue/#post-134515</guid>
					<title><![CDATA[Reply To: Categories breadcrumbs issue]]></title>
					<link>https://theme.co/archive/forums/topic/categories-breadcrumbs-issue/#post-134515</link>
					<pubDate>Wed, 29 Oct 2014 16:54:23 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi There,</p>
<p>Thank you for writing in!</p>
<p>This is a default behaviour of how the breadcrumbs works. However to show category instead of &#8220;Blog&#8221;, use following code in your child theme&#8217;s <strong>functions.php</strong> file:</p>
<pre><code>// Breadcrumbs Display Category instead Of &quot;Blog&quot;
// =============================================================================

function x_breadcrumbs() {

    if ( x_get_option( &#039;x_breadcrumb_display&#039;, &#039;1&#039; ) ) {

      GLOBAL $post;

      $is_ltr         = ! is_rtl();
      $stack          = x_get_stack();
      $delimiter      = x_get_breadcrumb_delimiter();
      $home_text      = x_get_breadcrumb_home_text();
      $home_link      = home_url();
      $current_before = x_get_breadcrumb_current_before();
      $current_after  = x_get_breadcrumb_current_after();
      $page_title     = get_the_title();
      $blog_title     = get_the_title( get_option( &#039;page_for_posts&#039;, true ) );
      $post_parent    = $post-&gt;post_parent;

      if ( X_WOOCOMMERCE_IS_ACTIVE ) {
        $shop_url   = x_get_shop_link();
        $shop_title = x_get_option( &#039;x_&#039; . $stack . &#039;_shop_title&#039;, __( &#039;The Shop&#039;, &#039;__x__&#039; ) );
        $shop_link  = &#039;&lt;a href=&quot;&#039;. $shop_url .&#039;&quot;&gt;&#039; . $shop_title . &#039;&lt;/a&gt;&#039;;
      }

      echo &#039;&lt;div class=&quot;x-breadcrumbs&quot;&gt;&lt;a href=&quot;&#039; . $home_link . &#039;&quot;&gt;&#039; . $home_text . &#039;&lt;/a&gt;&#039; . $delimiter;

        if ( is_home() ) {

          echo $current_before . $blog_title . $current_after;

        } elseif ( is_category() ) {

          $the_cat = get_category( get_query_var( &#039;cat&#039; ), false );
          if ( $the_cat-&gt;parent != 0 ) echo get_category_parents( $the_cat-&gt;parent, TRUE, $delimiter );
          echo $current_before . single_cat_title( &#039;&#039;, false ) . $current_after;

        } elseif ( x_is_product_category() ) {

          if ( $is_ltr ) {
            echo $shop_link . $delimiter . $current_before . single_cat_title( &#039;&#039;, false ) . $current_after;
          } else {
            echo $current_before . single_cat_title( &#039;&#039;, false ) . $current_after . $delimiter . $shop_link;
          }

        } elseif ( x_is_product_tag() ) {

          if ( $is_ltr ) {
            echo $shop_link . $delimiter . $current_before . single_tag_title( &#039;&#039;, false ) . $current_after;
          } else {
            echo $current_before . single_tag_title( &#039;&#039;, false ) . $current_after . $delimiter . $shop_link;
          }

        } elseif ( is_search() ) {

          echo $current_before . __( &#039;Search Results for &#039;, &#039;__x__&#039; ) . &#039;&#8220;&#039; . get_search_query() . &#039;&#8221;&#039; . $current_after;

        } elseif ( is_singular( &#039;post&#039; ) ) {

          if ( get_option( &#039;page_for_posts&#039; ) == is_front_page() ) {
            echo $current_before . $page_title . $current_after;
          } else {
            if ( $is_ltr ) {

              echo &#039;&lt;a href=&quot;&#039; . get_category_link( get_the_category()[0]-&gt;term_id ) . &#039;&quot;&gt;&#039; . get_the_category()[0]-&gt;name . &#039;&lt;/a&gt;&#039; . $delimiter . $current_before . $page_title . $current_after;
            } else {
              echo $current_before . $page_title . $current_after . $delimiter . &#039;&lt;a href=&quot;&#039; . get_permalink( get_option( &#039;page_for_posts&#039; ) ) . &#039;&quot;&gt;&#039; . $blog_title . &#039;&lt;/a&gt;&#039;;
            }
          }

        } elseif ( x_is_portfolio() ) {

          echo $current_before . get_the_title() . $current_after;

        } elseif ( x_is_portfolio_item() ) {

          $link  = x_get_parent_portfolio_link();
          $title = x_get_parent_portfolio_title();

          if ( $is_ltr ) {
            echo &#039;&lt;a href=&quot;&#039; . $link . &#039;&quot;&gt;&#039; . $title . &#039;&lt;/a&gt;&#039; . $delimiter . $current_before . $page_title . $current_after;
          } else {
            echo $current_before . $page_title . $current_after . $delimiter . &#039;&lt;a href=&quot;&#039; . $link . &#039;&quot;&gt;&#039; . $title . &#039;&lt;/a&gt;&#039;;
          }

        } elseif ( x_is_product() ) {

          if ( $is_ltr ) {
            echo $shop_link . $delimiter . $current_before . $page_title . $current_after;
          } else {
            echo $current_before . $page_title . $current_after . $delimiter . $shop_link;
          }

        } elseif ( x_is_buddypress() ) {

          if ( bp_is_group() ) {
            echo &#039;&lt;a href=&quot;&#039; . bp_get_groups_directory_permalink() . &#039;&quot;&gt;&#039; . x_get_option( &#039;x_buddypress_groups_title&#039;, __( &#039;Groups&#039;, &#039;__x__&#039; ) ) . &#039;&lt;/a&gt;&#039; . $delimiter . $current_before . x_buddypress_get_the_title() . $current_after;
          } elseif ( bp_is_user() ) {
            echo &#039;&lt;a href=&quot;&#039; . bp_get_members_directory_permalink() . &#039;&quot;&gt;&#039; . x_get_option( &#039;x_buddypress_members_title&#039;, __( &#039;Members&#039;, &#039;__x__&#039; ) ) . &#039;&lt;/a&gt;&#039; . $delimiter . $current_before . x_buddypress_get_the_title() . $current_after;
          } else {
            echo $current_before . x_buddypress_get_the_title() . $current_after;
          }

        } elseif ( x_is_bbpress() ) {

          remove_filter( &#039;bbp_no_breadcrumb&#039;, &#039;__return_true&#039; );

          if ( bbp_is_forum_archive() ) {
            echo $current_before . bbp_get_forum_archive_title() . $current_after;
          } else {
            echo bbp_get_breadcrumb();
          }

          add_filter( &#039;bbp_no_breadcrumb&#039;, &#039;__return_true&#039; );

        } elseif ( is_page() &amp;&amp; ! $post_parent ) {

          echo $current_before . $page_title . $current_after;

        } elseif ( is_page() &amp;&amp; $post_parent ) {

          $parent_id   = $post_parent;
          $breadcrumbs = array();

          if ( is_rtl() ) {
            echo $current_before . $page_title . $current_after . $delimiter;
          }

          while ( $parent_id ) {
            $page          = get_page( $parent_id );
            $breadcrumbs[] = &#039;&lt;a href=&quot;&#039; . get_permalink( $page-&gt;ID ) . &#039;&quot;&gt;&#039; . get_the_title( $page-&gt;ID ) . &#039;&lt;/a&gt;&#039;;
            $parent_id     = $page-&gt;post_parent;
          }

          if ( $is_ltr ) {
            $breadcrumbs = array_reverse( $breadcrumbs );
          }

          for ( $i = 0; $i &lt; count( $breadcrumbs ); $i++ ) {
            echo $breadcrumbs[$i];
            if ( $i != count( $breadcrumbs ) -1 ) echo $delimiter;
          }

          if ( $is_ltr ) {
            echo $delimiter . $current_before . $page_title . $current_after;
          }

        } elseif ( is_tag() ) {

          echo $current_before . single_tag_title( &#039;&#039;, false ) . $current_after;

        } elseif ( is_author() ) {

          GLOBAL $author;
          $userdata = get_userdata( $author );
          echo $current_before . __( &#039;Posts by &#039;, &#039;__x__&#039; ) . &#039;&#8220;&#039; . $userdata-&gt;display_name . $current_after . &#039;&#8221;&#039;;

        } elseif ( is_404() ) {

          echo $current_before . __( &#039;404 (Page Not Found)&#039;, &#039;__x__&#039; ) . $current_after;

        } elseif ( is_archive() ) {

          if ( x_is_shop() ) {
            echo $current_before . $shop_title . $current_after;
          } else {
            echo $current_before . __( &#039;Archives &#039;, &#039;__x__&#039; ) . $current_after;
          }

        }

      echo &#039;&lt;/div&gt;&#039;;

    }

}
</code></pre>
<p>Hope this helps. 🙂</p>
<p>Thank you.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/categories-breadcrumbs-issue/#post-134888</guid>
					<title><![CDATA[Reply To: Categories breadcrumbs issue]]></title>
					<link>https://theme.co/archive/forums/topic/categories-breadcrumbs-issue/#post-134888</link>
					<pubDate>Thu, 30 Oct 2014 06:09:57 +0000</pubDate>
					<dc:creator>eugenetim</dc:creator>

					<description>
						<![CDATA[
						<p>Thank you!<br />
Code works well, but there are 2 notes.<br />
1. Both categories have subcategories.<br />
Blog<br />
 &#8211; Articles<br />
 &#8211; Tutorials<br />
Workshops<br />
 &#8211; 2015<br />
 &#8211; 2014<br />
In case of &#8216;blog&#8217; category code works great. Breadcrumbs display parent category and that is exactly what I need.<br />
But in case of &#8216;workshops&#8217; category code display &#8216;2015&#8217; subcategory link in breadcrambs instead of parent &#8216;Workshops&#8217; category. But if I change the name of subcategory to any name started with letters (not digits) &#8211; for example &#8216;Year 2015&#8217; &#8211; the code begin to display &#8216;Workshops&#8217; category link in breadcrambs.</p>
<p>2. Actually, I&#8217;ve made special page with recent post from &#8216;Workshops&#8217; category and some additional information (shortcodes of X theme &#8211; are magical!) and I want to have link to that page in breadcrambs instead of standard &#8216;mysite.com/category/workshops&#8217; link. How can I change the code for such purpose if I need this behavior for all post from &#8216;Workshops&#8217; category (id=102, slug=&#8217;workshops&#8217;) and its all subcategories? Link to my &#8216;special&#8217; page is &#8216;mysite.com/workshops&#8217;.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/categories-breadcrumbs-issue/#post-135089</guid>
					<title><![CDATA[Reply To: Categories breadcrumbs issue]]></title>
					<link>https://theme.co/archive/forums/topic/categories-breadcrumbs-issue/#post-135089</link>
					<pubDate>Thu, 30 Oct 2014 12:35:01 +0000</pubDate>
					<dc:creator>Cousett</dc:creator>

					<description>
						<![CDATA[
						<p>Hmm. I&#8217;m not sure what exactly is going on with #1. Could you send us the link to your site so we could take a closer look at the behavior?</p>
<p>For #2, replace the code you put in your functions.php file with this code</p>
<pre><code>// Breadcrumbs Display Category instead Of &quot;Blog&quot;
// =============================================================================

function x_breadcrumbs() {

    if ( x_get_option( &#039;x_breadcrumb_display&#039;, &#039;1&#039; ) ) {

      GLOBAL $post;

      $is_ltr         = ! is_rtl();
      $stack          = x_get_stack();
      $delimiter      = x_get_breadcrumb_delimiter();
      $home_text      = x_get_breadcrumb_home_text();
      $home_link      = home_url();
      $current_before = x_get_breadcrumb_current_before();
      $current_after  = x_get_breadcrumb_current_after();
      $page_title     = get_the_title();
      $blog_title     = get_the_title( get_option( &#039;page_for_posts&#039;, true ) );
      $post_parent    = $post-&gt;post_parent;

      if ( X_WOOCOMMERCE_IS_ACTIVE ) {
        $shop_url   = x_get_shop_link();
        $shop_title = x_get_option( &#039;x_&#039; . $stack . &#039;_shop_title&#039;, __( &#039;The Shop&#039;, &#039;__x__&#039; ) );
        $shop_link  = &#039;&lt;a href=&quot;&#039;. $shop_url .&#039;&quot;&gt;&#039; . $shop_title . &#039;&lt;/a&gt;&#039;;
      }

      echo &#039;&lt;div class=&quot;x-breadcrumbs&quot;&gt;&lt;a href=&quot;&#039; . $home_link . &#039;&quot;&gt;&#039; . $home_text . &#039;&lt;/a&gt;&#039; . $delimiter;

        if ( is_home() ) {

          echo $current_before . $blog_title . $current_after;

        } elseif ( is_category() ) {

          $the_cat = get_category( get_query_var( &#039;cat&#039; ), false );
          if ( $the_cat-&gt;parent != 0 ) echo &#039;&lt;a href=&quot;&#039;.get_permalink(102);.&#039;&quot;&gt;&#039;.get_the_title(102) .&#039;&lt;/a&gt;&#039;;
          echo $current_before . single_cat_title( &#039;&#039;, false ) . $current_after;

        } elseif ( x_is_product_category() ) {

          if ( $is_ltr ) {
            echo $shop_link . $delimiter . $current_before . single_cat_title( &#039;&#039;, false ) . $current_after;
          } else {
            echo $current_before . single_cat_title( &#039;&#039;, false ) . $current_after . $delimiter . $shop_link;
          }

        } elseif ( x_is_product_tag() ) {

          if ( $is_ltr ) {
            echo $shop_link . $delimiter . $current_before . single_tag_title( &#039;&#039;, false ) . $current_after;
          } else {
            echo $current_before . single_tag_title( &#039;&#039;, false ) . $current_after . $delimiter . $shop_link;
          }

        } elseif ( is_search() ) {

          echo $current_before . __( &#039;Search Results for &#039;, &#039;__x__&#039; ) . &#039;“&#039; . get_search_query() . &#039;”&#039; . $current_after;

        } elseif ( is_singular( &#039;post&#039; ) ) {

          if ( get_option( &#039;page_for_posts&#039; ) == is_front_page() ) {
            echo $current_before . $page_title . $current_after;
          } else {
            if ( $is_ltr ) {

              echo &#039;&lt;a href=&quot;&#039; . get_category_link( get_the_category()[0]-&gt;term_id ) . &#039;&quot;&gt;&#039; . get_the_category()[0]-&gt;name . &#039;&lt;/a&gt;&#039; . $delimiter . $current_before . $page_title . $current_after;
            } else {
              echo $current_before . $page_title . $current_after . $delimiter . &#039;&lt;a href=&quot;&#039; . get_permalink( get_option( &#039;page_for_posts&#039; ) ) . &#039;&quot;&gt;&#039; . $blog_title . &#039;&lt;/a&gt;&#039;;
            }
          }

        } elseif ( x_is_portfolio() ) {

          echo $current_before . get_the_title() . $current_after;

        } elseif ( x_is_portfolio_item() ) {

          $link  = x_get_parent_portfolio_link();
          $title = x_get_parent_portfolio_title();

          if ( $is_ltr ) {
            echo &#039;&lt;a href=&quot;&#039; . $link . &#039;&quot;&gt;&#039; . $title . &#039;&lt;/a&gt;&#039; . $delimiter . $current_before . $page_title . $current_after;
          } else {
            echo $current_before . $page_title . $current_after . $delimiter . &#039;&lt;a href=&quot;&#039; . $link . &#039;&quot;&gt;&#039; . $title . &#039;&lt;/a&gt;&#039;;
          }

        } elseif ( x_is_product() ) {

          if ( $is_ltr ) {
            echo $shop_link . $delimiter . $current_before . $page_title . $current_after;
          } else {
            echo $current_before . $page_title . $current_after . $delimiter . $shop_link;
          }

        } elseif ( x_is_buddypress() ) {

          if ( bp_is_group() ) {
            echo &#039;&lt;a href=&quot;&#039; . bp_get_groups_directory_permalink() . &#039;&quot;&gt;&#039; . x_get_option( &#039;x_buddypress_groups_title&#039;, __( &#039;Groups&#039;, &#039;__x__&#039; ) ) . &#039;&lt;/a&gt;&#039; . $delimiter . $current_before . x_buddypress_get_the_title() . $current_after;
          } elseif ( bp_is_user() ) {
            echo &#039;&lt;a href=&quot;&#039; . bp_get_members_directory_permalink() . &#039;&quot;&gt;&#039; . x_get_option( &#039;x_buddypress_members_title&#039;, __( &#039;Members&#039;, &#039;__x__&#039; ) ) . &#039;&lt;/a&gt;&#039; . $delimiter . $current_before . x_buddypress_get_the_title() . $current_after;
          } else {
            echo $current_before . x_buddypress_get_the_title() . $current_after;
          }

        } elseif ( x_is_bbpress() ) {

          remove_filter( &#039;bbp_no_breadcrumb&#039;, &#039;__return_true&#039; );

          if ( bbp_is_forum_archive() ) {
            echo $current_before . bbp_get_forum_archive_title() . $current_after;
          } else {
            echo bbp_get_breadcrumb();
          }

          add_filter( &#039;bbp_no_breadcrumb&#039;, &#039;__return_true&#039; );

        } elseif ( is_page() &amp;&amp; ! $post_parent ) {

          echo $current_before . $page_title . $current_after;

        } elseif ( is_page() &amp;&amp; $post_parent ) {

          $parent_id   = $post_parent;
          $breadcrumbs = array();

          if ( is_rtl() ) {
            echo $current_before . $page_title . $current_after . $delimiter;
          }

          while ( $parent_id ) {
            $page          = get_page( $parent_id );
            $breadcrumbs[] = &#039;&lt;a href=&quot;&#039; . get_permalink( $page-&gt;ID ) . &#039;&quot;&gt;&#039; . get_the_title( $page-&gt;ID ) . &#039;&lt;/a&gt;&#039;;
            $parent_id     = $page-&gt;post_parent;
          }

          if ( $is_ltr ) {
            $breadcrumbs = array_reverse( $breadcrumbs );
          }

          for ( $i = 0; $i &lt; count( $breadcrumbs ); $i++ ) {
            echo $breadcrumbs[$i];
            if ( $i != count( $breadcrumbs ) -1 ) echo $delimiter;
          }

          if ( $is_ltr ) {
            echo $delimiter . $current_before . $page_title . $current_after;
          }

        } elseif ( is_tag() ) {

          echo $current_before . single_tag_title( &#039;&#039;, false ) . $current_after;

        } elseif ( is_author() ) {

          GLOBAL $author;
          $userdata = get_userdata( $author );
          echo $current_before . __( &#039;Posts by &#039;, &#039;__x__&#039; ) . &#039;“&#039; . $userdata-&gt;display_name . $current_after . &#039;”&#039;;

        } elseif ( is_404() ) {

          echo $current_before . __( &#039;404 (Page Not Found)&#039;, &#039;__x__&#039; ) . $current_after;

        } elseif ( is_archive() ) {

          if ( x_is_shop() ) {
            echo $current_before . $shop_title . $current_after;
          } else {
            echo $current_before . __( &#039;Archives &#039;, &#039;__x__&#039; ) . $current_after;
          }

        }

      echo &#039;&lt;/div&gt;&#039;;

    }

}</code></pre>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/categories-breadcrumbs-issue/#post-135216</guid>
					<title><![CDATA[Reply To: Categories breadcrumbs issue]]></title>
					<link>https://theme.co/archive/forums/topic/categories-breadcrumbs-issue/#post-135216</link>
					<pubDate>Thu, 30 Oct 2014 14:46:55 +0000</pubDate>
					<dc:creator>eugenetim</dc:creator>

					<description>
						<![CDATA[
						This reply has been marked as private.						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/categories-breadcrumbs-issue/#post-135363</guid>
					<title><![CDATA[Reply To: Categories breadcrumbs issue]]></title>
					<link>https://theme.co/archive/forums/topic/categories-breadcrumbs-issue/#post-135363</link>
					<pubDate>Thu, 30 Oct 2014 19:15:08 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>You can use following updated code instead and it will show the parent category of the sub category:</p>
<pre><code>// Breadcrumbs Display Category instead Of &quot;Blog&quot;
// =============================================================================

function x_breadcrumbs() {

    if ( x_get_option( &#039;x_breadcrumb_display&#039;, &#039;1&#039; ) ) {

      GLOBAL $post;

      $is_ltr         = ! is_rtl();
      $stack          = x_get_stack();
      $delimiter      = x_get_breadcrumb_delimiter();
      $home_text      = x_get_breadcrumb_home_text();
      $home_link      = home_url();
      $current_before = x_get_breadcrumb_current_before();
      $current_after  = x_get_breadcrumb_current_after();
      $page_title     = get_the_title();
      $blog_title     = get_the_title( get_option( &#039;page_for_posts&#039;, true ) );
      $post_parent    = $post-&gt;post_parent;

      if ( X_WOOCOMMERCE_IS_ACTIVE ) {
        $shop_url   = x_get_shop_link();
        $shop_title = x_get_option( &#039;x_&#039; . $stack . &#039;_shop_title&#039;, __( &#039;The Shop&#039;, &#039;__x__&#039; ) );
        $shop_link  = &#039;&lt;a href=&quot;&#039;. $shop_url .&#039;&quot;&gt;&#039; . $shop_title . &#039;&lt;/a&gt;&#039;;
      }

      echo &#039;&lt;div class=&quot;x-breadcrumbs&quot;&gt;&lt;a href=&quot;&#039; . $home_link . &#039;&quot;&gt;&#039; . $home_text . &#039;&lt;/a&gt;&#039; . $delimiter;

        if ( is_home() ) {

          echo $current_before . $blog_title . $current_after;

        } elseif ( is_category() ) {

          $the_cat = get_category( get_query_var( &#039;cat&#039; ), false );
          if ( $the_cat-&gt;parent != 0 ) echo &#039;&lt;a href=&quot;&#039;.get_permalink(102).&#039;&quot;&gt;&#039;.get_the_title(102) .&#039;&lt;/a&gt;&#039;;
          echo $current_before . single_cat_title( &#039;&#039;, false ) . $current_after;

        } elseif ( x_is_product_category() ) {

          if ( $is_ltr ) {
            echo $shop_link . $delimiter . $current_before . single_cat_title( &#039;&#039;, false ) . $current_after;
          } else {
            echo $current_before . single_cat_title( &#039;&#039;, false ) . $current_after . $delimiter . $shop_link;
          }

        } elseif ( x_is_product_tag() ) {

          if ( $is_ltr ) {
            echo $shop_link . $delimiter . $current_before . single_tag_title( &#039;&#039;, false ) . $current_after;
          } else {
            echo $current_before . single_tag_title( &#039;&#039;, false ) . $current_after . $delimiter . $shop_link;
          }

        } elseif ( is_search() ) {

          echo $current_before . __( &#039;Search Results for &#039;, &#039;__x__&#039; ) . &#039;“&#039; . get_search_query() . &#039;”&#039; . $current_after;

        } elseif ( is_singular( &#039;post&#039; ) ) {

          if ( get_option( &#039;page_for_posts&#039; ) == is_front_page() ) {
            echo $current_before . $page_title . $current_after;
          } else {
            if ( $is_ltr ) {

              $f_category = get_the_category();

              if ( $f_category[0]-&gt;parent != 0 ) {
                 $f_category_id = $f_category[0]-&gt;parent;
                 $f_category_name = get_cat_name( $f_category_id );
              } else {
                 $f_category_id = $f_category[0]-&gt;term_id;
                 $f_category_name = $f_category[0]-&gt;name;
              }

              echo &#039;&lt;a href=&quot;&#039; . get_category_link( $f_category_id ) . &#039;&quot;&gt;&#039; . $f_category_name . &#039;&lt;/a&gt;&#039; . $delimiter . $current_before . $page_title . $current_after;
            } else {
              echo $current_before . $page_title . $current_after . $delimiter . &#039;&lt;a href=&quot;&#039; . get_permalink( get_option( &#039;page_for_posts&#039; ) ) . &#039;&quot;&gt;&#039; . $blog_title . &#039;&lt;/a&gt;&#039;;
            }
          }

        } elseif ( x_is_portfolio() ) {

          echo $current_before . get_the_title() . $current_after;

        } elseif ( x_is_portfolio_item() ) {

          $link  = x_get_parent_portfolio_link();
          $title = x_get_parent_portfolio_title();

          if ( $is_ltr ) {
            echo &#039;&lt;a href=&quot;&#039; . $link . &#039;&quot;&gt;&#039; . $title . &#039;&lt;/a&gt;&#039; . $delimiter . $current_before . $page_title . $current_after;
          } else {
            echo $current_before . $page_title . $current_after . $delimiter . &#039;&lt;a href=&quot;&#039; . $link . &#039;&quot;&gt;&#039; . $title . &#039;&lt;/a&gt;&#039;;
          }

        } elseif ( x_is_product() ) {

          if ( $is_ltr ) {
            echo $shop_link . $delimiter . $current_before . $page_title . $current_after;
          } else {
            echo $current_before . $page_title . $current_after . $delimiter . $shop_link;
          }

        } elseif ( x_is_buddypress() ) {

          if ( bp_is_group() ) {
            echo &#039;&lt;a href=&quot;&#039; . bp_get_groups_directory_permalink() . &#039;&quot;&gt;&#039; . x_get_option( &#039;x_buddypress_groups_title&#039;, __( &#039;Groups&#039;, &#039;__x__&#039; ) ) . &#039;&lt;/a&gt;&#039; . $delimiter . $current_before . x_buddypress_get_the_title() . $current_after;
          } elseif ( bp_is_user() ) {
            echo &#039;&lt;a href=&quot;&#039; . bp_get_members_directory_permalink() . &#039;&quot;&gt;&#039; . x_get_option( &#039;x_buddypress_members_title&#039;, __( &#039;Members&#039;, &#039;__x__&#039; ) ) . &#039;&lt;/a&gt;&#039; . $delimiter . $current_before . x_buddypress_get_the_title() . $current_after;
          } else {
            echo $current_before . x_buddypress_get_the_title() . $current_after;
          }

        } elseif ( x_is_bbpress() ) {

          remove_filter( &#039;bbp_no_breadcrumb&#039;, &#039;__return_true&#039; );

          if ( bbp_is_forum_archive() ) {
            echo $current_before . bbp_get_forum_archive_title() . $current_after;
          } else {
            echo bbp_get_breadcrumb();
          }

          add_filter( &#039;bbp_no_breadcrumb&#039;, &#039;__return_true&#039; );

        } elseif ( is_page() &amp;&amp; ! $post_parent ) {

          echo $current_before . $page_title . $current_after;

        } elseif ( is_page() &amp;&amp; $post_parent ) {

          $parent_id   = $post_parent;
          $breadcrumbs = array();

          if ( is_rtl() ) {
            echo $current_before . $page_title . $current_after . $delimiter;
          }

          while ( $parent_id ) {
            $page          = get_page( $parent_id );
            $breadcrumbs[] = &#039;&lt;a href=&quot;&#039; . get_permalink( $page-&gt;ID ) . &#039;&quot;&gt;&#039; . get_the_title( $page-&gt;ID ) . &#039;&lt;/a&gt;&#039;;
            $parent_id     = $page-&gt;post_parent;
          }

          if ( $is_ltr ) {
            $breadcrumbs = array_reverse( $breadcrumbs );
          }

          for ( $i = 0; $i &lt; count( $breadcrumbs ); $i++ ) {
            echo $breadcrumbs[$i];
            if ( $i != count( $breadcrumbs ) -1 ) echo $delimiter;
          }

          if ( $is_ltr ) {
            echo $delimiter . $current_before . $page_title . $current_after;
          }

        } elseif ( is_tag() ) {

          echo $current_before . single_tag_title( &#039;&#039;, false ) . $current_after;

        } elseif ( is_author() ) {

          GLOBAL $author;
          $userdata = get_userdata( $author );
          echo $current_before . __( &#039;Posts by &#039;, &#039;__x__&#039; ) . &#039;“&#039; . $userdata-&gt;display_name . $current_after . &#039;”&#039;;

        } elseif ( is_404() ) {

          echo $current_before . __( &#039;404 (Page Not Found)&#039;, &#039;__x__&#039; ) . $current_after;

        } elseif ( is_archive() ) {

          if ( x_is_shop() ) {
            echo $current_before . $shop_title . $current_after;
          } else {
            echo $current_before . __( &#039;Archives &#039;, &#039;__x__&#039; ) . $current_after;
          }

        }

      echo &#039;&lt;/div&gt;&#039;;

    }

}
</code></pre>
<p>Further customizations from here would be getting into custom development, which is outside the scope of support we can offer. If you need more in depth changes, you may wish to consult with a developer, or look into service like Elto or WerkPress. X is quite extensible with child themes, so there are plenty of possibilities. </p>
<p>Thanks for understanding.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/categories-breadcrumbs-issue/#post-135694</guid>
					<title><![CDATA[Reply To: Categories breadcrumbs issue]]></title>
					<link>https://theme.co/archive/forums/topic/categories-breadcrumbs-issue/#post-135694</link>
					<pubDate>Fri, 31 Oct 2014 08:18:03 +0000</pubDate>
					<dc:creator>eugenetim</dc:creator>

					<description>
						<![CDATA[
						<p>Thank you! You support is brilliant!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/categories-breadcrumbs-issue/#post-135832</guid>
					<title><![CDATA[Reply To: Categories breadcrumbs issue]]></title>
					<link>https://theme.co/archive/forums/topic/categories-breadcrumbs-issue/#post-135832</link>
					<pubDate>Fri, 31 Oct 2014 12:53:25 +0000</pubDate>
					<dc:creator>Cousett</dc:creator>

					<description>
						<![CDATA[
						<p>Glad we were able to help. 🙂 Have a nice day. </p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

