The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
684 views

Assign a Custom Role to a Custom Post?

I been looking around for this, but couldn't find a way. The scenario is: I have a custom post type 'Company', and I'm creating Company type posts through my plugin's code. When I create a new ...
2
votes
3answers
603 views

Customize Admin Users Screen based on Role

I've added a role of "Customer" and I am working on customizing the Users Screen for that role. What I'd like to do is customize columns based on that particular role. Note: For example, take a ...
2
votes
1answer
300 views

How-to Delay The Capability To Publish Posts?

I use buddypress and all new members have the role of author. The site is more like a forum with one topic. I'm not worried about comments, just posts. Recently I have received a bunch of spam from ...
2
votes
1answer
184 views

Add role across network in multisite

I have been trying to add new wordpress roles and capabilities, in a multisite installation, using the code below. The issue is, it only applies to the 'main' site of the multisite, and does not ...
0
votes
1answer
31 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, ...
0
votes
1answer
524 views

How to order posts by custom WP role?

I currently have the following custom wp_query which displays posts from 2 custom WP roles, "custom_role_one" and "custom_role_two". It displays the posts from my custom post type of "listing". It ...