Tagged Questions
1
vote
2answers
61 views
Downgrade user from role that allows post creation
I am an admin of a multi-author blog. I am implementing a monitoring system which will require me to downgrade a user from an 'author' (this role allows them to make a custom post) back to the ...
0
votes
1answer
45 views
Enable comments for post when comments meta box removed
I've hit the issue described in '11:
"Enable comments for post with comments meta box removed" and I'd like to ask for your help to adapt the mentioned there code to the current wordpress version.
I ...
6
votes
2answers
110 views
How to prevent a post from being deleted?
For auditing issue, I only want a post can be trashed, but not deleted - for all users.
So I have a plugin like
add_action('before_delete_post', function($id) {
wp_die(0);
});
But ...
0
votes
1answer
32 views
Authors can edit all posts, except when an owner is specified?
I'm trying to do as follows:
All users can edit all posts from other authors (sort of wiki)
Some posts have an "owner". When owner is specified only this user can edit the post.
Do you have any ...
1
vote
2answers
2k views
Limit access to posts/pages by user roles
I'm looking for a way to protect content by user roles.
Example:
you have to be registered to view posts (frontend).
If a user is a subscriber he can read post 1, 2 and 3, but if the user is a ...
1
vote
1answer
151 views
Update a users role based on number of posts published
I am trying to update a users role based on number of posts published when the user publishes a new post. I have tried this code but it does not work.
add_action('publish_post', ...
2
votes
1answer
931 views
How to limit user to publish post per day and per role?
I would like to know is there any way/Plugin to limit the user published post (in a given time span) by his role?
Like this:
Role A -> 1 post per day and 30 post total.
Role B -> 10 post per ...
0
votes
3answers
622 views
Remove the Edit button in posts for permalinks on certain user roles? WP 3.3
I am using Wordpress 3.3.2 with the following plugin:
- http://wordpress.org/extend/plugins/advanced-access-manager/
The plugin works perfectly but the author said there is currently no way to ...
0
votes
1answer
271 views
Remove Posts Quick Edit link for specific user role? WP 3.3
I am using Wordpress 3.3.2 with the following plugin:
- http://wordpress.org/extend/plugins/advanced-access-manager/
The plugin works perfectly but the author said there is currently no way to ...
0
votes
1answer
140 views
each user having category with their name and can add sub categories post in that category
I am looking for help or plugin for the following conditions of my site
I am using wordpress 3.0+ version.
my site is about School where students will get register and post their experience and ...
0
votes
1answer
78 views
WordPress strips some attributes for author posts
I added template to my WP posts, so when you click Add New content area alreday with text.
Template smt. like this
<div id="myDiv"><p>Add your text here</p></div>
If user ...
0
votes
1answer
370 views
Show 10 latest posts only from users with contributors role
How to achive this in sidebar.List of 10 latest permalinks(post titles) from contributors ?
0
votes
1answer
290 views
Enable comments for post with comments meta box removed
I have created a custom post type in a plugin for a site I'm working on. I'm allowing users assigned a custom role to add/edit/delete the custom post type. I would like to give these users as little ...
2
votes
1answer
614 views
Allow user to Edit Posts but not Add New?
For one of my custom post types I want a specific user to be able to edit existing posts created by admin but not be able to Add New posts.
How can this be done?
If I define the user role as not ...