Hello!
I am thinking about the configuration of a wp site and I got confused between two options.I have topics with new posts that will be created around them.The posts will be different cpt, for example – Press, Events, Analysis, Positions. The topic page will be like an archive page with featured image, title, date and some text. It should have also 2 sections – one with the last 5 posts from Analysis CPT related to this topic and another one with last 5 posts from all CPT that are related to this topic.
**The first option** I think of is to create a new WP page for every topic (for example “Football”) and a new post (of Event or Press type) to create somehow a relation to the page with the topic I want (maybe general category?).
**The second option** I think of is to create a category for every topic and to assign the new posts to that category, but they have to be general for all CPTs? Also as I would like to add title, image and long description to that topic, I have to add some custom fields to the category and create a base template for it, right?
My main question is if the topic is suitable to be created with a wp page and somehow to relate new posts from those CPTs to that page or the second variant is the topic to be a category that will be general for all CPTs? As I would like the topic page to have its own template with title, featured image, description and 2 dynamic sections, I thought a wp page is ok for the job but I am not sure if it will be easy and efficient way to relate it with CPTs.
I would go with ACF and a lightweight theme so I am considering between Generatepress/Astra/Kadence. I will overwrite the templates, so which one would be easier to code in it?
I am willing to hear your suggestions and advices 🙂
[ad_2]
Look into the Query Loop Block.