Assigning a markup to categories and then using it in posts

[ad_1]

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

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer