Breadcrumbs custom taxonomy ACF
-
WordPress
Rankmath
Woocommerce
WPML
ACF
all updated to the latest version.I have created a CPT “Traditions” and a custom taxonomy “Seasons” using ACF. I have set the following regarding the URLs
ACF->Post Types->Traditions->Advanced settings->URLs->Permalink Rewrite=Custom Permalink + URL slug=thrace/traditions/%season%
ACF->Taxonomies->Seasons->Advanced settings->URLs->Permalink Rewrite=Custom Permalink + URL slug=thrace/traditions/
The permalinks function as expected and I get for example:
https://wp.emthrace.org/thrace/traditions/autumn/lorem-ipsum/
for a single CPT Tradition or
https://wp.emthrace.org/thrace/traditions/autumn/
for a custom taxonomy “Seasons” archive pagehttps://wp.emthrace.org/thrace/traditions/
points to a page and not a CPT archive.My problem is that the urls and permalinks work just as intended, but I cannot get the breadcrumbs to display in the exact same manner i.e.
Home / Thrace / Traditions – for the page
Home / Thrace / Traditions / Autumn / – for the “Seasons” custom taxonomy archive page
Home / Thrace / Traditions / Autumn / lorem ipsum / for a single “Traditions” custom post type.In other words I would like to present breadcrumbs that are identical to the URLs
In order to achieve that I would have to add “/ Thrace / Traditions /” to the breadcrumb trail of custom taxonomies (Seasons) and custom post types (Traditions). I have played around with filters but I couldn’t get it to work for adding 2 levels of parents.
Please help
The page I need help with: [log in to see the link]
- The topic ‘Breadcrumbs custom taxonomy ACF’ is closed to new replies.