Assigning a markup to categories and then using it in posts
-
Hi,
I would like to know if it could be possible to achieve the following:
Assign a certain schema to wordpress categories through
Edit schema -> "Microdata Type URLs" or "Same-As URLs"
and then when I publish a post within that same category, inject into the post the schema previously assigned to the category, in addition to the markup of each post.For example, if I have a category called “Dali’s paintings” and then I write several posts that talk about Dali, I will have to fill in the same Wikidata identifier
[https://www.wikidata.org/wiki/Q5577]
in each of them. It would be great if I could assign that markup directly to the category and then have it automatically show up in each of the posts.I hope the explanation wasn’t too confusing !
Thank you in advance
- The topic ‘Assigning a markup to categories and then using it in posts’ is closed to new replies.