Tagged: Custom Post Type, enfold, masonry
Hi,
I have a number of Custom Post Types being pulled in and displayed on a Static Page using a custom Page Template with some basic queries to pull in the posts.
I would like these posts to be displayed using the Masonry layout as seen on the Blog Demo Here:
http://kriesi.at/themes/enfold/blog/masonry-blog/
If you would like to preview the page/site/files, I have included details in the Private content box below.
The theme is a Child Theme and the template files are page-memories / loop-page-memories.php
thanks in advance!
Hello,
You’d need to code it, you can use the avia_masonry
class, check line 3013 in /config-templatebuilder/avia-shortcodes/masonry_entries.php.
Alternatively you can ALB to build the page but you’d need add this to your theme child functions.php in order to get the Masonry to be able to pull CPTs:
add_theme_support('add_avia_builder_post_type_option');
Cheers!
Josue
Alternatively you can ALB to build the page
What does ALB mean?
Hi!
ALB stands for Advanced Layout Builder. You can add the code Josue posted above to functions.php file to enable ALB on custom post types
Best regards,
Yigit
Great, thanks … will try this out!
p.s. works beautifully … thanks!