Custom Archive Pages
-
To preface, I use Elementor Pro and Woocommerce with Astra theme, I have Archive pages for my blog that sort based on category (the usual)
I also have freebies and products that relate to each category, so I’d like each archive page to be in this format: Freebies, Blog Posts, Products all in the relevant categories.
I’ve gone ahead and created products for all of my freebies and categorized them (using the same categories as my blog) as “‘Category Name’ Freebie” so I can easily pull them for my new archive pages.
Here comes the part I need help with:
I don’t want to manually create pages for each archive. I want to automatically populate them, I’m having trouble figuring out how to tell the Posts widget to dynamically pull the relevant Freebies and Products.
The query would have to be PRODUCTS and change for the freebies (category name concatenated with the word freebie) and just the category name for the actual products.
Any tips on how I can do this?
Thanks,
Parm- This topic was modified 2 years, 11 months ago by .
- This topic was modified 2 years, 11 months ago by . Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
The page I need help with: [log in to see the link]
- The topic ‘Custom Archive Pages’ is closed to new replies.