Archived topic
CPT Taxonomy Archive Layout in Columns
3 replies · Started by Chris on July 12, 2022
I have created a custom post type 'LSI Products' and created a taxonomy of 'Product Categories'. I have used the Elements > Block - Content Layout to customize how the individual products are displayed on the archive page, but I can't get the posts to display in a grid layout. Changing the settings in Customizer > Layout > Blog > Archive doesn't do the trick.
Hi Chris,
To clarify, are you referring to displaying posts in CPT archives in Masonry Grid?
If so, you’ll need to add a filter to enable it in your CPT.
Here’s an article for further assistance: https://docs.generatepress.com/article/using-columns-in-the-blog/#adding-masonry-to-your-custom-post-type
Adding PHP reference: https://docs.generatepress.com/article/adding-php/#code-snippets
Kindly let us know how it goes.
That was exactly what I needed! I searched the forums a long time before opening a ticket. Not sure why that article didn't show up in any of my searches. Either way, I greatly appreciate the quick response!
You’re welcome Chris!