Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

What is the best way to add the shema markup of the images in each post?

  • #7993
    Avatar photo[anonymous]

    I am making a multilingual website but I noticed that the JSON-LD schema that is generated is not correct. It only generates the information for one image and if you have not chosen a featured image (as in my case) it will generate the information with the logo image.

    I have several doubts.
    First of all I would like to modify the schema that is generated in the main post. Is there any way to do this? The rest I can modify them by hand and then upload them to the input (I have created one for the FAQ of my website without problem).

    I don’t have much idea about the markup (my goal is to get images next to the url of the page in google searches). Should I add only one image in the schema for each post? Or should I add all of them?

    #8058
    Avatar photo[anonymous]

    Hi,

    At this moment it will be very problematic, in fact it the best solution would be creating a plugin which uses modifiers for <span class=”notion-enable-hover” spellcheck=”false” data-token-index=”0″ data-reactroot=””>jsonLD. But it is a bigger topic.

    You can also just remove the standard JSON LD output and create your own one based on the post tags just by overriding your theme.</span>