Thread tagged as: Question, Problem, Blog

Diesappearing links to blog posts

Hi Drew,

I have a page (accessible by a type of member) which has paginated content, in the footer are links to the five most recent blog posts (pulled in using perch_blog_custom). The problem is that when I click to the 2nd page the two most recent links disappear and then when I click to the 3rd page the remaining 3 links disappear.

Any thoughts as to whats causing this?

Nick Loat

Nick Loat 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Are you using the same pagination query string variable for both listings?

Adding 'paginate' => false, to the below (part of a layout that is pulled in to the page where I've set 'paginate' => true, on a region) seems to have worked.

<div class="col"><h3>POSTS</h3>
    <?php  perch_blog_custom(array(
    'template' => 'post_in_soc_list.html',
    'count'=> '5',
    'sort' => 'postDateTime',
    'sort-order' => 'DESC',