PHP Classes

How can WordPress Hide Posts in Admin of Other Authors Using the Plugin WP Admin Hide Others Posts: Hide posts by other WordPress authors

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2025-03-13 (3 days ago) RSS 2.0 feedNot yet rated by the usersTotal: Not yet counted Not yet ranked
Version License PHP version Categories
wp-admin-hide-others 1.0GNU General Publi...5PHP 5, Content management, Blogs
Description 

Author

This package can hide posts by other WordPress authors.

It provides a WordPress plugin that implements a new permission named view_others_posts to restrict the access to posts of other authors in the same WordPress site.

WordPress authors without this permission can see statistics of their own posts.

Picture of TJ Webb
Name: TJ Webb <contact>
Classes: 8 packages by
Country: Canada Canada
Innovation award
Innovation award
Nominee: 4x

Details

WP Admin Hide Other's Posts

Contributors: webbtj Donate link: http://webb.tj/ Tags: admin, posts Requires at least: 3.5 Tested up to: 3.5 Stable tag: 1.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html

Hides posts by other authors in the admin area, manageable with a "view_others_posts" permission

Description

This plugin creates a new permission, "view_others_posts". When viewing the posts lists in the admin area, users without the "view_other_posts" permission will only see there own posts, not the posts of other users. Additionally the counts at the top of the post list (All, Published, Drafts, Trash, etc.) will only count posts which belong to the current author.

Installation

  1. Extract wp-admin-hide-others-posts.zip
  2. Upload `wp-admin-hide-others-posts/` to the `/wp-content/plugins/` directory
  3. Activate the plugin through the 'Plugins' menu in WordPress

Frequently Asked Questions

Can I allow certain users to view others posts?

Yes, the plugin creates a new permission view_others_posts which can be enabled for any user group.

Does this prevent authors from editing each others posts?

No, WordPress has it's own mechanisms for determining who can edit which posts which can be managed with permissions.

Does this affect who can view which posts on the front of the website?

No, this only alters the list of posts as viewed in the admin area.

Changelog

1.0

  • Initial Release

1.1

  • Added settings interface to allow an admin to decide which post types will be filtered.

  Files folder image Files (3)  
File Role Description
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file readme.txt Doc. Documentation
Plain text file wp-admin-hide-others-posts.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads  
 100%
Total:0
This week:0