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

learn more… | top users | synonyms (1)

0
votes
1answer
17 views

Control what custom posts a user can see

I've been looking into user roles and it would seem that there are 100 plugins to help me control what a user can edit or publish but they don't get any more specific. We have a custom post type ...
0
votes
0answers
11 views

User roles: edit_post set but custom post type & posts not editable

I have a custom post type with the capability_type of "post". I then have a new user role with the following set: 'read' => true, 'edit_posts' => true, ...
1
vote
3answers
6k views

User Profile / Add Custom Fields

Hello: I am trying to add 7 custom fields to the standard Wordpress wp-admin/profile.php page. There are a few site which suggest a simple bit of code to do this, for example: ...
0
votes
0answers
26 views

How do I add and verify new user meta data?

I'd like to give users a field that they can fill out -- with an option for me to verify / not verify. Take for example every user has a field -- Total Cars Owned : [number] They can enter in ...
0
votes
0answers
17 views

Hide user profile from front end

Is it possible to hide a user profile from the front of the website, and from search results? I am using users to create a staff directory, but one member of staff doesn't want for people to see her ...
0
votes
0answers
23 views

Manage taxonomy for categories of users just like the native wordpress taxonomy for categories of post

i should realize a post-categories like component for users, exactly I would like to get every functionality that wordpress dispose for hierarchical taxonomies. Focus up about: Admin Case admin ...
0
votes
1answer
388 views

WP_User_Query not searching

I currently have the following code, and a user named "Clark Farm" in the user_business table. The code below returns nothing. If I remove the search term then all of the users are listed. I'm trying ...
1
vote
1answer
49 views

Execute a function when admin changes the user role

How can I execute a function, when admin changes the user role of a user? I have two user roles: one is agent and the other one is client . My need is that when admin changes the user role of ...
0
votes
1answer
20 views

How to get current user on a multi site that is using domain mapping?

When I use the following code on a single blog site it works but if fails on a multi site that uses the domain mapping plugin. This code is in a plugin that is called by a short code. global ...
1
vote
1answer
25 views

Preventing auto-filling of e-mail addresses on profile.php

This may be more of a web browser issue (Safari is my primary browser), but it's extremely irksome. For some reason on one of my sites I'm developing whenever I edit a user account in profile.php it ...
0
votes
1answer
17 views

Cloning admin pages like users.php

In my project I want to make a new menu position which will be actually a copy of 'Users' page but with some additional filters/modifications. For example as a result I need to have another menu ...
0
votes
1answer
6 views

Registered access area

I want to do in my wordpress site appears wp-login.php for guests in all site, not just in an article or something. How i could do that? Wich files i should modify? Registered users and admin users ...
2
votes
2answers
342 views

Allow User to Edit Page Based on their Email

Quick Info I am using the Posts 2 Posts plugin in order to create a relation between Teachers and the Classes they teach. The teacher's page is a custom post type of faculty in which teachers are ...
1
vote
1answer
58 views

Current user in plugin returns NULL

I am currently developing a plugin and I am trying to make use of the $current_user global. class Something { public function __construct() { $this->get_user(); var_dump( $this->user ...
0
votes
1answer
42 views

Filter user list that meta_value is empty

I am trying to get all users that meta value is empty so i tried many variations and cant get the list of all user that birthday field is empty (not set). ...
0
votes
1answer
67 views

Sort users by “birthday” using WP_User_Query

I have created user meta that holds user birthday (birthday). birthday is date field. Now i am trying to figure how to sort (get) all users that have birthday based on specific month. I have ...
2
votes
2answers
85 views

How to change user_login with wp-cli?

How to change the username with wp-cli? This does not work: wp user update old_login --user-login=new_login
5
votes
2answers
2k views

How to programatically change username (user_login)?

As in the title, how to programatically change user's login? I wanted to use wp_insert_user function, but it appears that when updating current user, it doesn't change their username. Should I use ...
0
votes
1answer
70 views

Wordpress C# User Login

I have a very basic C# login system first i've work with localhost and basic databasebase username-password but now i want to connect my project to my website which is wordpress then i realize ...
0
votes
0answers
17 views

Add new WordPress user to MailChimp list

There is a lot of plugins to integrate WordPress with MailChimp. But none of them allow me to add new user's email to MailChimp. Can anyone suggest one?
1
vote
1answer
78 views

How to add a user profile page to frontend?

I am looking in using wordpress for ecommerce by using woocommerce, as a newbie i don't know how to set up a user profile page outside wordpress installation (so the clients don't see the back end ...
1
vote
0answers
47 views

Spam users registers even when registration is disabled

I'm getting a lot of spam users registering on my site, even though I have disabled All users can register in the control panel and comments is disabled on all posts. Are anyone else experiencing ...
1
vote
1answer
36 views

Set default page for user account in admin

I have set up an ecommerce site using wordpress/woocommerce and am now adding the users who will be dealing with the orders to the site. The only part of the site that they need to have access to is ...
0
votes
1answer
69 views

Extend WP_User_Query or WP_User to return all custom fields?

I'm trying to pull out list of about 5000+ member records for CSV export. The query is timed out and I suppose the reason is that in order to populate the CSV file I need to iterate over those 5000 ...
0
votes
1answer
32 views

Make new users automatically approved

I'm allowing new user registrations on my site and checked "Anyone can register" and set the default role to Subscriber, but for some reason users still need manual approval. This is annoying because ...
0
votes
1answer
26 views

Make certain pages uneditable by editors?

My Wordpress page has a few editors. They need this permission because they need to be allowed to change the posts/pages of others. However there two pages I want only me, the administrator to be able ...
1
vote
1answer
96 views

Multisite - One user allowed access to all sites?

I am creating a multisite environment where each site is a classroom blog in the same school. Is it possible to create one parent user with access to all sites? That way parents don't have to keep ...
1
vote
0answers
44 views

Wordpress registration without wp-login.php and wp-admin folder, is it possible?

If i know well, the Wordpress use the wp-login.php to login/logout and register new users. Is it possible to make custome registration without wp-login.php and wp-admin folder?
0
votes
1answer
72 views

How to add quick edit and bulk edit fields to users admin section

Salutations, is there a way to add quick edit and bulk edit fields for the users section in wordpress. I have found a lot about post types and custom post types but i'm specifically looking to add ...
0
votes
0answers
13 views

Create sub-profiles with separate posts

I am a php developer, but have not done much as far as plugin development with wordpress. I have a basic grasp as to the methods for creating plugins. I am considering creating a plugin, but was ...
0
votes
1answer
132 views

Adding fields to the “Add New User” but the form data not saved into DB

i have add new fields when we create new user in user-new.php the new field appears in the form, but the form data not saved into DB. after i created new user, i go to "edit user" and see the field ...
0
votes
1answer
40 views

Save search criteria per user and show on custom user page

I have a property website with a custom search form for minimum and maximum square feet. A registered user executes a search with a min(i.e. 150 sqft) and max(i.e. 300 sqft) select option value. I ...
3
votes
8answers
7k views

Adding fields to the “Add New User” screen in the dashboard

I'd like to add the field "Company Name" to the add new user page in the admin panel. I've done quite a bit of searching and have been unable to find details on how to do this. I can easily add info ...
1
vote
1answer
39 views

Allowing user to edit only certain pages

I would want to allow certain user to edit only one page and it's subpages. How would this be possible? I tried the old Role Scoper, but it seems to have a lot of problems and bugs.
0
votes
3answers
40 views

Create new user from phpMyAdmin

I'm trying to copy site that I have created in free web hosting server to my windows pc that runs WP on WAMP. I copied all files, but took wp-config.php from sample site I run on my PC and have done ...
0
votes
1answer
35 views

Username has been exposed

I am running a WordPress installation, I am using the theme created by my own. I haven't displayed any author related information in the theme. But I am getting server logs with ...
3
votes
1answer
2k views

How to paginate the get_users function?

Im using the get_users function to show a custom list of users on the site. The only issue Im having a problem figuring out now is how to paginate the result. This is a sample of the function that Im ...
0
votes
1answer
49 views

Generate unique number when registering a new user

I know there are userID, username in the database, but I want a formatted and unique number for physical world use. For example: "2014xxxx" 201414:year,xxxx:generate randomly when registering a user. ...
1
vote
4answers
1k views

How to check if a user exists by a given id

Is there any way to check if a user id exists? I want to create a function similar to username_exists() but which returns if the id exists or not.
0
votes
1answer
44 views

Post as someone else

I'm starting a blog where multiple people will be "posting". However, most of my authors don't want to have anything to do with the posting process of WP. So they will be sending the articles to ...
4
votes
1answer
553 views

How to use alias domain for multisite installation?

Is it possible to use alias-domain for multisite installation? I have tried domain-mapping plugin and Multi Domains plugin for WordPress, but this does not solve this problem. Example: I have ...
0
votes
0answers
72 views

Current User Seeing Another Logged In User Info

Having a strange issue where I am checking for the current user by using the wp_get_current_user command and occasionally, users have reported to seeing the information for another user. Should I be ...
2
votes
3answers
863 views

Wordpress auto login after registration not working

So I looked up a bunch of threads trying to figure out how to automatically log a user in after registration, and came up with this. function log_me_the_f_in( $user_id ) { $user = ...
11
votes
2answers
19k views

How to check if a user is in a specific role?

I have a pretty specific requirement to show different text in a field label on the user profile page based on the current user's role. I can't seem to figure out how to check whether the current use ...
1
vote
0answers
16 views

Where are $current_user->allcaps set?

I recently found a problem with WP in which even the admin has no permission to get to anything on /wp-admin/. Oddly enough, when I compared the $current_user->allcaps to those on a normal site, I ...
0
votes
0answers
36 views

Frontend + Backend Language based on User Setting

My Situation: Most recent Version of WordPress installed Multisite Environment WPML Plugin installed (Most recent Version) Goal: I'd like my Users to be able to Choose their Language at signup ...
0
votes
2answers
49 views

php if username is role

I know you can easily display custom content if a certain logged in user is a certain role using <?php if ( current_user_can('contributor') ) : ?> media files loop <?php endif; ?> ...
0
votes
1answer
46 views

php return username of currently viewed author profile

I'm at a loss. I have profiles developed for my wordpress website, and I want to display content on my page-profile.php that is specific per user profile. I've looked all around the codex and only ...
4
votes
3answers
2k 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 to my site a script creates a custom type post that has the registering user as author. To ...
0
votes
0answers
31 views

Restrict content based on a list of emails, not user IDs

So far the options I've tried include using a form plugin, and have it redirect, but that only checks that the email is valid. This is a potential solution, but not the one we are really looking for. ...