I’d like to use the masonry layout for pages other than posts and archives.
My use case is a page listing categories, shown in the same style as the posts. I have added a featured image to the taxonomy meta, and can produce a category card with image, title and description. Currently I am using a CSS grid, but it looks shabby compared to the post pages.
First question: Is there a ridiculously easy way to do this? I used the few lines of code from this forum to enable masonry on my custom post types. Is there something similar?
My second question assumes the answer to the above is no. I intend to use the masonry.js functions with the recommended HTML mark-up. Is there any guidance you give me? Do I need to do anything special to enqueue the javascript?
GeneratePress 2.2.2
GP Premium 1.7.8