Slider items part random part latest posts

Viewing 2 posts - 1 through 2 (of 2 total)
  • #3020
    Draaideur
    Participant

    Hi every one. Since I have many posts on my site I want to limit the slider to only four items instead of all those slider pages. Two of these items should be containing the latest posts and two should be containing random selected posts minus the two latest posts to give the older items a chance to be on the homepage.

    At this moment I have random selected posts using [code]<?php query_posts(‘orderby=rand’); ?>[/code] in the loop-slider.php file. Any ideas how to achieve this? See http://www.janjaapvanassen.com

    #3021
    Draaideur
    Participant

    No ideas? I would really appreciate it

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.