Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    This is a puzzler.

    Let’s try a few things.

    1. Settings->Permalinks. Re-save the permalinks.

    2. If that doesn’t work. this may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you can install plugins, install “Health Check”: https://wordpress.org/plugins/health-check/ On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Advice from one of the folks in the back room:

    The two categories in his example are “beauty” and “health-tips-5”. Now, if you look at which IDs those categories are using our handy dandy REST API, you find that they are 4931 and 4930, respectively.

    https://www.simple-remedies.com/wp-json/wp/v2/categories?slug=beauty
    https://www.simple-remedies.com/wp-json/wp/v2/categories?slug=health-tips-5

    So, something in his code which generates that page of posts from a category has an off-by-one error somewhere.

    I think that doing the disable plugins / theme thing will help figure out where that might be occurring.

    Thread Starter p4m

    (@p4m)

    Thanks for your instant reply, will try these things and and update you.

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

The topic ‘Posts Showing in Wrong Categories’ is closed to new replies.