Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #448021

    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!

    #448616

    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

    #681337

    Alternatively you can ALB to build the page

    What does ALB mean?

    #681339

    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

    #681348

    Great, thanks … will try this out!

    p.s. works beautifully … thanks!

    • This reply was modified 8 years, 3 months ago by bluecafe.
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.