• Resolved rmens

    (@rmens)


    I’m currently developing a site that has some custom taxonomies added to post. Besides a category, there is also a region selected. I’d like to output the region in the breadcrumbs too. Additional to the category, of maybe instead of the category. I couldn’t find any developer documentation on extending or customizing breadcrumbs. Is this possible?

Viewing 1 replies (of 1 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hello!

    I believe this filter will allow you to select the supported taxonomies conditionally:
    the_seo_framework_ld_json_breadcrumb_taxonomies. The first taxonomy returned is the dominating one for queries that follow.

    With this filter, you can become more specific with the terms found: the_seo_framework_ld_json_breadcrumb_terms. Mind that the filter above is required to set the correct taxonomy first (read the third parameter).

    Multiple breadcrumb trails have never been supported by Google (even though they used to claim otherwise, it probably didn’t work). So, choose wisely 🙂

    I understand that this is a bit cumbersome; the breadcrumbs API we have is long overdue for a rewrite.

Viewing 1 replies (of 1 total)

The topic ‘Custom taxonomy in breadcrumbs’ is closed to new replies.