Archived topic
Category pages for child pages (not posts)
4 replies · Started by j930571 on December 21, 2022
Hi.
I need to create category pages for child pages (not posts) with thumbnails and page titles.
Something along the lines of this https://gpsites.co/article/blog/
but for pages. Doesn't have to be fancy. A basic grid would work.
How would I do this? Been struggling with trying to find a clean simple solution for months now.
Any help would be much appreciated.
Thanks.
Found a better example of what I'm trying to do.
See the second block here (below the hero image): https://demo.maitheme.com/law/
I don't need to get fancy, the page title under the image is fine.
Should be super simple, in theory?
Thanks.
Hello there,
To easily do this, you can add a GB Query Loop Block to a static Page.
Reference: https://docs.generateblocks.com/article/query-loop-overview/
You can set the Post type to Pages, and add a Parameter to grab the Child Pages of a specific "Parent" Page. Example: https://share.getcloudapp.com/yAuADlj0
That works.
Thanks for the fast response.
You're welcome!
