WordPress shows a count of published items on the site, but the items are not appearing when you click on the "published" link.

enter image description here

It's showing 39 published posts but when I click on published link, it's not even showing a single post.

  • 1
    I'd guess some of your plugins are filtering the items out. I'm not really sure what to suggest: check the SQL queries the page is using e.g. with the Query Monitor plugin, or disable plugins to see if that removes the code that's filtering them out.
    – Rup
    Commented Jan 4, 2023 at 12:00
  • 1
    Maybe LearnDash is hiding things if you don't have a current license? I don't know it
    – Rup
    Commented Jan 4, 2023 at 12:01
  • 2
    have you written a pre_get_posts filter somewhere or an SQL filter to change something on the frontend? Or used the query_posts function anywhere in your theme or plugins?
    – Tom J Nowell
    Commented Jan 4, 2023 at 13:03
  • Actually, even after deleting the posts from the dashboard, they are still in the database. I just deleted it from the database and the problem is solved.
    – tek bhatt
    Commented Feb 1, 2023 at 7:49

1 Answer 1


In my case, deleted posts from the dashboard were not deleted from the database. After deleting unnecessary posts from the database my problem is solved.

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.