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

learn more… | top users | synonyms (1)

0
votes
1answer
208 views

Modify users.php page to create page/post on button clicked

I am trying to create a new Column in users.php (Wordpress Users Page) with buttons. Each button, associated with the user, has to create a page or a post (based on my programmatically selection). I ...
0
votes
1answer
96 views

List users by meta_key and meta_value

The following function will display a list of users based on their meta data: <?php function get_users_by_meta_data( $meta_key, $meta_value ) { $user_query = new WP_User_Query( array( ...
0
votes
2answers
49 views

Should I use MultiSite for a subdomain based wp site?

I know the question is asked alot of times, but what I am trying to create is a network under the same site. example.com a.example.com b.example.com a.b.example.com and it goes on. With example.com ...
0
votes
0answers
26 views

Post workflow with users and moderators

some of my users are allowed to write posts in my blog. I want to associate some "moderators" to their post, so i don't have to check them all myself. I can separate for which user which moderator is ...
1
vote
1answer
73 views

show text If special user is logged

I want to check if special user id is logged in WordPress. i know we have a function name is_user_logged_in() but we can't change the id of user logged in, in this function. I need a function like ...
7
votes
3answers
86 views

Is there a way to merge two users?

I have two users and I would like to merge then into one. All the answers I could find online to this question focus on transferring ownership of posts, but this is a network site and I need to ...
0
votes
1answer
46 views

How to add an attribute to a user?

I have looked for an answer, and couldn't find a clear and relevant answer yet. I want to add more attribute to the users not to display, but only store information about them. The information will ...
0
votes
1answer
52 views

Trying to display user meta by “name” - not by “ID”

I have a form on my website where users can submit their own posts and one of the fields has a dropdown containing various countries so a user can enter their location. I would like this location to ...
-1
votes
1answer
143 views

Check if username doesn't exists

I have a script that imports users via an .csv file. The script checks if a user exists and if so updates it's metadata. If the user does exists but the "status" field contains the word 'archived' it ...
0
votes
0answers
48 views

Change theme layout via “Appearance Customize Screen” on per user basis

I have added some options to the "customizer screen" in the appearance settings on the dashboard of my Wordpress Child theme. All works well by specifying additional headers and theme color options in ...
0
votes
2answers
141 views

Import users once a day without a plugin

I need to import users to my WP database once a day. So I have a script that runs once a day to do an action. The problem that I'm having is that I'm a little over my head on this one. Another ...
0
votes
2answers
41 views

Display Users and user url's

I need some help I have the iteration working for listing the wordpress users however I also want to wrap their names in links and can't seem to get the user url to work... Nothing is returned to me. ...
0
votes
0answers
38 views

How to create user group and add its menu icon to dashboard top level admin menu?

I would like to use the user registration under users to create an option page similar to a custom post type. Afterward, I would like to be able to directly access the created users group by clicking ...
0
votes
2answers
209 views

Manage users custom column add class “num”

I have customized my admin users column to show the purchased leads of a role "lead buyer". The value of the column is a decimal (the number of leads). The "posts" column of the users table has a ...
0
votes
1answer
47 views

custom login form, guide me

i need to make a custom login form but i got a hard time finding references from my google search so i hope someone here is able to point towards some links to lay the grounds for me. A standard ...
1
vote
0answers
35 views

Undeleting a deleted user

I have deleted a subscriber and now everything is gone that I had on my website! How do I 'undelete' him?
0
votes
0answers
29 views

Authenticate Login / Problem when user is created

// check active status (login) add_filter( 'wp_authenticate_user', 'check_active', 30, 3 ); function check_active( $user, $username) { global $current_user,$wpdb; $user_info = get_user_by( 'login', ...
0
votes
0answers
45 views

Use This Code in Frontend

I am using this code, adapted to my needs: <?php /** * Plugin Name: YLDist Profile Checkboxes * Plugin URI: * Description: Profiles * Author: JPowersFreelancing * Author URI: * Version: 1.0 ...
0
votes
1answer
127 views

How to get User Profile path dynamically in wordpress admin panel?

I create registration plugin in front end for user. my all user save as 'subscriber'. Now I wont to get each user profile path from User Profile path dynamically. Simply, Admin Profile path in back ...
1
vote
2answers
110 views

Plugin for limiting user registration based on ip with expiry period?

Unlike most of the spammer/spambot plugins out there, which stop registrations from a known list of spam IPs and email domains, I need to stop malicious users who may try and register more than one ...
-1
votes
3answers
111 views

What techniques can a user employ to achieve a password rated “strong” in the WordPress password checker

I have strong passwords enforced for all my clients but I got some complaints recently as some users tried to change their password and gave up trying to achieve a strong rating. I was initially ...
0
votes
1answer
62 views

Multisite “Skip Confirmation Email” Log Out Problem

I have a multisite setup where I would like site Administrators to be able to add New Users with the Skip Notification Email option. By default, Wordpress only allows Super Administrators this ...
0
votes
2answers
116 views

How to change WordPress user ID?

Is this enough to change the user ID? I'm doing this for security purposes, where the administrator has user ID=1 and I want to keep all posts, pages and content. UPDATE wp_posts SET ...
0
votes
2answers
128 views

WordPress Multisite - Load users using custom query

I have a basic custom query in WordPRess that loads all the users as shown in the following. SELECT DISTINCT users.* FROM " . $wpdb->users . " as users How do I modify it so that I can load users ...
1
vote
0answers
116 views

Allow up to 5 Concurrent Login Sessions

I'm having trouble implementing a concurrent login check. The site needs to prevent more than 5 concurrent sessions for any particular user at one time. Example: User Matt can have 5 active ...
0
votes
1answer
104 views

Sharing users across multiple sites, each on their own database

I have read many solutions out there for sharing users and checked out the other posts on here, but can't find specifically what I'm after, as they all talk about users on the same database. ...
0
votes
0answers
21 views

Remove users who arent member to any site

I need a function who deletes every user who doesnt belong to a site in WP multisite. I dont want to make it manually, i looking for a code who does it every day. Anyone who thinks they can solve it? ...
1
vote
1answer
37 views

Failed login attempts

I'm using WordFence for site monitoring and overall security. I'm seeing some failed login attempts from a couple of different locations with username "admin" and "companyname". I'm not familiar with ...
0
votes
1answer
48 views

main menu page redirects to user ID

I have a site that displays fitness results to clients. It works by showing them a page based on their UID displaying unique charts and graphs etc. I can redirect members to the unique pages on ...
0
votes
0answers
39 views

post attachment's direct link only available to logged-in user (custom role)

I am making very simple PDF / DOC document library. I am handling the document upload using "ACF File" field (uses the native and core WP attachment functionality). There will be a page that displays ...
0
votes
1answer
31 views

How to activate the user search

I'm trying to activate the user search in my wordpress site. Which means that I want also the users on the search result. I have tried some plugins, but none of these gives the solution I want. Is ...
0
votes
1answer
19 views

What Wordpress file is saving new users to database

I need to know, what Wordpress php file is saving new users to database. I can't find it, but I need to modify new users usernames before it's added to DB. Thank you!
0
votes
2answers
90 views

Customize or avoid new admin email address notification

In a multisite network, when you change the main email address in Settings / General, Wordpress sends an email that must be confirmed by the new email recipient. I need to avoid or customize the ...
1
vote
0answers
118 views

Set Display Name to first and last name (phpmyadmin SQL Query)

I'm trying to change all the users Display Names to be their first and last name. I have looked into a number of plugins and wrote my own PHP to try and accomplish this however the site has over ...
0
votes
0answers
70 views

Wordpress automatically do the login after registration

I'm new to wordpress. I'm modifying a plugin that create an ajax form to register a user. After registration if I refresh the page the user is automatically logged in. I don't want it (I need to send ...
0
votes
1answer
132 views

User list order by user meta

i have created user vote that can vote users or author of posts. so for example have 4 users which looks: user --- ID=1 --- META KEY='_thumbs_rating_up' --- META VALUE='13' user --- ID=2 --- META ...
0
votes
2answers
150 views

Bulk delete users from a csv list

I have a WordPress site with 65,000 registered users, about 10,000 of those users are spam bots, inactive account, hard email bonces etc. I have them gathered in a CSV list, how can I use that csv ...
0
votes
0answers
49 views

Ordering list of users by last name and then by first name

I have a page listing users with certain custom roles, ordered by last name in alphabetical order. So far, so good. The problem is when two users have the same last name (i.e. John Doe and Rick Doe). ...
0
votes
0answers
18 views

Delete users thats not members of a subsite

I need a code on the multisite network area to auto delete everyone on the network that isnt member of a subsite. It should delete them every 24 hours or directly. Is there anyone having the slightest ...
0
votes
0answers
22 views

Edit dashboard based on user ID

Is there a way to edit the dashboard based on the user ID? I know this is relatively straight forward when targeting a user role, but how about ID? For a working example, something along the lines of ...
0
votes
0answers
34 views

Deleted user from subsite can still login (wordpress multisite)

I have a problem with Wordpress Multisite. When I delete a user from a subsite, the user is deleted in the subsites userlist but he can still log in. I dont want this, he should be deleted and denied ...
0
votes
1answer
547 views

Get all user meta by meta key instead of ID

I'm trying to compare user meta values to find highest and lowest values. I have a user meta value set up called "hourly_rate". I want to get the hourly rate for all users and then run PHP's min() and ...
1
vote
1answer
51 views

User can not login

I successfully inserted a new user to WP database and I want this user to be logged in right after this. I do it like this User Login Form <?php function dlf_form() { ?> <form ...
0
votes
2answers
82 views

Get current user outside of Wordpress Multisite

How to get current logged in user in Wordpress Multisite outside of it? I tried the method for Wordpress Singlesite and it give the error Call to a member function set_prefix() on a non-object on ...
0
votes
0answers
42 views

Trying to implement user/login sessions on my Wordpress site

I've been going round in circles for a couple of days so have decided to ask for advice :) I recently migrated a private site to Wordpress and can't get the user/login to work. User logs in here ...
0
votes
1answer
32 views

User rank in wordpress post

I saw awhile ago on a support Forum that you can show a authors rank on a post in wordpress but I can't seem to find the post again but instead of words I want it to show an image if anyone could ...
0
votes
1answer
20 views

What's the most secure way to grant a user permission to update in a multisite?

I've created a multisite for a local charitable organization that contains five sub-clinics inside it. I have various plugins running (security, SEO, etc.) in the multisite activated "across the ...
-1
votes
1answer
108 views

How to restrict the amount of categories/post tags/terms for a post type post

I'm in need of a solution that allows me to restrict the user/author to only use maximum of two categories per new post. One post can only have one or two categories. The only similar solution that ...
1
vote
0answers
51 views

Get the User ID Who Owns a Given Blog ID in Multisite

I am working on creating a function that will take a $blog_id and return the corresponding $user_id of the user who owns/created the blog in a multi site network. public function ...
0
votes
1answer
38 views

Iterate through users and display users meta info at front-page

I have a meta field in user called columnista-destacado I need to iterate through Wordpress users and if that field has valued set (lets said equal 1) then I need to display user meta info at ...