Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Fernando Briano

    (@fernandobt)

    I haven’t been able to reproduce this issue. Did you install a caching plugin or similar?

    I’m using a widget on my development box selecting “Random” on the “Order by” field, and the order of the posts is random. I also checked with a shortcode and it’s still working as expected.

    What other parameters are you using?

    Thread Starter AviBadash

    (@avibadash)

    Hi,
    There is no any caching plugin/
    It’s the same problem in some sites.
    The old version of your plug make random posts but the new don’t.

    Here is my code in the pages(I didn’t check in sidebar):
    [catlist name=”your-category-goes-here” excerpt=yes excerpt_size=10 excerpt_strip=no thumbnail=yes thumbnail_size=200,200 thumbnail_class=”alignleft” title_class=lcp_title numberposts=3 orderby=”rand“]

    I see here the same problem:
    http://wordpress.org/support/topic/list-category-plugin-fails-randomly?replies=5

    Plugin Author Fernando Briano

    (@fernandobt)

    The other topic has a different problem, not with order by random.

    I found this might work by adding this:
    remove_all_filters('posts_orderby');

    Since I can’t reproduce the issue, could you please edit the plugin on your WordPress instalation and see if this fixes it? Edit include/CatList.php and on line 153 add the code I wrote, so it would look like this:

    remove_all_filters('posts_orderby');
    $query = new WP_Query;

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘After last update’ is closed to new replies.