Title: [Plugin: Related Posts Thumbnails] Problem with w3 Total Cache
Last modified: August 20, 2016

---

# [Plugin: Related Posts Thumbnails] Problem with w3 Total Cache

 *  [gxt](https://wordpress.org/support/users/gxt/)
 * (@gxt)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-related-posts-thumbnails-problem-with-w3-total-cache/)
 * Hi,
    I use
 *     ```
       <?php get_related_posts_thumbnails(); ?>
       <?php get_related_posts_thumbnails('random'); ?>
       ```
   
 * because I have two blocks the 1st one loads from all the posts and the second
   one loads random posts so it doesn’t repeat the posts in the two blocks. But 
   When w3 Total Cache is active I have 2 problems:
    **1) It shows into both of 
   the blocks the same posts 2) When the page is reloaded the posts are always the
   same doesn’t change nothing.
 * I tried with fragment caching;
 *     ```
       <!-- mfunc
       <?php get_related_posts_thumbnails(); ?>
       <?php get_related_posts_thumbnails('random'); ?>
       -->
       <!-- /mfunc -->
       ```
   
 * but it prints out some messed up stuff and there’s no posts
    but only this html
   stuff printed like normal text.
 * [http://i.imgur.com/D5L1j.png](http://i.imgur.com/D5L1j.png)
    this is an image
   with the first block with the 4 boxes below there’s another block with 4 boxes
   that shows the same stuff when w3 Total Cache is active
 * p.s. Everything works fine when the w3 Total Cache isn’t activated.
 * thank you very much!
 * [http://wordpress.org/extend/plugins/related-posts-thumbnails/](http://wordpress.org/extend/plugins/related-posts-thumbnails/)

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

 *  [marynixie](https://wordpress.org/support/users/marynixie/)
 * (@marynixie)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-related-posts-thumbnails-problem-with-w3-total-cache/#post-2537491)
 * gxt, plugin tag does not accept any parameters. It does not understand “random”.
 *  Thread Starter [gxt](https://wordpress.org/support/users/gxt/)
 * (@gxt)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-related-posts-thumbnails-problem-with-w3-total-cache/#post-2537493)
 * Hi Maria,
    but it works fine with “random” if the w3 total cache isn’t active…
 * hmm so you tell me that, that may be the problem? wIll try and see without “random”

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

The topic ‘[Plugin: Related Posts Thumbnails] Problem with w3 Total Cache’ is closed
to new replies.

 * ![](https://ps.w.org/related-posts-thumbnails/assets/icon-256x256.png?rev=1602092)
 * [Related Posts Thumbnails Plugin for WordPress](https://wordpress.org/plugins/related-posts-thumbnails/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/related-posts-thumbnails/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/related-posts-thumbnails/)
 * [Active Topics](https://wordpress.org/support/plugin/related-posts-thumbnails/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/related-posts-thumbnails/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/related-posts-thumbnails/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [gxt](https://wordpress.org/support/users/gxt/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-related-posts-thumbnails-problem-with-w3-total-cache/#post-2537493)
 * Status: not resolved