The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
9 views

Add capability to a role , so user is only able to view his own posts

I have created a user role vendor. Right now i am able to give the capabilities to the users, to be able to only edit,delete etc But then the user sees all the posts irrespective of who is the ...
0
votes
0answers
14 views

Hide All Published Posts from edit.php Paged

I am using AIT directory wordpress theme and customizing it. What i did till now is, created a custom post type similar to that came with theme, Now, all things are working correctly except one ...
0
votes
1answer
16 views

Custom Role accessing the wp-option table

I'm using a plugin that create an additional record in the wp-option. Everything is great with the admin account, the record can be save and update. But I'm stuck with allowing one of the custom role ...
0
votes
0answers
13 views

Practical limit on number of roles

I'm building a wordpress site that uses buddy press and a BP extension called BP Activity Privacy (BPAP). What the BPAP plugin does, is allows the user to set privacy settings for posts to the ...
-1
votes
1answer
25 views

How to allow Contributors to publish articles after approval

I am trying to make a website with similar functionality to tutsplus (its a tutorial website where anyone can post a tutorial). I thought it would be best to use WordPress and set the default role to ...
0
votes
1answer
57 views

Private page protected with username and password

We are building a WordPress site where one of the pages needs to be accessed via username and password. I know that I can create a "Private" page, where the user can enter a password to view. ...
5
votes
1answer
78 views

How to allow an user role to create a new user under a role which lower than his level only?

I have three extra roles in my site. Doctor Receptionist Guest those roles are added by following code: * adding Doctor role */ $doctor_role = add_role( 'Doctor', __('Doctor'), array( ...
0
votes
0answers
27 views

Disappearing menu items in dashboard once the CPT post get published by Admin

I have created a custom post type, say, 'Challenge'. I have also created some new user roles, on of the user role is 'evaluator', this role has capabilities some what like default 'Contributor'. The ...
0
votes
1answer
43 views

Prevent author role from editing others posts

I have created a custom post type "Extension" and a role "Extension Author". A user in this role should only be able to edit his/her own extensions. As it is now the user can click "edit extension" ...
0
votes
0answers
5 views

Created blog but did not visit the site: roles not defined

I am encountering a problem. I am on a multisite setting and I would like to create a blog and then before visiting them want to count how many users with certain roles are included in that site. So, ...
0
votes
0answers
51 views

display media files under admin based on users and directory

A small description on Plugins used: I am using <a href="https://wordpress.org/plugins/media-file-manager-advanced/">Media File Manager Advanced Plugin </a> to organize my uploads ...
0
votes
1answer
34 views

Manage Roles and Capabilities on Multi-site

I am trying to enable some features for Subscriber user role in a eCommerce theme where originally had be set for Admin role and I like to modify that. I tried AAM plugin but for this specific site ...
0
votes
1answer
38 views

Editor Widget Role

i need to give to editor role the access on widget (or if possibile on a specific widget). I use the code on this question and function but i have a problem. The editor can see the widget and also ...
0
votes
1answer
22 views

Disallow “contributors” to edit their own posts once they've been set to “Pending Review”

My question is exactly what is in the title: how can I disallow "contributors" to edit their own posts once they've been set to "Pending Review"? I can't seem to find any documentation on how to do ...
1
vote
1answer
53 views

Toggle User Roles with button

I don't know if this is possible, but I've got two user roles: Hero and Legend. When people subscribe to my website, they're assigned the Hero user role. I would like to be able to toggle users to ...
2
votes
1answer
97 views

Disable posts, only allow to edit existing pages, not create new ones (create_posts)

I am trying to limit a user role to only be able to edit existing pages, but not create new ones or do anything else like anything with posts. I have read this: Is there an existing capability to ...
0
votes
0answers
72 views

Search results show only content by admin post authors

In my current wordpress project there is an issue with search results. The project includes users of a custom role competitor who are able to upload images in the media library. Since ...
0
votes
1answer
97 views

Restrict access to options-*.php pages

I have a custom role named manager with manage_options and read capabilities , i want to restrict him not to access Settings menu, you may say remove manage_options capability but that's not the case ...
0
votes
1answer
56 views

How to show a gloabl message on a user profile page (in back end)?

I want to show a global message for all users in their profile page. I do not want to edit profile.php what is the hook to do this? Basically I want to add a div to show a paragraph below the ...
1
vote
1answer
79 views

How to create a profile page for specfic / custom user role members?

I am trying to create a profile page for every user if his / her role is a custom role. Ive created a custom role in my site. Now this is the default role is assigned to the members when they ...
0
votes
0answers
161 views

Failed to Register WordPress Custom User Role via Ajax Submit Form

I edited my WordPress site custom registration page. I've added 2 new user roles: Employer Agent I renamed default WordPress Subscriber role to Job Seeker. And, this Job Seeker role has all the ...
0
votes
0answers
600 views

Add Media Upload Capabilities Needed for Custom Role for non-Posts

I finally managed to update an old WP 3.3.1 site to WP 4.1 with few issues, but one unexpected change seems to have come about with relation to file uploads. In the WP 3.3.1 version of the plugin, I ...
0
votes
0answers
83 views

Restrict Users of Specific Role to One Page

I have created a custom role for some of the users of the site I am working on. Unfortunately the WP Capabilities ties edit_pages in with create pages so if I allow users of that role the capability ...
0
votes
1answer
15 views

creating different edit screens for different roles

I have created a custom post type and custom role, created the proper capabilities and assigned them so the new role and see and edit their own ctp's entries... but I'd like to create a customized ...
3
votes
2answers
418 views

Add role that restricts user to post in specific category

I'm trying to create a role that restricts the ability to post to a specific category, hiding the other from the checkbox. I don't want to use plugins. I'm looking for a snippet to put in ...
0
votes
1answer
75 views

add_role menu pages are not visible

I added a custom role this way: add_role( 'tabellenadmin', __( 'Tabellenadministrator' ), array( 'activate_plugins' => true, 'delete_others_pages' => true, 'delete_others_posts' ...
0
votes
1answer
43 views

Default taxonomy 'post_tag' added to CPT managing by custom role : nothing in the metabox

I've created a Custom post type, which a custom role can manage : it has only the capabilities for managing this CPT. When registering the CPT, I've set the argument : 'taxonomies' => array( ...
0
votes
2answers
27 views

Custom Roles for access to specific term(s)

I'm looking to create a membership-only site which will serve to display logged-in users their company's stored documents. I have a custom post type named Boxes. I have a custom taxonomy called ...
0
votes
0answers
33 views

Restrict all possible back end options for users

I was looking around for the best BACK END user restriction plugin. I could not find a plugin that is capable to restrict ALL POSSIBLE AND SINGLE OPTIONS. They all allow you to restrict basic options ...
0
votes
1answer
144 views

Create custom role, multisite, add users/sites?

I have seen similar questions however the one I found asking a question close to this was never answered. I am attempting to create a role for our support team on our MultiSite install where they ...
0
votes
1answer
123 views

How to publish custom post type for custom role user and not “submit for review”?

I've created a custom post type 'openproject', where i set capabilities. function custom_post_openproject() { $labels = array( 'name' => 'openproject', 'add_new' => 'Add new ...
0
votes
1answer
50 views

CPT, Custom User Role and problem with user manager

i've create a custom user role using this code: /* aggiungi ruolo */ add_role('brokers', 'Brokers', array( 'read' => true, // True allows that capability 'edit_pages' => true, ...
1
vote
0answers
38 views

Custom Field to a Role?

Is it possible to add custom field to a custom role? Say I want to create roles that represent a membership level and want to add billing options to it. So it'd look like this: Membership level ...
0
votes
0answers
70 views

How to filter user list by role on page template

The template below displays a directory of restrict content pro users. It works just as it should. I'd like to now filter these results based on custom role (let's say "member"). I thought I could add ...
2
votes
0answers
67 views

What's the difference between Role and Meta capabilities; When to use map_meta_cap() filter

I'm getting very confused about the following things: difference between Role and Meta capabilities, difference between Meta and Primitive capabilities, when to use map_meta_cap() filter. There ...
0
votes
1answer
132 views

Add role and edit page capabilities

i've create a new user role and i want this user can edit page and use custom post type. For custom post type i've resolve but for the page not function. On backend the user can only see the page ...
0
votes
0answers
43 views

Adding post tags without capability edit_posts

I have a custom role called Event Contributor whose capabilities are limited to the post type "events". The role does not have the capability "edit_posts". The post type "events" has custom ...
0
votes
0answers
150 views

Assign Role and capablitis on frontend registration

I have created 2 custom roles "customer" & "employee" form admin "members" plugin. I am trying to assign these to user registering for site according to options (customer & employee) they ...
0
votes
1answer
177 views

Custom post type media upload error with custom user role

I have created a custom post type named product and assigned a new role manager for it. Everythign works fine, except the media uploader for product. I can even upload images without any error ...
0
votes
1answer
25 views

Limit roles displayed in users.php depending on custom role

I have setup my WordPress installation with a custom role called 'regional_manager' I have given this role the capability to add_users and managed to create a custom snippet for my functions.php file ...
1
vote
0answers
52 views

Add custom role across network in multisite

Maybe this is a duplicate of Add role across network in multisite, but the answers there are not conclusive so I'm asking again. Any help would be deeply appreciated. I'm trying to add two new ...
2
votes
2answers
180 views

How can I prevent a writer from being able to edit an article that has been scheduled?

In the old WordPress that I had, the writer (a type of user that could not publish) was, after an article was schedule, unable to go back to the article and edit it. But now in WordPress 8.1 they (the ...
0
votes
1answer
353 views

Assign multiple roles , overlapping capabilities

What happens if i assign let's say 2 different (custom) roles to a user that both of which have the same (custom) capability?
1
vote
1answer
69 views

Ability to only view (not edit) other user's personal profile information

I have created 2 roles, Center and Student, for my WordPress website with different capabilities using members plugin. I want the student role users to be only able to view and edit their personal ...
0
votes
2answers
556 views

WordPress edit_user_profile_update update secondary role

I am trying to save secondary role field in user-edit.php which is independent of WP's main roles. I had no problem with saving other custom fields that are unique but for roles (wp_capabilities), it ...
0
votes
1answer
29 views

Letting users create a post that is a custom post type from a page

I'm trying to create a kind of "Request for Proposals" system for a blog that belongs to a client of mine. I'm not too sure how to go about this, but so far I've outlined this much.. I know there ...
1
vote
0answers
296 views

Custom role conflict with NextGen-Gallery [closed]

EDIT: I've discovered that on a clean install of Wordpress and a reset database, the NextGen plugin appears to return this error with any standard Wordpress role except Administrator. Perhaps I ...
0
votes
2answers
191 views

Prevent user from editing others posts

I have declared a new post type and it is visible on the admin menu: function create_post_type() { register_post_type( 'employer_fm', array( 'labels' => array( 'name' => ...
0
votes
1answer
236 views

Permission to change post Author

I am trying to create a "limited admin" but I cannot manage to give this user rights to change the author of posts. The regular administrator can see the dropdown option to change author from both ...
0
votes
1answer
33 views

Is there a way for a limited user to just view the page of a post without being able to edit it?

I have multiple types of users using WordPress. One type is contributor. Right now they can't publish a post, it as to be the Admin or Editor. The problem I have is after the article is publish the ...