👉 Divi Builder drag/drop page builder for WordPress
Those of you who have studied SEO techniques know the importance of using schema markup to help search engines better understand your content. They can also help you with rich snippets in certain cases and improve your CTR. If you publish various types of content, you are going to need to implement proper scheme markup for each. Here is the code that generates context aware schema automatically:
This code automatically upgrades your best content to NewsArticle but if you have a math heavy post, it will use a ScholarlyArticle schema. It also has dynamic video detection, so video embeds are discovered automatically. You can also add a real-time schema validator:
More WordPress reading: