Title: Second category in breadcrumbs
Last modified: January 19, 2021

---

# Second category in breadcrumbs

 *  Resolved [fpablo](https://wordpress.org/support/users/fpablo/)
 * (@fpablo)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/second-category-in-breadcrumbs/)
 * Hi,
 * I have situations like that:
    Post X is in Y and X category.
 * The breadcrumbs look like this:
    page title > cat Y > cat X > post title
 * How can I make it look like this:
    page title > cat Y > post title

Viewing 15 replies - 1 through 15 (of 15 total)

 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/second-category-in-breadcrumbs/#post-13926522)
 * Hello,
 * Thanks for reaching out!
 * To be clear, do you mean that the post belongs to two categories but you want
   only a particular one to reflect in the breadcrumbs? If yes, you need to ‘select
   the primary category’ when editing the post. This option is in the right-hand
   sidebar. A screenshot is [here](https://imgur.com/p1Md3aX).
 *  Thread Starter [fpablo](https://wordpress.org/support/users/fpablo/)
 * (@fpablo)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/second-category-in-breadcrumbs/#post-13926612)
 * Yes, that’s right.
 * But unfortunately I don’t see this option “primary category”.
 * Neither in Gutenberg nor in the classic editor.
 * (My version is Yoast SEO 15.6.2)
 *  Thread Starter [fpablo](https://wordpress.org/support/users/fpablo/)
 * (@fpablo)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/second-category-in-breadcrumbs/#post-13926745)
 * I have onlu options like that: [https://passwordprotectwp.com/wp-content/uploads/2020/01/ppwp-parent-child-categories.png](https://passwordprotectwp.com/wp-content/uploads/2020/01/ppwp-parent-child-categories.png)(
   make primary)
 * But still, I choce one, and in schema breadcrumbs I have two categories.
 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/second-category-in-breadcrumbs/#post-13926764)
 * Hello,
 * You can enable the category to be shown in the breadcrumbs by going to SEO → 
   Search Appearance → Breadcrumbs → Taxonomy to show in breadcrumbs for content
   types → Posts and select Category, as in the [attached image](https://pasteboard.co/JKlLvUC.jpg).
 * Does this resolve the issue?
 *  Thread Starter [fpablo](https://wordpress.org/support/users/fpablo/)
 * (@fpablo)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/second-category-in-breadcrumbs/#post-13926890)
 * I changed as in the screenshot, but still have two categories in breadcrumbs.
 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/second-category-in-breadcrumbs/#post-13927011)
 * Hello,
 * You mentioned that you have the right setting in WordPress > SEO > Search Appearance
   > Breadcrumbs, selecting category in the Posts drop-down box.
 * You would need to modify your theme to get the primary category from the post
   information. You can find some information on how to do this here:
 * [https://kb.yoast.com/kb/implement-wordpress-seo-breadcrumbs/](https://kb.yoast.com/kb/implement-wordpress-seo-breadcrumbs/)
   
   [https://gist.github.com/jawinn/1b44bf4e62e114dc341cd7d7cd8dce4c](https://gist.github.com/jawinn/1b44bf4e62e114dc341cd7d7cd8dce4c)
   [https://www.tannerrecord.com/how-to-get-yoasts-primary-category/](https://www.tannerrecord.com/how-to-get-yoasts-primary-category/)
 * We recommend testing the solutions on a staging site first.
 *  Thread Starter [fpablo](https://wordpress.org/support/users/fpablo/)
 * (@fpablo)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/second-category-in-breadcrumbs/#post-13927137)
 * So you think the problem is in the theme ?
 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/second-category-in-breadcrumbs/#post-13929148)
 * [@fpablo](https://wordpress.org/support/users/fpablo/) Yes, that is correct. 
   Are you able to verify whether it is being caused by the theme by setting your
   site to use a default theme such as [TwentyTwenty](https://wordpress.org/themes/twentytwenty/)
   and then checking whether it resolves the issue?
 *  Thread Starter [fpablo](https://wordpress.org/support/users/fpablo/)
 * (@fpablo)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/second-category-in-breadcrumbs/#post-13929331)
 * I checked it right now with Twenty Twenty and I still have two categories in 
   breadcrumbs :/
 *  [Priscilla Chapman](https://wordpress.org/support/users/priscillamc/)
 * (@priscillamc)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/second-category-in-breadcrumbs/#post-13930206)
 * Hi [@fpablo](https://wordpress.org/support/users/fpablo/),
 * To help us troubleshoot and see if we can reproduce the problem, we’d like to
   get the following information:
 * 1. Are the categories assigned to the post parent/child categories? For example,
   is category Y the parent of category X?
 * 2. If you deactivate all plugins except for Yoast SEO and use the Twenty Twenty
   theme, does the problem with the breadcrumb categories still appear? We have 
   a guide with the steps to do this temporarily without affecting your live site
   here: [How to check for conflicts](https://kb.yoast.com/kb/how-to-check-for-plugin-conflicts).
 *  Thread Starter [fpablo](https://wordpress.org/support/users/fpablo/)
 * (@fpablo)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/second-category-in-breadcrumbs/#post-13931296)
 * 1) X is parent category.
    Y is child of Z category.
 * 2) I turned it like in the instructions and with only the Yoast SEO plugin I 
   only have one level:
    > post title
 * I am using also Permalink Manager Pro, but when I enable this plugin too, the
   breadcrumbs are the same, only one level.
 *  Thread Starter [fpablo](https://wordpress.org/support/users/fpablo/)
 * (@fpablo)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/second-category-in-breadcrumbs/#post-13931367)
 * Sorry, i double check.
 * When I use Health Check & Troubleshooting with Yoast and Permalink Manager Pro
   on Twenty Twenty everything is ok.
 * When I use Health Check & Troubleshooting with Yoast and Permalink Manager Pro
   on Tmy theme also everything is ok.
 * So I’m still looking …
 *  Thread Starter [fpablo](https://wordpress.org/support/users/fpablo/)
 * (@fpablo)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/second-category-in-breadcrumbs/#post-13931414)
 * Now i have no idea.
 * I checked all possible SEO-related, cache or optimization plugins. In troubleshooting
   mode, everything works fine on my theme.
 * Do you have any idea for this?
 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/second-category-in-breadcrumbs/#post-13935200)
 * Due to the nature of the issue, we’ll need to take a look at your setup to see
   what’s going on here exactly. However, we are unable to take a look at your setup
   as this is a public forum. So, if you have a Yoast SEO Premium subscription or
   willing to purchase one at [https://yoast.com/wordpress/plugins/seo/](https://yoast.com/wordpress/plugins/seo/),
   you can have our premium support where we can investigate the issue privately
   to see what’s going on here.
 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/second-category-in-breadcrumbs/#post-13961646)
 * We are going ahead and marking this issue as resolved due to inactivity. If you
   require any further assistance please create a new issue.

Viewing 15 replies - 1 through 15 (of 15 total)

 The topic ‘Second category in breadcrumbs’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 15 replies
 * 4 participants
 * Last reply from: [devnihil](https://wordpress.org/support/users/devnihil/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/second-category-in-breadcrumbs/#post-13961646)
 * Status: resolved