Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 512573

Plugin incorrectly injects data on category pages

$
0
0

Replies: 0

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 all articles
Browse latest Browse all 512573

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>