You can use a filter to pre_get_posts so that only your posts are listed. Something like this:
function my_posts_only( $query ) {
global $pagenow;
if ( 'edit.php' != $pagenow || ! $query->is_admin )
return $query;
if ( ! current_user_can( 'manage_options' ) ) {
global $user_ID;
$query->set( 'author', $user_ID );
}
return $query;
}
add_filter( 'pre_get_posts', 'my_posts_only' );
Related Posts:
- Hide comments awaiting moderation from user who submitted the comments
- how to find user ids of all commenters in a post
- count the total number of comments the user has received for his published posts
- How to allow logged in users to post anonymously
- Add new post only in assigned category
- each user having category with their name and can add sub categories post in that category
- Undefined Function Fatal Error with Shortcode [closed]
- How to allow Contributors to edit their own posts, whilst still needing to be reviewed by an admin?
- Update post counts (published, draft, unattached) in admin interface
- How to make comments work for a post loaded per Ajax?
- How to Display a List of Users Who Have Made at Least 1 Post?
- Allow user to “edit_others_posts” to save only, not publish
- Find out who deleted a page or post?
- Allow variable amount of comments before pagination
- WordPress: How to get the current logged in author page URL?
- get comments and get posts in loop
- disable password protected page for logged users
- How to limit user to publish post per day and per role?
- Add role that restricts user to post in specific category
- How to display comments and comment form on custom post type?
- Force “Submit to review” when a post is updated
- Comments are assigned to wrong or related post
- How can I allow editors to leave comments on posts that have not yet been published?
- Update post date on every new comment?
- One comment per user email per post
- Remove Posts Quick Edit link for specific user role? WP 3.3
- Can’t show comments count per post outside loop
- Only display posts with comments
- Overview with latest edited posts and pages
- Navigation link to specific user page
- Comments enabled, but disabled at the same time
- Comments not showing in custom post type – WordPress
- Get how many days since last post of the current user
- How to output comments number of a post per day?
- Enable commenting on front-end preview page for pending posts
- Allow role to delete posts but block him the wp-admin
- Query All users that has post
- Multiple authors for single post without plugin
- Limit number of posts a user can make per minute?
- How do I allow users to follow a post and then allow admins to email all users who have followed that post?
- wp_insert_post let users post to without login…broke
- If specific user role then sticky post
- Hide Post comments when displayed via WP_Query
- Get user’s most published categories
- Including new Javascript only after a comment is made
- Allow anonymous users to post to my site for moderation
- Disable Post/Page comment emails for creators
- Display posts with comments closed, with pagination?
- Why is WordPress redirecting users to random posts after commenting?
- How to get most recent commented post above new submitted post in WordPress?
- disable column on post and user list
- When trashing a post, also trash related comments
- Downgrade user from role that allows post creation
- Remove the Edit button in posts for permalinks on certain user roles? WP 3.3
- How to list users and their post amount?
- Diplay comment date on WP_Post_Comments_List_Table
- Is there any way to allow users to access content before it’s published?
- UberMenu list current user’s posts as menu items
- Posts vs. Pages
- Create post for every user?
- Posts with multiple authors with different roles
- How to Orderby Comments by post title?
- Restrict users post for himself
- If modified on same day, show only time
- Allow public to post on blog
- Email entire post contents
- Update a users role based on number of posts published
- Query get post,how to add comment box
- current post with current author
- Change user role when post approve
- Hiding posts by other users and non-logged in
- Stop users posting into category while still seeing contents of the category
- User capability for editing their own comments
- Update all comments time to random dates?
- How to verify wp user password by sql query in wp? [closed]
- How to allow users to post only in certain category and hide elements from edit page?
- Enable Comments Box On Custom Post Type
- How can i delay reading posing in 3days for not logined user?
- Encountering “Wrong nonce. Action prohibitied.” when trying to alter User Role and unable to Post via WP Admin
- Turn On Comments On Custom Post Types in Directory Theme
- Emojis replaced by ‘?’ automatically
- Post visibility based on user role
- Move comments only from one WP installation to another
- “edit_published_posts” and “edit_other_post” issue
- Second comments section for one post/page
- Users problem (multi-author plus multisite)
- A friend wants to make a comment on one of my articles, she has to be logged to wordpress?
- User levels and post visibility
- Get all images in post and comments like Twitter before post title
- Is it possible to paste a link without tags and make it directly a link in a post?
- Showing author page if user has no post
- Customizing Comments on Posts
- WordPress Comment posting problem
- What do comments with […] mean?
- How do I manage my users post before publish?
- What do these phpMyAdmin errors mean on my WordPress databaes?
- Internal post link creates comments on its own
- How do I retrieve a users’ last 5 posts?
- Gather posts into a cart/lightbox and share with another user
- How to get posts and comments amount per hour, per year and per month?