Title: Odd posts by category problem
Last modified: August 14, 2023

---

# Odd posts by category problem

 *  [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/odd-posts-by-category-problem/)
 * Recently I’ve run into a plugin problem I’m having a tough time solving. It involves
   the “Recent Posts Widget With Thumbnails” plugin, however, their support insists
   it must be a problem with our site, and I’m having the same problem with other
   similar plugins.
 * The problem is we that have three widgets set up using the plugin, and they are
   each set to filter by a different category to display a different set of posts
   in each widget.
 * Oddly, when I’m logged in, and look at the front end, they display the proper
   posts. When logged out, however, they all show the same posts, from the same 
   category. Since logged-in users typically don’t see a cached version of the site,
   I thought it could be a caching problem, but it doesn’t seem to be.
 * If you go to the website, you can see that in the main column, posts are shown
   with the plugin widget, displaying the headlines and excerpts. In the sidebar,
   the plugin widget is used again to display posts of a different category. However,
   you can see the headlines are the same, and link to the same posts.
 * I’ve investigated this in every way I can think of. I’ve tried another theme (
   twentytwenty), deactivated all other plugins, flushed the browser cache, checked
   error logs, etc. We are not using any caching plugin at the moment, and I’ve 
   checked with the website host, they are not caching the site.
 * Perhaps it has something to do with the latest WP core version, as it seems to
   have started around the time we updated to that. The site uses PHP 8.2, and legacy
   widgets, since we use the Widget Options plugin to display certain widgets on
   certain pages. (When I deactivate all other plugins, this one is also deactivated,
   so that rules it out as the problem.)
 * Since I’ve tried the above ways of investigating the problem, and nothing seems
   to help, I am posting here in hopes that someone can help with ideas for troubleshooting
   it.
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fodd-posts-by-category-problem%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/odd-posts-by-category-problem/#post-16972731)
 * [https://wordpress.org/support/topic/widget-suddenly-wont-display-the-chosen-category-when-logged-out/](https://wordpress.org/support/topic/widget-suddenly-wont-display-the-chosen-category-when-logged-out/)
   
   That thread at the plugin’s dedicated support shows `"RESOLVED"` status!
 *  Thread Starter [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/odd-posts-by-category-problem/#post-16973105)
 * But if you read what they wrote, they basically say it’s not their problem, not
   their plugin’s fault. I agree, actually, it’s something else. This is why I’m
   submitting the issue here, just hoping for some help troubleshooting the issue.
 *  Thread Starter [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/odd-posts-by-category-problem/#post-16975721)
 * Update: I’ve implemented a custom solution, using our functions.php file to add
   a shortcode that will show the category posts we want in a widget. So, if you
   go to the link now, you won’t see the problem I described. However, the mystery
   remains as to why this isn’t working with the plugins (“Recent Posts Widget With
   Thumbnails” and another I tried).
 * I’d still like to solve the problem, as the plugins are a better, more configurable
   solution than my custom patch. I suspect it has something to do with the fact
   that we use legacy widgets, but I’m not sure.

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

The topic ‘Odd posts by category problem’ is closed to new replies.

## Tags

 * [conflict](https://wordpress.org/support/topic-tag/conflict/)
 * [post categories](https://wordpress.org/support/topic-tag/post-categories/)
 * [widgets](https://wordpress.org/support/topic-tag/widgets/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 3 replies
 * 2 participants
 * Last reply from: [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/odd-posts-by-category-problem/#post-16975721)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
