How to Show or Hide Other Users’ Posts in WordPress

Show Hide Posts

By default, WordPress users in the admin area can see all the Posts on the site, regardless of whether they are the author.

This is not a problem for many sites. After all, most Posts on most sites are publicly available – there's no need to hide them.

However, in some situations, site owners don't want authors to see the Posts that other users are working on.

Fortunately, there's an easy way to solve this problem thanks to PublishPress plugins.


How to hide other users' posts

Hiding posts from other users is straightforward. You can do it by installing the PublishPress Permissions Pro plugin.

After installing PublishPress Permissions Pro, this plugin will hide all the Posts from other users. When users in the “Author” role go to the “Posts” screen, they will now only see their posts.

What this means is that users won't be able to see any posts that they can't edit.

The image below shows what a user in the Author role can see on a WordPress site before PublishPress Permissions Pro is installed and correctly configured.

All Posts
All Posts

And this next image shows what the same user sees after the plugin is activated and configured. Notice that the numbers across the top of the screen have changed. For example, “Published” has dropped from 3 to 1.

Only My Posts
Only My Posts

This setup is fully compatible with the PublishPress Authors plugin so you can still safely assign more than one author to a post.

It is also possible to block users from seeing other people's files in the WordPress Media Library.


How to show other users' posts

The PublishPress Permissions plugin will hide non-editable posts for all users.

You can restore this option for some user roles by installing the PublishPress Capabilities plugin.

With this plugin, you can add extra permissions for user roles, including these:

  • list_posts: View posts that you can edit.
  • list_others_posts: View posts that you can not edit.
  • list_pages: View pages that you can edit.
  • list_others_pages: View posts that you can not edit.

You can set up similar permissions for any post type. For example, this would cover a post type called “Events”:

  • list_events
  • list_others_events

Here's how you can configure these permissions:

  • Go to “Capabilities” in your WordPress admin menu.
  • Choose the user role you want to edit:
Select Role
Select Role
  • Enter the new permission into the “Add Capability” box.
  • Click “Add to role”.
List Others Posts
List Others Posts
  • Scroll down and make sure that the box is checked for your new permission.
  • Click “Save Changes”.
List Others Post Checked
List Others Post Checked

In the steps above, I've modified the Authors role that we discussed earlier in this tutorial. This new screenshot shows what Authors can see now that they have the list_others_post permission. They can see posts written by other users, but can not edit them.

Updated Authors
Updated Authors

More on permissions in the WordPress admin area

If you're curious exactly what users can see inside your WordPress admin area, check out these guides:


Get all the power of PublishPress

Get a PublishPress membership today for full access to all our publishing and permissions plugins.


Comments (4)

  • I have tested out this plugin but it seems unreliable.

    An editor is also not able to view other posts. Only an admin can do that. Editor roles group should also authorize to see and edit other posts like admin.

    Hey PublishPress, can you suggest any other plugin for the same or let me know how to allow editors to see other post with this plugin?

    Thanks for the information.

  • This plugin is Great..

    But, can you help me. The problem with the plugin mentioned above is that it only allows administrators to view all posts. My question, how to allow Editors to view and edit all posts with this plugin?

    Thanks you….

  • This method is quite helpful. What if I want to allow a selected user to view and edit another author’s posts? Could you please recommend some solutions? Thank you.

Leave a Reply

Your email address will not be published. Required fields are marked *

Professional publishing plugins for WordPress! Get PublishPress