Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #887533

    Hello,
    in Enfold default implementation of Schema.org markup I don’t see @type”: “ImageObject” that is the one which might show the picture of the product and could make a great difference in click through rate.
    Is it possible to add it?
    Thank you
    Mauro

    #887952

    Hey Mauro,

    Please open /enfold/includes/helper-markup.php file in Appearance > Editor and find

                case 'image':
                    $attributes['itemscope'] = 'itemscope';
                    $attributes['itemtype']  = 'https://schema.org/ImageObject';
                    break;

    and change it to

                case 'image':
                    $attributes['itemprop']  = 'ImageObject';
                    $attributes['itemscope'] = 'itemscope';
                    $attributes['itemtype']  = 'https://schema.org/ImageObject';
                    break;

    Best regards,
    Yigit

    #888475

    Hi Yigit,
    Thank you
    i have duplicated the file
    /enfold/includes/helper-markup.php
    to
    /enfold-child/includes/helper-markup.php (/wp-content/themes/enfold-child/includes/helper-markup.php)
    and modified as suggested but I cannot find “ImageObject” searching in the source outputted code of any product

    Mauro

    #890023

    Hi Mauro,

    Sorry for the late reply!

    For the time being, please consider using a plugin such as this one – https://wordpress.org/plugins/schema/. We will discuss this with our devs.

    Best regards,
    Yigit

    #890040

    ok
    do you mean that in a future update you will add support for ImageObject?
    Best regards
    Mauro

    #890808

    The site also doesn’t pass this new test from google about rich snippets and structured data
    https://search.google.com/test/rich-results
    (https://webmasters.googleblog.com/2017/12/rich-results-tester.html)
    Best regards
    Mauro

    #892668

    Hi,

    Thank you for the info. The theme contains basic schema or rich snippets features so it has to be extended or modified for specialty sites such as yours. And please note that that the “Rich Results Test” is still in beta version so it’s not accurate. Please use the “Structured Data Testing Tool” instead.

    // https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fattarperfumes.net%2F

    Best regards,
    Ismael

    #892786

    do you think to add in the next future a correct support for ImageObject for products?
    Should I suggest it in https://kriesi.at/support/enfold-feature-requests/ ?
    Mauro

    #893105

    Hi,

    I’m not sure if this is going to be included in the theme because the rich snippet structures vary on different websites so it has to be configured manually. In the meantime, you can use the following filter to unset the ImageObject type.

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

    Best regards,
    Ismael

    #902944

    Hello,
    I see that in the new Enfold update you have worked on image schema.You say:

    2018 January 24th – Version 4.2.2
    – improved: schema.org image element markup

    I have tested one demo product page https://kriesi.at/themes/enfold/product/humo-floss/
    and seems that you have made a great job
    https://search.google.com/structured-data/testing-tool?hl=IT#url=https%3A%2F%2Fkriesi.at%2Fthemes%2Fenfold%2Fproduct%2Fhumo-floss%2F

    If I update the theme, should I delete before the code you have provided in this post?

    Thank you
    Mauro

    #903349

    Hi,

    Yes, you should delete the filter above because it disables the ImageObject type.

    Best regards,
    Ismael

    #911446

    Hi guys!

    I think I am having the opposite problem. ImageObject = The property ImageObject is not recognized by Google for an object of type WebPage. And failing the structured data markup on the pages where a logo slider, team member, testimonials, image appears.

    <div class=’slide-entry-wrap’ itemprop=”ImageObject” itemscope=”itemscope” itemtype=”https://schema.org/ImageObject&#8221; ><div class=’slide-entry flex_column no_margin post-entry slide-entry-overview slide-loop-1 slide-parity-odd av_one_third first real-thumbnail’><img itemprop=”thumbnailUrl” width=”300″ height=”135″ src=”

    Help!!

    Thank you so much!!

    Havi

    #911999

    Hi,


    @havi
    : Please open a new ticket and put the site url in the private field. We’ll check it there.

    Best regards,
    Ismael

    #912890

    Thank you, Ismael! Done and done! :)

    Warmly,

    Havi

    #913103

    Hi,

    Thank you for the update. We’ll close this thread now. Please continue on the next thread.

    Best regards,
    Ismael

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Schema.org @type": "ImageObject"’ is closed to new replies.