Forum

Thread tagged as: Problem

'count' Problem with perch_content_custom() now

Hello again I had just asked about 'start' and perch_blog_custom() and got my problem resolved. Here

Now I'm having trouble with perch_content_custom()

perch_content_custom('Projects', array(
     'template' => 'project-listing.html',
     'start' => 3,
     'count' => 3,
));
// ^This works exactly like I want it to. It shows three items after the first two available.

perch_content_custom('Projects', array(
     'template' => 'project-listing.html',
     'start' => 3,
));
// ^This shows only the first two items.

perch_content_custom('Projects', array(
     'template' => 'project-listing.html',
     'start' => 3,
     'paginate' => false,
));
// ^This shows all items including the first two.

// I want to be able to show all items EXCEPT the first two.
Nicholas Nelson

Nicholas Nelson 0 points

  • 7 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

start needs count I believe.

Yep, that did it.