How to tweak breadcrumbs
-
I have a couple of custom post types in subfolders. When I created them, I used the ‘rewrite’ parameter to put them inside an ‘academics’ directory.
‘faculty’ custom post type is set to https://mysite.com/academics/faculty/
‘program’ custom post type is set to https://mysite.com/academics/programs/When I use Yoast SEO breadcrumbs out of the box, the two CPT archives have breadcrumbs that say “Home > CPT”. How can I change this to include the ‘academics’ directory – so the breadcrumbs will be “Home > Academics > CPT”? This applies to the individual CPTs themselves too – for example https://mysite.com/academics/faculty/individual-faculty/ has a breadcrumb of “Home > Faculty > Individual Faculty” but I would like it to be “Home > Academics > Faculty > Individual Faculty”.
The prefix setting does not help since it adds a prefix to all breadcrumbs.
- The topic ‘How to tweak breadcrumbs’ is closed to new replies.