WordPress.org

Ready to get started?Download WordPress

Forums

Custom Loop Question (1 post)

  1. kortschot
    Member
    Posted 3 years ago #

    Hi there people,

    I got a page, with a slider on top and thumbs below. Slider views 5 posts while the thumbs shows the rest of the post in the same category.

    I want the thumbnails not to be paginated, however when I set the second query to:

    post_per_page=-1&offset=5

    the offset is not working. But when I remove post_per_page=-1 from the second query the thumbs inherit the post_per_page from the slider.

    I am creating this theme by myself using as less plugins as needed, so I don't want this page to be generated and more important, dependent by a plugin. So far I did everything by my self from scratch... but with this I need a PHP'er advice.

    Hope one of you can advice.

    With Kind Regards,
    Paul

    pagecode
    http://pastebin.com/THJKQXXU

Topic Closed

This topic has been closed to new replies.

About this Topic