• Resolved code222

    (@code222)


    Hi, I created a site where I needed to assign a parent post to a child post, each post has a category and I would like to view that in the breadcrumbs.

    but I noticed that the following structure is displayed in the child posts: Home > post parent name > post child name

    while I would like:

    Home > category of post child > post child name

    I tried setting the category option in the “Taxonomy to show in breadcrumbs for post types” section, this works in parent posts but in child posts it displays the parent post instead of the category. Is there a code or setting to fix this?

Viewing 1 replies (of 1 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @code222

    Thanks for reaching out about your breadcrumbs path. The Yoast SEO plugin generates breadcrumbs based on your site structure. However, you or your developer can implement the wpseo_breadcrumb_links filter to customize the path. The filter should be added to your functions.php file. You will find some examples of use here.

Viewing 1 replies (of 1 total)

The topic ‘how avoid yoast show post parent in breadcrumb’ is closed to new replies.