Title: After last update
Last modified: August 21, 2016

---

# After last update

 *  [AviBadash](https://wordpress.org/support/users/avibadash/)
 * (@avibadash)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/after-last-update/)
 * I’m using this nice widget like a script in my pages and posts.
    It’s worked 
   very fine. After last update I see my posts are NOT random even I setup the script
   to make random posts. It’s loading the last posts. What’s happen?
 * [http://wordpress.org/plugins/list-category-posts/](http://wordpress.org/plugins/list-category-posts/)

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

 *  Plugin Author [Fernando Briano](https://wordpress.org/support/users/fernandobt/)
 * (@fernandobt)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/after-last-update/#post-4387518)
 * 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](https://wordpress.org/support/users/avibadash/)
 * (@avibadash)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/after-last-update/#post-4387519)
 * 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](http://wordpress.org/support/topic/list-category-plugin-fails-randomly?replies=5)
 *  Plugin Author [Fernando Briano](https://wordpress.org/support/users/fernandobt/)
 * (@fernandobt)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/after-last-update/#post-4387520)
 * 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.

 * ![](https://ps.w.org/list-category-posts/assets/icon-256x256.png?rev=2517221)
 * [List category posts](https://wordpress.org/plugins/list-category-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/list-category-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/list-category-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/list-category-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/list-category-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/list-category-posts/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Fernando Briano](https://wordpress.org/support/users/fernandobt/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/after-last-update/#post-4387520)
 * Status: not resolved