Sign in
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?

  • This topic has 1 reply, 2 voices, and was last updated 1 year, 6 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #7993
    Avatar photoseb_oi

    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?


    Avatar photoTomasz Dziuda


    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>

    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

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