Title: Custom Schema
Last modified: November 22, 2024

---

# Custom Schema

 *  Resolved [mihannsell](https://wordpress.org/support/users/mihannsell/)
 * (@mihannsell)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/custom-schema/)
 * I’d like to build a custom schema for each web story.
 * I checked the DB and I saw that each web story is kept in a flat structure, no
   attachments, no metadata.
 * I’d like to be able to get the array of all the slides with the images, captions
   and titles being placed within each slide.
 * is it possible anyhow?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/custom-schema/#post-18157291)
 * What kind of schema are you trying to build / what for? Note that schema.org 
   data is already automatically added by the plugin.
 * If you need something completely custom, you can check how the story data is 
   stored in the `wp_posts.post_content_filtered` database column. Through that 
   you can retrieve the story content in a more structured format. Note that we 
   don’t provide documentation or support for directly accessing this data and the
   structure keeps evolving over time.
 * Hope that helps!
 *  Thread Starter [mihannsell](https://wordpress.org/support/users/mihannsell/)
 * (@mihannsell)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/custom-schema/#post-18157312)
 * This is very helpfull, and probably I will be able to extract all the data I 
   need to build extra schema for our purpose.
 * Thank you very much!!!
 *  Thread Starter [mihannsell](https://wordpress.org/support/users/mihannsell/)
 * (@mihannsell)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/custom-schema/#post-18158474)
 * BTW – haven’t you consider adding the MediaGallery schema?
 * Using the data stored in `wp_posts.post_content_filtered` is not enought to extract
   the elements I want to use for MediaGallery schema. If single page contains more
   than one image in it – there’s no way for me to mark one given image as the one
   I want to include in MediaGallery schema.
 *  Thread Starter [mihannsell](https://wordpress.org/support/users/mihannsell/)
 * (@mihannsell)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/custom-schema/#post-18158486)
 * Samo goes for the Text elements on the page – I can’t tag them to be able to 
   distuingiush them later, can I?
 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/custom-schema/#post-18159400)
 * > BTW – haven’t you consider adding the MediaGallery schema?
 * We’re focused on [structured data markup that Google Search supports](https://developers.google.com/search/docs/appearance/structured-data/search-gallery).
 * > Samo goes for the Text elements on the page – I can’t tag them to be able to
   > distuingiush them later, can I?
 * Not sure I understand what you mean here. If you mean annotating text elements
   in the editor in a specific way (e.g. for including/excluding them from the schema.
   org schema), then no, that’s not something the editor supports, we do not have
   a use for that.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Custom Schema’ is closed to new replies.

 * ![](https://ps.w.org/web-stories/assets/icon.svg?rev=2386543)
 * [Web Stories](https://wordpress.org/plugins/web-stories/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/web-stories/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/web-stories/)
 * [Active Topics](https://wordpress.org/support/plugin/web-stories/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/web-stories/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/web-stories/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/custom-schema/#post-18159400)
 * Status: resolved