Disable archive link
-
Hi,
I have a custom post type “office”.
I want to keep the plural name in the breadcrumbs but don’t want it to link to that post type archive page (I don’t even want to have one).
Want it like this: Home > Offices > UK
The “Offices” bit only shows up if I activate the “has archive” option for the custom post type. But with that option, it will be linked in the breadcrumbs.
How can I disable the link, but keep the text?
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Disable archive link’ is closed to new replies.