0
votes
1answer
15 views

Hide some portion on single.php base on author

I would like to hide some portion in view post base on author. My requirement is that I have an job board theme and user can post the job. So there is "How to Apply" section in detail page. Now, I ...
3
votes
1answer
77 views

Deactivate plugin for a specific user group

I would like to deactivate a plugin for a specific user. I'm using the following code inside a the wp-content/plugin-mu plugin file: add_filter( 'option_active_plugins', 'bo_disable_apm_plugin' ); ...
1
vote
1answer
46 views

How can I modify the Capability needed to access a plugin's options?

I have the following 3 different Roles: Admin, Editor, and SEO. I have installed WordPress SEO by Yoast, and I want to get this: I don't want the editors to see the SEO options, because they only ...
0
votes
1answer
26 views

Allow a role to edit one specific plugin

Is there any way to allow a particular role (Contributors, in this case) to use one plugin, and one plugin only? I would like them to be able to add images to a gallery when writing their post, but ...
0
votes
1answer
45 views

Custom User Role

I know how to add custom user roles, but how can i make it so that when a user with, lets say a role with 'DJ', they come to the dashboard AND ONLY GET TO SEE: Users > Your Profile custom menu DJ ...
1
vote
1answer
40 views

How to achieve certain page (url) accessible to certain users

I have created a download page I want it should be accessible to certain users who are logged in to my blog. No one else should have direct access to page. Is there some plugin for that? I have ...
0
votes
2answers
354 views

How can I change plugin to give access to editor user role?

I want to give my editors access to a settings page to a plugin I've installed on their website. As of now, it's only visible to Administrators. The plugin I'm using is uTubeVideo Gallery, and there ...
0
votes
1answer
73 views

Set user ID at time of wp_create_user

I'd like to add a new user to the WordPress user table. The code for wp_create_user works fine but it is adding the user incrementally to the next available ID in the user table. Instead, I want to ...
0
votes
1answer
40 views

Specific post user permissions

in that gives a specific user the option Edit a specific post I searched and found only plug-in that give the user the option to edit all posts But I did not see anything reference to a specific ...
0
votes
1answer
41 views

Remove specific administrator's capability

I've created two administrator users X and Y. And now I need to remove capability of 'edit_plugins' from user Y. I've searched and found, http://goo.gl/LttuvX $user = new WP_User( 'Y' ); ...
3
votes
2answers
107 views

User profiles and object associations

I'm coming over from Drupal and I'm very used to the way Drupal handles users and objects (called nodes over there.) I have to learn how WordPress handles these same situations. Since we're going to ...
0
votes
0answers
26 views

Linking a user with a specific post type they are allowed to modify and hide the rest

I've looked everything on internet but didn't found the answer to my problem. Here is my situation. I'm using, for a college website, Wordpress 3.8 and the amazing plugin Advance custom field and CPT ...
0
votes
0answers
276 views

Add a user role from a registration form

Is there a way to add/create a Wordpress user role from the woocommerce registration form? I use a plugin called members that allows creation of new roles, but only from the admin page. I want to add ...
2
votes
1answer
115 views

How can I let users to access plugin functions based on roles?

I use a plugin called "Live Edit" to let authors and editors edit the content front-end. But the issue is that the plugin lets any logged in users to edit the content. I want the edit(specified by ...
0
votes
0answers
24 views

Allow editor to manage part of the admin settings

I'm using a plugin called Business Hours. I want the editor role to be able to manage the settings for the plugin which are situated in the Settings menu. I know how to allow editors to access all the ...
0
votes
1answer
283 views

Plugin permissions for Editor role

I've added a plugin called Orbisius Simple Notice but I notice this applied to several plugins I have installed. The plugin works fine when logged in as an Admin. However, my clients who manage the ...
0
votes
0answers
48 views

Plugins and user roles

Alot of plugins only allow for Admins to edit, and i want other roles to edit those as well. I have a wp site running WooCommerce which has a user role "shop manager" and i have a plugin that users ...
2
votes
1answer
509 views

Woocommerce: change user role after completing order

:) I'm using wordpress with woocommerce, and I would like to automate the following step. When an order is completed, I would like to change the user role associated with that order id from ...
1
vote
1answer
57 views

how to give a user a role?

How possible give a user the 'adminstrator' role? for example I made a user with wp_insert_user(array(..., 'role' => 'Administrator') but it doesn't effect on role of user. thanks.
-1
votes
1answer
218 views

WordPress Role Capability Restriction

I am working on a travelling site and planning to add following feature to the portal. User Registration capability. Let user manage there profile Let user submit there travel story for approval. ...
3
votes
1answer
168 views

WordPress Capabilities: edit_user vs edit_users

The official documentation only mentions edit_users, but in the source I found many places are using edit_user, what is the difference? Are there any conventions for singular and plural capabilities? ...
0
votes
1answer
44 views

WPMU If MU site has no administrator, deactivate site

So I been tinkering with this thought. Working w/ WooCommerce Subscriptions - if the user is a recurring paid member, they can create and manage their own subsite. However, say the recurring payments ...
0
votes
1answer
152 views

Remove Adminstrator Hyperlink from a user having role to add and see users

I have create a user role using Advance Access Manager wordpress plugin having role to see, add and remove users name as site_admin. When user login with his Id he is able to see the adminstrator and ...
0
votes
0answers
47 views

How to make a plugin appear only to a certain role of user?

I'm using a plugin called "Team Result", to create team results and things like that. It appeared on the dashboard for admin(me). As you can see in this print ...
6
votes
2answers
587 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
573 views

Role based permission edit for plugins

I have TheThe Fly Image slider installed on my website which has multiple users. I wish to hide the settings from contributors and authors, but allow editors and admin roles to be able to amend the ...
0
votes
2answers
382 views

can i limit editing specific custom fields to certain roles?

i am writing a plugin that injects unescaped content (including javascript) into a post. i'm storing this content as a custom field, and am wondering if there are any built in ways to prevent users ...
0
votes
2answers
417 views

Require Capability to View Woocommerce Product

I am using Woocommerce and I have products in a category called B2B whose single_product.php is only to be shown to people with the capability read_b2b. <?php if ( have_posts() ) : ?> <?php ...
0
votes
1answer
305 views

Creating teams of users in Wordpress

I'm currently working on a University project wich is a website for managing a GameJam event that occures every 6 months. Our users will be in teams of 1 to 4 people and will be able to post about ...
1
vote
2answers
5k 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
150 views

Can a Plugin Override New User Default Role Type

I'm making a plugin that creates user accounts. Is there a way I can create new users that get the role that I (the plugin developer) tell them to, as opposed to making them all the default new user ...
1
vote
1answer
3k views

Advanced Custom Fields/User Role Editor - how to hide ACF for certain users?

I am using User Role Editor to specify customized user roles. I am also using Advanced Custom Fields plugin. I would like to be able to hide Advanced Custom Fields from showing up for certain users; ...
-2
votes
1answer
348 views

registration plugin

I am working on a website and need the fallowing functionality: From the admin area, I need to be able to add/remove/edit codes/tokens that I will later send out to people so they can come to my site ...
0
votes
2answers
119 views

WordPress Membership Plugin Advice [closed]

I need a plugin to allow every users to register and login to my site. I'm looking for a free alternative. I've google and found the following two alternative: ...
0
votes
1answer
35 views

Plugin privelages for “editors”

I have a few plugins installed in wp that appear in the submenu of the dashboard. I want users with the "editor" role to only have access to specified plugins.
1
vote
1answer
76 views

How to write a plugin to add users to a mail list

I run a multi-site blog with about 300 sites. I have an idea that I want to write a plugin that in order to add all administrators of blogs to a MailMan mail-list. I just want administrators though, ...
0
votes
1answer
64 views

Zigconnect Plugin: Allowing editors to remove connections

I'm using the ZigConnect plugin to set relationships between different types of posts. It appears that editors do not have the ability to remove connections, although this works fine for admins. How ...
1
vote
1answer
204 views

Can I allow certain people to add/edit pages within a parent?

I'm planning on building a site with different sections, for example: Training Conferences Ideas A different person will be in charge of editing and managing each section. They will be able to ...
0
votes
1answer
2k views

Plugin access and Roles

I'm new to Wordpress and am a little confused with which Wordpress user types can access plugin functionality? As administator I know I can activate (and deactivate) plugins. I can access their ...
2
votes
2answers
974 views

wordpress custom login successful redirect hook

I am using a custom login form imported on my theme's home page through jqModal. In that, when i successfully login it redirects to the same page. I want to redirect based on the logged in user role. ...
1
vote
1answer
383 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 ...
0
votes
1answer
30 views

Plugin Hook When New Author Added

Is there a way to add a hook for a plugin when a new author is added by the administrator? I would like to be able to add that user to my plugin database table. Thank you.