Let author only see their posts
-
How can I make it so that an author only sees their posts in the back-end?
-
Not quite sure that I understand … doesn’t setting them to “private” do what you want it to do?
Sorry… I wasn’t clear, here’s what I’m wanting. ??
Author #1 posts something.
It shows up on the site.Author #2 posts something.
It shows up on the site.Author #1 can go to the website and see the post by Author #2, but… if Author #1 logs into the back-end they will only see their post.
As it is now, they can only EDIT their post, but they can see all the other posts by all other authors. I know they can see them if they go to the website, but I want them only be able to see their posts if they login to the back-end.
Does “private” do that?
I thought it would hide it from the published site as well.YEP! That’s what private does. ?? hahaha
Okay… thanks!
Now I just need to figure out how to make “private” the default when someone publishes something. Any ideas on that?Nope.
Spoke too soon.
Setting it to private keeps it from being on the main site.Private: Lets it only be visible on the site when the poster is logged in OR if you’ve got the post levels plugin, then any author that you’ve given the rights to.
Would I be right in thinking that the reason that you want author 1 only to see their posts when they’re in the “edit” screen, is to stop them editing other peoples posts, or is it just to make it easier to find theirs? I’ve just tested a contributor account I have; I can’t edit the posts I made as admin; I can only edit the posts I made as the contributor. I can still see all the admin posts in the list, but can’t do anything with them.
I wonder if you could do some sort of auto category, so that AUthor 1’s posts are automatically in Author 1 category, as well as anything else. Then, from that screen listing all the posts, they could sort by category to find their own posts.It’s just so they can find theirs easier… and it’s the preference of the client that I’m making this website for. ??
He doesn’t want them to be visible. Why exactly, not sure.
The problem with something like “auto category” is there will be 100s of authors (possibly 1,000s), so making all those extra categories would be a pain. Plus, the category list needs to be kept simple.
Thanks for the help.
I think I’m just going to have to tell him not possible.This is the site btw… You can see it’s quite complex for using WP as a back-end. And all these people are going to be posting their own coupons. Search for “Hardees” or “food” or “Cars” if you want to see a few.
Maybe a blog isn’t the best option for what he wants to do….
I am in the same situation.
I would like to register authors from posting “jobs” or “adverts”, but I do not want them to see other author’s posts/jobs/adverts, etc at all.
How do you hide registered authors from seeing other authors’ posts from within the admin area?
I’ve found a plugin that will filter posts so that it will only show it to the author (unless admin);
Plugin Name: WordPress Diary
Plugin URI: https://lewisvance.com/downloads/wp-diary.zip
Description: This plugin restricts each user to only viewing their own posts, unless they are an administrator then they can view all posts.I’ve tried it out, and it does work.
I’ve just realised that the plug-in does not work properly. If you “logout” you cannot see any posts on the public side of the website.
The thing I found that worked was on v2.3.3 you can do this on the “edit-post-rows.php” file at line 14;
if ($userdata->user_level<10) { $posts = query_posts("author=".$userdata->ID); }
This works quite well – but I do not know if it works on later releases.
I also need this capability, and after searching the forum I see lots and lots of others do as well. I need it so badly I don’t think I can use WP for my site without it.
I found a plugin for this today!! And it is simple and it works. I’m surprised I have not seen it discussed anywhere.
It’s called the Manage Your Posts Only in WordPress Plugin. It makes it so every user that is not an admin can only see their own posts in Manage Posts.
The plugin is extremely simple and I was able to improve it a bit with a change to the code (I’m not a PHP guy, so someone let me know if I did anything wrong). I changed the following line:
if ( !current_user_can( 'level_10′ ) ) {
to:
if ( !current_user_can( 'edit_others_posts' ) ) {
So any role that is an editor or higher can see all posts. That includes seeing posts of a higher level than their own, like admins’, but I can live with that to make it cleaner for the Contributor. It’s not technically “editor and above,” it is for anyone who can “edit others’ posts”; out of the box, this is Editor and Administrator, but this can be changed with the Role Manager Plugin.
If anyone has a better way to modify the plugin please let me know.
Now, if we could just get a plugin like this to filter the Manage Comments page, or even take that damn tab off of a Contributor’s panel…
The “Manage Your Posts Only in WordPress” URL is bad. Anyone know where to find this much needed plugin? Thanks!
Just to let everyone know, was able to do the above plugins and everything works. Thanks again.
- The topic ‘Let author only see their posts’ is closed to new replies.