Tagged Questions
0
votes
1answer
28 views
How can I have different groups of editors only allowed to edit certain parent+subpages?
I've tried a bunch of different plugins, including Role Scoper, Advanced Access Manager, User Account Manager and more, to accomplish this but can't seem to get it working right.
Basically, the ...
0
votes
0answers
58 views
Custom Theme Options page permission issue
I've created a custom theme options page for my theme. I've added the manage_options and edit_theme_options capabilities to the editor role and those are definitely working properly. I can save items ...
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 ...
0
votes
0answers
44 views
Restrict users on multisite WordPress install
I have a series of sites that I maintain as part of a WordPress multisite install. I'd like to be able to create users accounts that are restricted to viewing only a single one of these sites. Is ...
0
votes
0answers
28 views
What capability is required to view posts, scheduled in the future, by someone else?
So, I'm trying to create a number of custom roles within my theme to meet with the custom requirements of the site.
The first, and most simple, being 'external viewer' who I want to simply be able to ...
0
votes
1answer
74 views
Reapproval for edits and deletion after post is published
I regularly have guest authors who post one or more articles on a non specific schedule. So I provide them with permanent contributor accounts to avoid the hassle of making them accounts and deleting ...
0
votes
1answer
148 views
how to allow unregistred users to view normal posts [closed]
If an unregistered user/stranger try to view a post it says
"You must be registered or logged in to view the post".
http://testandverification.com/events/dvclub-august-2012-on-sv-uvm/
We have ...
0
votes
1answer
88 views
How to add only a (sub) capacity to an user role?
I know I can add capabilities to the any role using the role object and add_cap via functions.php
<?php
// get the the role object
$editor = get_role('editor');
// add $cap capability to ...
1
vote
1answer
1k 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; ...
0
votes
1answer
270 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
397 views
remove menus for a specific role?
I saw this snippet to remove menus:
function remove_menus () {
global $menu;
$restricted = array(__('Dashboard'), __('Posts'), __('Media'), __('Links'), __('Pages'), __('Appearance'), ...
2
votes
1answer
450 views
Prevent or Disable creating new users or changing roles of existing users to Administrator
I am trying to give more permissions to the editor role by giving it access to create user accounts. See the code below. But I would like to prevent it from creating or editing existing users with the ...
0
votes
1answer
123 views
WordPress missing user roles on local dev machine. Live site works fine
I have a live WordPress installation and a local one for development purposes. I just exported the live database, replaced all occurences of the live siteurl with the local one, and imported on my dev ...
1
vote
1answer
124 views
How to filter the role selector?
I know that roles in WordPress are not hierarchical, but I'm wondering if there is any type of capability to "assign users to roles". All I can see if being able to add users or not.
The real kicker ...
1
vote
3answers
177 views
How do I apply a class to custom menu items based on user roles
I have a members section on my site and they see specific custom menu items. I'm seeking a way to simply apply a star to the <li> based on it's permission level and what the user's role is.
...
0
votes
2answers
101 views
Hiding custom theme functionality using capabilities
have spent half an hour hunting around on Google to solve this so any ideas greatly appreciated!
I'm using a bought theme running wp3.2 and the theme includes a few extra features Testimonials, ...
0
votes
2answers
400 views
Expanding the allowed HTML tags in comments?
I have no problem doing this in a comment, as an administrator:
<b>bold test</b> <i>italics test</i>
<u>underline test</u> <font
color="#ff9900"> color ...
5
votes
3answers
6k views
Allow member to have access to custom post type only. Permission to only edit their own posts
OK I'm looking for the best way to attack this.
I'm very comfortable with PHP and making custom post types with custom meta fields in WordPress.
Here is what I'm looking at doing:
User registers ...
0
votes
1answer
591 views
How do I let contributors edit their posts after being approved once?
As above
Background info
Main problem: users pay to post an ad on the website
Solution: they sign up as contributors and I publish their posts once the payment is received, after that they can make ...
1
vote
2answers
664 views
Applying roles to an admin sub-menu (eg Appearance -> Menus)
Long time lurker, but first time poster. I've searched Google extensively and just can't seem to come up with an answer on this problem.
I use Justin Tadlock's excellent 'Members' plugin for roles ...