I mean, by default. I would like the slider to behave/position on pages and with pages, as it currently does with posts.
I don’t think this is possible because you need to adjust the post per page number manually but if you know the exact number you can use following code:
$additional_loop = new WP_Query(array('post_type' => 'page', 'posts_per_page' => 5));
Thanks for your reply. This is probably a little over my head so let’s try this.
I love the accordian slider and would like to build a site with pages that features the accordian slider on all pages. I would also like the site to include a blog. I don’t mind if the posts aren’t included in the slider. The home page for my site will be a static page.
Do you perhaps have another more suitable template that could achieve this? I love your templates and don’t want to change over to another provider.
The topic ‘Newcast – include all pages and posts in slider’ is closed to new replies.