How to exclude custom taxonomy
-
Hi, I have several custom taxonomies in my wordpress site and would like to completely exclude one of them for certain reasons from building a json breadcrumb trail in the of the page.
My current code I want to exclude looks like this:
<script type="application/ld+json">
{"@context":"http://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"https://www.mydomain.com","name":"mydomain.com"}},{"@type":"ListItem","position":2,"item":{"@id":"https://www.mydomain.com/mytaxonomy/","name":"Mytaxonomy"}},{"@type":"ListItem","position":3,"item":{"@id":"https://www.mydomain.com/mytaxonomy/term/","name":"Term"}}]}</script>When I delete the code for this taxonomy in the Breadcrumb NavXT settings, beginning with
<span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" ...
the code is still there after saving the settings.
Is there a way to exclude this taxonomy, and if so, how?
Thanks in advance!
Andreas
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.