How to Modify Breadcrumb Page Names for Specific Pages?
-
I am using the WordPress SEO (Yoast) plugin to display breadcrumbs on my site.
It works fine for the most part, but on a handful of pages (4 to be exact) I want to change the breadcrumb names only.
At the moment they are:
Home > LONG CATEGORY NAME > LONG PAGE NAME
I want them to be:
Home > CUSTOM SHORT NAME > CUSTOM SHORT NAME
I found this https://yoast.com/wordpress/plugins/seo/api/ but I have no idea how to implement it.
I suppose I need to use the relevant to hooks in an if statement for each page that I want to alter the breadcrumbs for and insert that in my functions.php, I just have no idea how to make the if statement!
Thank you for any assistance
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to Modify Breadcrumb Page Names for Specific Pages?’ is closed to new replies.