Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #912889

    Hi guys!

    Google Search Console is reporting the following structured markup error:

    ImageObject = The property ImageObject is not recognized by Google for an object of type WebPage.

    And failing the structured data markup test on the pages where a logo slider, team member, testimonials, image appears.

    This is happening on the websites and pages I am adding in the private area.

    Help!!

    Thank you so much!! Warmly,

    Havi

    #913106

    Hi havi!

    Thank you for using Enfold.

    Did you try the previous filter? It will unset the image object.

    add_filter('avf_markup_helper_attributes', 'avf_markup_helper_attributes_mod', 10, 2);
    function avf_markup_helper_attributes_mod($attributes, $args) {
    	if($args['context'] == 'image') {
    	    unset($attributes['itemscope']);
                unset($attributes['itemtype');
    	}
    	return $attributes;
    }

    Cheers!
    Ismael

    #927444

    We are having the same issues on the last two sites we launched. Seems to be with the theme?

    Can you please advise on what fixes this (we use YOST SEO and Monster Insights w/ AMP) standard trusted plugins.

    Thank you for all you guys do!
    Steve

    example of the errors below (seems like the itemprop is the problem)

    • This reply was modified 6 years, 8 months ago by Basilis.
    #927445

    not sure why the picture came up from the code snip…LOL sorry

    #927750

    Hi,

    Can you please post those issues on a software like pastebin.com so we can be able to review it properly?

    Thank you

    Best regards,
    Basilis

    #939322

    Hi Ismael & Basilis,
    I will review this again. Am I supposed to upload something to that site or were you replying to Steve?
    Thank you guys!!

    Warmly,

    Havi

    #940067

    Hi,


    @havi
    please do check what Imael posted, it should work for you properly

    Best regards,
    Basilis

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