Archived topic
Event schema, how to create it and how to add to a single page/post
3 replies · Started by nomadiceman on July 18, 2020
Ive looked at many different events plugins and schema plugins to achieve this but all are bloated
What I want to do it to add Event Schema to a specific page/post. How would I add schema code to a page or post?
Does anyone know how I can create this code also? Is there an online tool to help me create the schema code that you have used or recommend?
thanks for your help
Hi there,
maybe this article will help:
https://www.wptorc.com/add-schema-markup-without-plugin/
When you get to Step 4 that talks about editing the header.php -- don't do that -- instead use a Hook Element to add that code to the WP_Head hook
https://docs.generatepress.com/article/hooks-element-overview/
Awesome!! I’ll check that out
Thank you
You're welcome