Refers to accounts with the ability to login and participate in a WordPress site.

learn more… | top users | synonyms (1)

2
votes
1answer
310 views

How to show custom post type count in the users admin page

There's a post count in the user page of the WordPress admin area. I have a custom post type events. Is there some hook I can use to add my event count to the post count, or else to add a column for ...
17
votes
1answer
7k views

Editor can create any new user except administrator

I have set up a WordPress site for a client. The client has the Editor role, however I have installed the Members plugin and given the client the capability to add new users to the WP admin. This is ...
0
votes
0answers
103 views

User-edit role setting distinct from wp_capabilities?

I need find out how $profileuser->roles is set. wp_capabilities can hold multiple roles Whereas user-edit role caters only for a single role. Under certain circumstances it is possible for there to ...
0
votes
1answer
94 views

Assign random (and unique) user meta upon registration

When a user registers, I need to assign a random but unique, 4-digit number as user meta data. The number will be static and not change: Not by the user himself or any user with a higher capability. ...
0
votes
0answers
28 views

User permission per category of custom post type?

How to allow a User to post only for a unique category of a custom postype? Only one user per category can publish into that category. Is possible? Thank You!
0
votes
1answer
15 views

Redirect current user to their most recent custom post

Is there a way that, if a user tries to access a particular page, they are redirected to their most recent post (In a custom post type)? Or, if the user has no posts, redirect them to the homepage?
1
vote
3answers
2k views

Display edit link if post author is current user

I am creating an author.php page and listing all the posts from an author. Although admins can see the posts' edit links i want to echo the link if logged in user is the current user for example if ...
0
votes
1answer
26 views

Changing starting number of User ID

I've got a client who would like their online user registration to match their current database. Thus they'd like their wordpress sign ups to start with 00100, I can't seem to find a plugin that ...
0
votes
1answer
53 views

Specific way to allow Wordpress users to view their current password? And edit it?

I know the built in user manager doesn't allow a user to see what her current pass is, just recover / reset it via email or write in a new one in the admin but I am looking for a plugin or other ...
2
votes
4answers
807 views

Tagging users in Wordpress

I have a community blog at thelazy.info . I want to tag users based on their colleges and assign a role known as "College Owner" which will have permissions to edit users belonging to his colleges. ...
0
votes
0answers
20 views

Fetching posts that match a User Profile setting

I have a Custom Field in my User Profile page that allows site authors to specify which town they come from when they set up their account. The towns are in the form of a selectable dropdown select ...
0
votes
0answers
18 views

Wordpress subadmin can create N user

Is there a way to create a subadmin that has a capability to create a number (N) another users. So that, if the subadmin has reached N value, he can't add another user anymore.
1
vote
1answer
75 views

Add 'Creator' User Meta when adding user

I am creating a custom web using WordPress. I need to get information about who has created an account/user. The meta for example created_by. So that I can retrieve who are the users that created by ...
1
vote
3answers
719 views

How to order users alphabetically by their last name?

I use the following shortcode and function to display members of some departments: add_shortcode( 'list_of_members', 'members_listing' ); /* usage: [list_of_members department = 'psychology'] */ ...
0
votes
2answers
4k views

Custom user profile, registration, login page with theme

WordPress user profile page uses the administration interface, and its user registration / login page is not part of the theme. I would like to change it into the custom theme of my site customize ...
0
votes
0answers
11 views

User access sharing between two wordpress installation [duplicate]

I'm successfully make a two wordpress installation with sharing same users and usersmeta table , on primary site i have allowed registration but on 2nd site i have disabled registration... But when ...
1
vote
1answer
1k views

How can I get multisite primary blog (url or path) for current user?

In a multisite setup, when users are visiting a blog/site that there are not a member, I would like to display a link to "HOME" that takes them to their "primary" blog. I know how to determine if a ...
1
vote
0answers
1k views

Custom Meta Box - Multiple Checkbox for Users [closed]

My question is in regard to this article: http://wp.smashingmagazine.com/2012/01/27/limiting-visibility-posts-username/comment-page-1/#comment-154111 This article: creates a custom metabox the ...
0
votes
1answer
35 views

Migrating Users along with their password

I would like to migrate users from one wordpress site to another along with their paasswords, there are 15000 users in total . what would be the best way to do this . is a migration of the database ...
1
vote
1answer
47 views

Completely hide user info

I'm wondering if there's a way to make 100% sure a user's info is not available to the public. Our theme is not currently using a profile page, but I did notice that there is a 'Posts by author' page ...
0
votes
0answers
29 views

Adding a function-based search to the Users admin page

On the Users admin page, I want to add a function-based search criterion. By default, there are filters to search by user role and there is a search box that searches the user data. I would like to ...
7
votes
5answers
4k views

Remove Ability for Other Users to View Administrator in User List?

(Moderator's note: Original title was "Remove Admin from User Menu") I have created a client administrator role which is essentially an Editor with ability to add/remove users. The article "Editor ...
0
votes
1answer
52 views

My posts section for logged in user

I would like to create a page that shows only posts written by the user logged in and get a link (such as www.example.com/AuthorPostsID) to put on the menu. I'm trying for two days. Does anyone know ...
9
votes
3answers
451 views

Make display name unique

Right now you can make your Display Name whatever you want, you can even impersonate an admin. Is it possible to make the Display Name unique?
0
votes
1answer
817 views

User(s) already exists show error please provide a valid username

I tried to log into WordPress today and instead of the usual wp_admin page, I got 'Welcome to the famous five minute WordPress installation process!'. It asks for a Site Title and email address, and ...
0
votes
2answers
2k views

Get selected value with PHP and jQuery

I have form that i'm using to update user profile from front end and i have country select. <form method="post" id="adduser" action="<?php the_permalink(); ?>"> <select id="te" ...
1
vote
1answer
45 views

Add a user to a specific blog when they register?

I've setup a WP MU site and I need to know how to sign up a user to a specific blog when they register. As it is now, if a visitor is visiting a specific site and they click the register button they ...
4
votes
1answer
3k views

How to let user set password on registration

I´m working on a front end registration form adn have gotten as far as getting the standard registration form to work, but... I´d like to add the oportunity to let the user choose his/her own ...
1
vote
1answer
38 views

Delete users from multisite after they have not logged in for a set amount of time?

I have added this to the users as they log into any of the sites on my multisite. update_user_meta( $user_id, '_last_login', time() ); Now I want to delete all of the users that have not logged in ...
0
votes
0answers
172 views

How to create a link to a user's profile page

I've created a user list for all the customers who registered on my website. When a outside user (or guest) browse my website and want to view the profile of a specific user, they should be able to ...
0
votes
2answers
787 views

Advanced Custom Fields Plugin: how would I get an image src path uploaded from User Profile?

I have created an Image Upload field for a User Photo in the User Profile section in the wp-admin using Advanced Custom Fields. I realized ACF could do this per this post: Photo gallery on profile ...
1
vote
2answers
61 views

Add a custom post when inserting a new user in Wordpress?

I want to add a custom post type (called pupil) into Wordpress when inserting a new user. The wp_insert_user() is used for creating new users. I have this code: function ...
0
votes
1answer
21 views

How to get the blogs owned by a user?

I have setup WP MU and I would like to get a list of blogs a user owns. Is there a method that gets this info? More info: I only have one page for the user to login. I need to get the blogs they own ...
0
votes
1answer
26 views

loginout function customization

I want to make login / logout function inside my header to display when the user is logged in Logged in as,{user name} where {user name} should be wrapped inside an anchor tag with a custom permalink ...
1
vote
1answer
87 views

How to delete user on logout and when session expires?

I am looking for a way to delete a user when they logout and when session expires...whatever one happens first? Reason being is that all login authentication happens through an api to another company ...
0
votes
1answer
114 views

Allow unfiltered HTML for not logged in users when saving a post

I'm using this code: $var1 = $_GET["t1s2ninput"]; $var2 = $_GET["t1s2pinput"]; $new_post = array ( 'post_title' => 'Title <dl class="variation"> <dt>Variation: </dt> ...
0
votes
1answer
36 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' ); ...
0
votes
2answers
296 views

Getting list of top 10 users and sort on last name

I would like to display a list of the top 10 authors based on the amount of posts that they have, and then sort them on last name. To my knowledge, this is not trivial since the last name of a user ...
4
votes
1answer
98 views

How to create a template for a custom URI associated with the user

I am working on a site where I am using a plugin called Favorite Posts so logged-in users can add a post (a custom post type) to their favorites. I created a page called my-favorites which allows the ...
2
votes
1answer
2k views

If current user is admin or editor

How can I check to see if the current logged in user is an admin or an editor? I know how to do each singularly <?php if( current_user_can('editor')) { ?> stuff here for editors ...
0
votes
0answers
33 views

Some user's cant see custom taxonomy meta-box

I have strange problem with users who can not see metabox with custom taxonomies. When I delete user and create him again problem is solved, but this is not the best solution :) All my taxonomies are ...
-2
votes
1answer
43 views

Create a wordpress admin user and only let them edit and post blog posts?

Is it possible to create a WordPress admin user and only let them edit and post blog posts?
0
votes
1answer
630 views

how redirect users to custom login page when “login to reply” is clicked? [duplicate]

I am building my website on Wordpress and I have created my custom login page.But for a post when an user comments and other nonlogged see the comment with along with a line down "Login to reply".And ...
0
votes
2answers
196 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 ...
-1
votes
0answers
31 views

how to redirect users to a custom page when they click on their display name or “my profile” or dashboard?

How to redirect users to a custom page when they click on their display name or my profile or dashboard on my WordPress site. Because I locked /wp-admin with this add_action('admin_init', ...
0
votes
2answers
52 views

How would I restrict certain user levels from editing categories

I have a situation where I need WooCommerce product categories to be edited by an admin only. So, basically I'm looking for a way to prevent other user roles from adding, editing or deleting ...
1
vote
0answers
47 views

WP not logging in at first time

I've been experiencing a weird "bug" in my website which I have a form in the front page to do the log in, it doesn't log, redirects me to the WP-login.php and it says the Cookies may not be active in ...
0
votes
0answers
19 views

How to add a notification/inbox to user interface?

I want to notify a user in their user menu/interface when their post has received a comment. As it is now they're only aware of it through a email that my wordpress sends them. So I want to add like ...
0
votes
0answers
38 views

Cannot Save User Roles - Set a Role, says Updated, but no Change

thanks for reading my question. I have a Wordpress Site with Delicious Magazine Theme installed. In Users --> Edit User, I want to change a specific user's role to Contributor. When I make the ...
0
votes
0answers
59 views

Get first_name on hook user_register

I have created a plugin for saving user info. I have used a action hook user_register, but I don’t get the values of first_name and last_name. What wrong in my code? ...