WordPress.org

Ready to get started?Download WordPress

Forums

Post Tiles
[resolved] Randomize tiles (4 posts)

  1. blnd
    Member
    Posted 1 year ago #

    Is it possible to randomize the tiles instead of having it ordered by latest post?

    http://wordpress.org/extend/plugins/post-tiles/

  2. ethanhackett
    Member
    Plugin Author

    Posted 1 year ago #

    You should be able to edit line 379 which looks like this.

    $the_query = $posts_query.$cat_query.'&paged='.$paged;

    And replace it with this

    $the_query = $posts_query.$cat_query.'&paged='.$paged.'&orderby=rand';

    Keep a note of what you modify in the plugin because these changes will be overwritten once you update the plugin.

  3. blnd
    Member
    Posted 1 year ago #

    Thanks ethan!

  4. ethanhackett
    Member
    Plugin Author

    Posted 1 year ago #

    Glad it helped. If you like it is love it if you could rate it. :D

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.