Breadcrumbs with wrong category when change in WP
-
When I change the category of any post, breadcrumbs still show the old category. How can I update it?
I’m implementing breadcrumbs via your PHP code:
<?php
if ( function_exists(‘yoast_breadcrumb’) ) {
yoast_breadcrumb( ‘<p id=”breadcrumbs”>’,'</p>’ );
}
?>I have already tried with Yoast Test Helper optimizations with no solution. The category that is shown by the theme is correct, in your breadcrumbs I see the first category i published the post with, changing it will nowt affet the change in the breadcrumbs.
Versions
– WordPress 5.6.1
– Yoast 15.8.Thanks so much.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Breadcrumbs with wrong category when change in WP’ is closed to new replies.