Forum

Thread tagged as: Blog

Blog starting at 2

I want to display the second blog item so I have tried to use perch_blog_custom with "start" => 2 - but its displaying the first item. Can you suggest what I'm doing wrong? Thanks

My code is

<?php
    perch_blog_custom(array(
      'sort'=>'postDateTime',
      'sort-order'=>'DESC',
      'template'=>'blog/homepage_post_in_list-news.html',
      'category' => array('news'),
      'start' => 2,
      'count'=>1
    )); 
?>   
cow shed

cow shed 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Try turning pagination off:

'paginate' => false,

brilliant thanks

Simon Clay

Simon Clay 127 points

Why does paginate false work?