Forum

Thread tagged as: Question, Blog

Filter Blog Posts on Second Post

Hi,

I'm attempting to create a blog post feed that starts on the 2nd most recent. The most recent post has it's own styling, so I want the 2nd most recent and beyond to be separate. However, I can't seem to filter it correctly.

Here's my code:

<?php  
            perch_blog_custom(array(
              'count'      => 4,
              'start' => 2,
              'template'   => 'post_in_list.html',
              'sort'       => 'postDateTime',
              'sort-order' => 'DESC',
            ));
            ?>

Thank you!

Greg Stone

Greg Stone 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

I think you might need to turn pagination off:

'paginate' => false,

That did it! Thank you.