Forum

Thread tagged as: Question

page link style More Options?

Greetings again. I'm working with some pagination and found in the docs that the page-link-style has 2 options. Shortened, and all. Shortened seems to show 3 pages then the last page, and so on. Is there a way to set it so that it shows 'X' number pages? In this case 5?

perch_content_custom('Artwork Gallery', array(
    'count' => 2,
    'paginate' => true,
    'page-links' => true,
    'page-link-template' => 'stg-page-links.html',
    'page-link-style' => ?,
));

Many thanks! Nick

Nicholas Nelson

Nicholas Nelson 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

It's just shortened or all, currently.

Alrighty. Looks like it will work out for me. Thanks!