Support ForumBreadcrums not showing Categories names their Trees, just the post name – Support Forum https://support.ishyoboy.com/forums/topic/breadcrums-not-showing-categories-names-their-trees-just-the-post-name/feed Fri, 03 Jan 2025 04:00:29 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/breadcrums-not-showing-categories-names-their-trees-just-the-post-name/#post-7369 <![CDATA[Breadcrums not showing Categories names their Trees, just the post name]]> https://support.ishyoboy.com/forums/topic/breadcrums-not-showing-categories-names-their-trees-just-the-post-name/#post-7369 Fri, 20 Mar 2015 18:34:34 +0000 JaraJara Hi,

I thought that I was doing something wrong with my Custom Post Type on my new website (still in Dev, so sorry it is not live yet), but I did a test on pure simpĀ“le WP posts.

I created 3 nested categories:

1 post:

And the expected result is to get the breadcrumb showing all the 3 categories for that post, but:

What am I doing wrong?

thanks.

]]>
https://support.ishyoboy.com/forums/topic/breadcrums-not-showing-categories-names-their-trees-just-the-post-name/#post-7385 <![CDATA[Reply To: Breadcrums not showing Categories names their Trees, just the post name]]> https://support.ishyoboy.com/forums/topic/breadcrums-not-showing-categories-names-their-trees-just-the-post-name/#post-7385 Mon, 23 Mar 2015 06:23:27 +0000 IshYoBoy Hey,

The breadcrumbs are made to show:

Homepage > Blog page > Post Name

So they do not reflect the Post category. The categories and their parents are reflected in the breadcrumbs of the category page. If you open the LIXO3 Category you will see it there.

You can change this behaviour in the function “ishyoboy_get_breadcrumbs” located in the file. Not sure if you are using the same categories as the regular post for your CPT. If not you will have to add a special check for your custom taxonomy and post type:

boldial/assets/framework/wp/options/custom-functions.php

To enable this on the default WordPress post please find this code:

and change the “is_object” to “is_array”:

For other CPT this branch is used:

So you can get inspiration from the code for the regular post or portfolio-post and display the categories as well ;)

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/breadcrums-not-showing-categories-names-their-trees-just-the-post-name/#post-7439 <![CDATA[Reply To: Breadcrums not showing Categories names their Trees, just the post name]]> https://support.ishyoboy.com/forums/topic/breadcrums-not-showing-categories-names-their-trees-just-the-post-name/#post-7439 Wed, 25 Mar 2015 17:19:22 +0000 JaraJara Worked marvelously!

I’m also used the functions.php under the Boldial-child so I will not get screwed upon a theme update…

Thanks!

;)

]]>
https://support.ishyoboy.com/forums/topic/breadcrums-not-showing-categories-names-their-trees-just-the-post-name/#post-7452 <![CDATA[Reply To: Breadcrums not showing Categories names their Trees, just the post name]]> https://support.ishyoboy.com/forums/topic/breadcrums-not-showing-categories-names-their-trees-just-the-post-name/#post-7452 Thu, 26 Mar 2015 06:33:51 +0000 IshYoBoy Great job, pal! This is exactly how it should be done! glad we helped. Have fun with the rest.

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>