Skip to main content
5 events
when toggle format what by license comment
Feb 21, 2020 at 13:27 answer added Cheo Molina timeline score: 0
Feb 20, 2020 at 7:46 comment added Cheo Molina But my goal is to repeat certain parameters like $storeName or $OpeningHours to all stores in the site, and it's extremely unconvenient to do it 1 by 1... I want something like Woocommerce that you only fill some data and it automatically creates a page with all the data arranged inside of it
Feb 19, 2020 at 23:39 comment added Jacob Peattie the_post() is not a template tag. It's not something that produces output that you can add it. It's used for setting up the query properly in your template so that you can output stuff. The things you're describing need to be added to the template.
Feb 19, 2020 at 17:39 comment added WebElaine You can add either custom taxonomies or postmeta. It really depends on how you want to use the data. If you ever want to be able to query for posts that have a certain piece of data, you'll want to set it up as custom taxonomies, as taxonomy queries are much more performant than meta queries. Once you add the data, you will also need to set up or update your theme template to display it however you like.
Feb 19, 2020 at 17:36 history asked Cheo Molina CC BY-SA 4.0