Forum

Thread tagged as: Question, Blog

Masonry page blog/listings

Hi

I have a 'Masonry' type page on a home page which are mostly news/blog posts. If I want to show each one on a 'blog page' all together say in date order can I do that using the Blog App? Would I create a blog post for each one on the home page and then add the code for each one onto the blog page? There are 9 different sections on the home page.

Thanks

David Roberts

David Roberts 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, you can do that for blog posts with the Blog app.

Would it best to use Perch Blog Sections and add each template to the blog page as per below

<?php
    perch_blog_sections(array(
        'template' => 'my_section_template.html',
          'template' => 'my_section_template2.html',
    ));
?>
Drew McLellan

Drew McLellan 2638 points
Perch Support

I would use perch_blog_custom() to do the listing.