Plugin incorrectly injects data on category pages
-
Hi Sunny,
Good plugin – Google recognises my FAQ’s – thanks!However, it is generating errors in Google Search Console for categories. A category returns $post_type as “post” so your code is kicking in.
You may need to add an is_single() to the if statement in schema_faqs_head method.
Hope that helps!
Snibbo
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Plugin incorrectly injects data on category pages’ is closed to new replies.