Wrong category in Yoast bread crumbs?
-
Hello, I included bread crumbs in Yoast, and they suddenly began to show the wrong category on each single post (screen)
Example page. There should be a category of Games, not Vocals. The Games category has ID 12, Vocals have 18. The correct category in the breadcrumbs records only for posts of ID 1 category Acrobatics.Why is that? How to fix it?
– I’m using the most recent Yoast
– I’m using last WordPress
– I have installed Yoast Test Helper plugin and clicked Reset Indexables & Migrations, Run SEO data optimization
– I’m implementing breadcrumbs via your PHP code:<?php if ( function_exists(‘yoast_breadcrumb’) ) { yoast_breadcrumb( ‘<p id=”breadcrumbs”>’,'</p>’ ); } ?>
upd: I noticed that if i change the category of the post to any other, and then return the desired one back, then the problem is solved. But there are about 500 posts, I can’t do it manually.
- This topic was modified 2 years, 7 months ago by .
- This topic was modified 2 years, 7 months ago by . Reason: update
The page I need help with: [log in to see the link]
- The topic ‘Wrong category in Yoast bread crumbs?’ is closed to new replies.