I had just taken over this page from web developer and I am a bit of WordPress newbie.

I created a category for posts so we can have posts broken out by category and have one page for each category.

I created two test posts for the category and when I go to the category page I get "No Posts Found" error. Can anyone point me in the right direction here?

  • Share your archive.php code here with us.
    – CodeMascot
    May 23, 2017 at 5:49

1 Answer 1


A few things to check:

  1. Did you publish the posts publicly? If you're publishing in one browser and viewing in another, and you publish a post as a "draft" or "private," then you won't be able to see the post in the other browser.

  2. Are you cached? Try viewing in another browser, and also empty any server-side caches that may be on (check in your plugins and with your web host - sometimes there's a plugin screen where you need to dump the site cache; other times the hosting CPanel has a cache flush option).

  3. Switch to a default WP theme, like Twenty Seventeen, and see if you still have the issue. If there's no issue in the default theme, then you'll need to check your theme files. If there's also an issue in the default theme, there may be a problem with your permalinks - go to Settings > Permalinks and see what they are set to for categories. Perhaps the URLs you're using aren't the right URLs to access the categories.

Once you've checked these, post back and hopefully we can get you further down the troubleshooting path.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.