Archived topic
Templating Category Pages
5 replies · Started by Jodie on November 18, 2022
Hi,
I want to create categories and subcategories for my site, but as I'm going to make many, I'd like a way to speed up the process. I'd like to create a template for the custom sections I've got your help with recently.
Currently I'm using the default WP category archive page.
Is it possible to use a template if you want the features of the default WP category archive page?
Thanks for your help!
Cheers Jodie
Hi there,
are you familiar with GenrateBlocks and Dynamic Data in GP Elements ?
Hi there David
Yes I'm familiar with Generate Blocks and Dynamic Data in GP elements, no expert though!!! :)
Hi Jodie,
To structure or design how posts appear on the Blog/Archive Pages, you can use a Block Element - Content Template or Loop Template.
References:
https://docs.generatepress.com/article/block-element-content-template/
https://docs.generatepress.com/article/block-element-loop-template/
Generate Blocks and Dynamic Data in GP elements are useful tools for these Block Elements.
Either of these two should allow you to create a template for the default WP category archive page.
You can then use a Block Element - Page Hero or other Elements, to further design your archive pages.
Hi Fernando,
Thanks for letting me know! Much appreciated.
Cheers Jodie
You're welcome, Jodie! Cheers!