All Questions
Tagged with user-roles author
50 questions
0
votes
0
answers
38
views
Adding plugin editing capability for Author
I am new to php environment. Any idea how we could enable plugin editing roles and capabilities for Author or another scenario could be adding as sub-admin with limited roles. Any help would be ...
0
votes
1
answer
463
views
Could we know who published a post on WordPress?
Besides knowing the author, could we know like which user with the Editor role published a post? Is this being tracked in the db?
0
votes
1
answer
783
views
Select other roles as custom post authors
I created a custom post type ("Organization"), and I've also created a custom user role ("Representative"). Also, I've ensured that the Representative role has read/edit/create/...
0
votes
3
answers
721
views
(solved) getting post author's user role
we can use
$user = wp_get_current_user();
if ( !in_array( 'administrator', (array) $user->roles ) )
to get the user role of the viewer. but i want to ignore who views. i want to get who writes ...
1
vote
1
answer
39
views
Custom post type - no layout section of Document tab, and no author choice
A portion of my website is used by another non-profit organization. In order to restrict them from editing/deleting at large, I created a custom post type for them, and added a user role to go with ...
0
votes
1
answer
236
views
Custom author url and page for another role
I would like to create a custom url and a separate or duplicate the author.php template for another custom role w/o using plugins.
I found this related topic but it just modify the author url
...
0
votes
2
answers
475
views
Limit Post Creation Count by Author or Role
I need to limit the number of posts that can be created.
I'd like any variation of total posts, posts per time period (month), by author (ID) or by role.
off-the-shelf plugins found so far in the ...
2
votes
1
answer
875
views
Programmatically allow a non-author to edit a post based custom meta field
User A authored and published a post. In that post, User A selected User B as the "Manager" (a custom meta field).
How can I allow User B to edit any post in which they are selected as the "Manager"?...
0
votes
0
answers
41
views
User role templates
I'm currently using the author.php template to display a frontend archive of users' posts from all roles. I've now created a new user role ("trainer") that needs to have a completely different ...
0
votes
1
answer
295
views
show the author's role along with the name in the single.php
some way to show the author's role in wordpress for example: Administrator, editor, author, contributor ect...
Let something like this be left:
This post was written by contributor JUan
I'm just ...
1
vote
1
answer
859
views
Allow users to publish child pages of the pages they have access to edit
I have created a custom role called Custom Author. Users in this role can edit their own pages and add new pages. I would like to restrict new page creation and allow Custom Authors to create pages ...
0
votes
1
answer
214
views
how to make author to write comment on only his own posts?
i want restrict my registered authors to write comment to other posts except his own posts. Is it possible? I have no idea how to do it. May be need conditional logic but how?
0
votes
2
answers
40
views
Want to add post to user dashboard
I would like to add edit.php to user dashboard who registers as subscriber on a website. Code which i using is
add_action( 'admin_menu', 'remove_menus' );
function remove_menus(){
if(!...
0
votes
4
answers
3k
views
Remove dashboard links from wordpress
I am trying to remove two links from users dashboard keeping it on admin but it goes off on both user and admin.
One i need to remove from user dashboard and other is contact form plugin link contact....
1
vote
1
answer
399
views
Hide Author.php template from specific user role
I have a author.php template that styles a user profile (custom role: agents,etc)
I have a blog and Editors & Contributors can post articles.
Problem
When a viewer on the blog clicks an ...
0
votes
3
answers
634
views
Only Allow post author and "Premium" Role user to comment
Is there a way to make it so Everyone can see comments, But only the post author or those belonging to the Premium role can post a comment?
Could I do something like
global $current_user;
...
1
vote
1
answer
590
views
How to set add question capability for author role in wp pro quiz plugin
Wp pro quiz has no option to let other user roles to add and edit quizzes and questions other than admin.
In the lib/helper/WpProQuiz_Helper_Upgrade.php I saw this code,
private static function ...
4
votes
2
answers
3k
views
How to force listing contributors in authors dropdown menu
I am aware that contributors cannot publish posts, and that by design WP will not show contributors in the author dropdown list (this has been discussed here: Contributors missing from author dropdown)...
0
votes
2
answers
1k
views
Noindex subscriber author page
I added the possibility to register on my site (with the role of subscriber), however each registration creates an author page for the user, but I do not want these pages to be indexed, only the pages ...
1
vote
0
answers
1k
views
Edit the author of custom post type
I have created a custom post type, with numerous custom fields. Going forward, when a user signs up to our site, we will then create a CPT (their public information) and assign that user as the author ...
4
votes
1
answer
131
views
Hide specific admin users' posts
I'm currently trying to modify my WordPress site so that Authors can not see a specific Admin's posts while editing, but are still able to see each other's posts (as well as the other Admins).
With ...
2
votes
1
answer
1k
views
How to make an author archive only for certain user role and show related CPT
Scenario
I made a CPT where I'm taking the stakeholder's ID as a custom field. All the stakeholders are actually a WordPress' Registered User with a different role stakeholders - because at some point ...
2
votes
1
answer
1k
views
Prevent author role from editing all posts in custom post type?
I thought the Author role was only allowed to edit posts created by that author. That works in Posts and Pages, but I created a custom post type and the author can edit ALL posts in that post type. Do ...
0
votes
0
answers
469
views
Allow users to change author of post
I want to allow people to ghost-write for other people. This is why I've made a custom taxononomy in my custom post types called Author filled with all the author names.
Now I realize it's probably ...
1
vote
1
answer
351
views
How to show featured image block in custom post type for Author?
I made a custom post type "Dream". Here is the code:
//Add custom post type by Akash
add_action( 'init', 'create_post_type');
function create_post_type() {
register_post_type(
'dream',...
1
vote
1
answer
1k
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 ...
6
votes
2
answers
8k
views
Publish author posts only with editor approval?
I run a multi author blog and i am looking for a non plugin solution.
The default author user role in Wordpress can publish posts without any approvel - look at Role Capabilities Wordpress Codex. ...
0
votes
0
answers
494
views
how to Specifies an author / editor to edit one category only?
let me say i have a news website and it have many categories like sports ,politics and art . so i want to specify or select one of my authors "Bob" to be an editor for sports only for example .... how ...
1
vote
2
answers
4k
views
Why are authors allowed to approve comments on their posts? How to revoke privilege?
I was under the impression that only admins/editor roles can approve comments however our authors are able to do so as well on their own posts. I want to disable the ability for an author to approve ...
0
votes
1
answer
291
views
Author capabilities: Deleting comments on their own published posts
I know users that have role author can delete their own published posts. But if someone comments on one of their posts, does the post author have the capability to delete that comment?
3
votes
1
answer
5k
views
Multiple authors for single post without plugin
I'm new to using WordPress and so, apologies in advance if this seems like a very basic question.
I want to have multiple authors for single post. I had seen Co-Author. But I don't have to use plugin ...
1
vote
1
answer
5k
views
the_author_meta('user_url', $author->ID) not working properly. how can I solve this?
I have 2 authors and an admin on my blog.
I am using the following code in my contributors.php
function contributors() {
global $wpdb;
$authors = $wpdb->get_results("SELECT ID, ...
1
vote
1
answer
2k
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
0
answers
326
views
Custom Post Type supports author
I am using 'author' in 'supports' array for my 'custom post type', that shows a list of all users of the site on add or edit post screen to assign author for the post. But I want to filter that list ...
2
votes
2
answers
3k
views
Remove wordpress author's capability to moderate comments on their own posts
WordPress authors have permission to edit others comments on their own post. How to disable this and still allow the authors to edit their published posts?
0
votes
1
answer
66
views
Authors Ability to Review Post from Contributors
I am developing a CMS using WordPress. I have different user roles. I have different departments and I want users (Role of contributors) to post items that would be submitted for review by Users (...
0
votes
1
answer
967
views
Allow Content Author to Publish, But Not Edit or Delete
I am hiring a content writer for my WordPress blog. I will be the sole blog admin. I need to define a role for this writer.
I was wondering if there was a WordPress user role that will allow him to ...
0
votes
2
answers
643
views
How can I manage and limit disk usage for each author?
I want display and limit disk usage for each author and be able to manage disk usage as an administrator.
Example: author1: disk space is 20Mb; if they uploaded more 20Mb the upload button (in media ...
0
votes
2
answers
2k
views
One author not showing in Author drop down list while editing page
USER01 is not showing in Author drop down list while editing a Page if he's in the my custom ROLE "mycustomrole".
If I change his role as an AUTHOR, and add the very same custom and non custom ...
1
vote
1
answer
638
views
Show different badge based upon the user role
Problem
I have authors page and I need to display a different badge for Authors and Subscribers. Authors on the site have certain abilities that differ from Subscribers and I would like to display a ...
2
votes
1
answer
658
views
Display Author role in archive or author page
I want to display author role on archive and author page outside loop I found this code on stack overflow and it works fine within the loop
function get_author_role()
{
global $authordata;
$...
16
votes
9
answers
17k
views
Select subscriber as author of post in admin panel?
I want to be able to select a subscriber an author of a post in the admin so it displays their name as having written the post, but I do not want to give them any additional privileges (if they login ...
0
votes
1
answer
694
views
Set Default User Role
I'm using WordPress 3.3.1. When a user registers, I want to be able to set the new user to an author. How would I do this?
2
votes
1
answer
1k
views
How to Add Author Editing Capability to Existing Post by Admin
I apologize if this is mentioned on here but I can't find any information!
Anyway, I am building a WordPress site where I created the content with my administrator account. However, once the site is ...
1
vote
1
answer
181
views
How do you set up a WordPress blog with multiple authors to allow something like StackExchange's "community wiki" feature?
I'm thinking about having a blog with multiple authors. In the WordPress Roles documentation, authors can publish posts but only edit their own and not posts by other authors, which is what I'm ...
5
votes
1
answer
3k
views
Help to condense/optimize some working code
WordPress by default shows ALL posts to users who are Authors. I wanted Authors to only be able to see their own posts so I came up with the following code which works well.
Any suggestions to ...
1
vote
1
answer
717
views
Allow an editor to change the author
I am using WordPress multi user and have a set of users set up as Editors who wish to ghost write for another user who is an author.
How can they change who the author of the posts is without the ...
2
votes
1
answer
432
views
how to assign more permission to wordpress author
I have installed jw player plugin so that users of my site could upload their videos. Right now, admin can only see jw player menu on the admin panel and he can only upload videos and use this plugin. ...
2
votes
1
answer
312
views
Users roles, make a page belonging to multiple users
I have a website with a lot of users.
They are all editor (with same custom roles). They can add page and post, and edit only their own page/post.
But some users need the ability to edit some ...
6
votes
3
answers
5k
views
How to let contributors to create a new revision(draft) editing their published posts
I'm using a custom post type to let contributors have a personal page on the site.
Any time a user registers on my site a script creates a custom type post that has the registering user as the author....