Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #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!



    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.


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



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

    Good luck!



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

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