We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Forum
Showing two post lists on same page to display different links
Hi
I'm trying to display a list of recent posts on a intranet home page with the most recent article featured on its own, then followed by a short text list of links to other posts. Ideally, I don't want to feature the most recent article in the second list. Is this possible?
Here's the code I've used:
- For single post listing:
<?php $opts = array( 'template'=>'blog/hp_single_post_in_list.html', 'filter'=>'postDateTime', 'sort'=>'postDateTime', 'sort-order'=>'DESC', 'count'=>'1' );
perch_blog_custom($opts); ?>
- For list of 5 further posts:
<?php $opts = array( 'template'=>'blog/hp_post_in_list.html', 'filter'=>'postDateTime', 'sort'=>'postDateTime', 'sort-order'=>'DESC', 'count'=>'5' );
perch_blog_custom($opts); ?>
Many thanks for any advice on this.
Want to reply to this thread?
Login with Perch
Just answered my own question! I should have looked closer:
'start'=>'2',
Great!