Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1183966

    I have turned off automated schema markup and all other plugins. On my homepage I include a masonry element which outputs 4 items including excerpt. If I check my page in Google’s Structured Data Testing Tool I see 4 hentry entries, one for each of the excerpts. These should not be there.

    I have removed them for now using this in my functions file:

    function imelgrat_remove_hentry($class)
    	{
    		$class = array_diff($class, array('hentry'));
    		return $class;
    	}
    add_filter('post_class', 'imelgrat_remove_hentry');

    I think this is a bug.

    Thanks

    #1184295

    Hey Rustybucket,

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #1184298

    Thanks Victoria. Site provided in Private Content but the function I added removes the offending CSS so the error is no longer present. If my report is unclear please let know what else I can tell you.

    #1184771

    Hi Rustybucket,

    You’re right, deactivating the schema removes the itemprop attribute and the schema attribute but not the class.

    I reported the issue. Thank you for bringing this up.

    Best regards,
    Victoria

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.