Trending widget | WordPress.org

Hi @dimalifragis,

Trending Posts? As in the Trending section from the Stats screen on the admin dashboard?

Thread Starter
dimal

(@dimalifragis)

Hi,

Yes exactly. I fail to replicate the same results. The Trend in my dashboard show 2 posts right now and the widget shows whatever … some same … some different, definitely not the same.

Try this:

  1. Go to Appearance > Widgets > [Your Sidebar] > WordPress Popular Posts.
  2. Set Time Range to Custom, and save changes.
  3. You’ll see two new time-related fields. Set them as 1 Hour, then save changes.
  4. If you want your widget to display the exact same posts as the “Trending” section from the Stats screens then go to Settings > WordPress Popular Posts > Tools and set Data Caching to Never Cache. Keep in mind that this might have some performance impact on your website because your popular posts list will be updated in real-time (the popular posts data is not being cached anymore). If you have a low/mid traffic website this shouldn’t be an issue though.

Additionally, if you’re using a caching plugin:

  1. Go to Settings > WordPress Popular Posts > Tools.
  2. Make sure that the Ajaxify Widget option is set to Enabled.
  3. Go to your caching plugin’s settings page and clear its page cache.

Thread Starter
dimal

(@dimalifragis)

That 1 hour thing, did the trick.

Thank you!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Your Advertisement Here