Schema markup auto-deleted - Dawn Theme

I have tried to incorporate schema.org markup for FAQs directly in the HTML of pages and blog posts in my site.

To do this I use the html/code view and just add the code. But when I close the html/code view, work in the WYSIWG editor and then open code view again, or when I save and leave the page and come back to it later, all of the schema markup is gone. Here’s an example of the markup.


  

    ## This is the question
    
      

        This is the answer to the question.
      

    

  

I’ve tried using markup done with JSON, and that works. But when I go to edit the page after including JSON markup, the markup disappears and I have to recreate it and save the page to get it back.

I’m using the latest version of the Dawn theme.

Is there a setting or something that I need to tweak to allow for schema markup in pages and posts?

Hey

This could just be a copy paste error, but your missing the closing tag for the FAQPage bit. :slightly_smiling_face:

Yes - copy/paste error. :neutral_face:

This is a strange issue. My app, autoBlogger, generates FAQs and includes all the necessary FAQ schema data, so I know it’s possible.

Have you tried saving the page while still in code view? Also, could you share a link to an example page where you’ve attempted to add the schema? That might help in troubleshooting the issue.