Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #391

    Hi Kriesi,

    Thanks for this theme. . . it’s awesome!

    I am populating my mainpage columns with posts, and would like the option to shuffle random posts in the columns (instead of displaying the most recent posts).

    Is this possible?

    FYI, I’m using posts from three different categories.

    Thanks for your support!

    -meltedarts

    #31166

    Not without rewriting the way that the posts are called.

    At the moment, the query is for one post which is the latest.

    You would have to select how many posts you wanted to call (eg 5) and then add orderby=RAND to the query string to get a random post. The other 4 posts would be discarded.

    #31167

    Thanks, James. Which file(s) would I need to rewrite?

    #31168

    Hi!

    You’ll find the code in /framework/classes/kclass_display_box.php if you want to look into rewriting it.

    Good luck!

    Regards,

    James

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

The topic ‘Random Posts in Mainpage Columns?’ is closed to new replies.