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

learn more… | top users | synonyms (1)

0
votes
0answers
4 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 ...
-1
votes
0answers
14 views

How set for each user owner images folder

I have 200 user in my site. and i need to hide all picture upload from user1 for all ether user when upload it from wp-admin-> media upload. And if user50 upload new picture. So he only see it in ...
0
votes
0answers
14 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
10 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
1answer
12 views

New user form edit

How to remove some inputs from admin from Add new user form? And it's possible to set e-mail as unrequired?
0
votes
0answers
10 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
6 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
28 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
29 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
1answer
26 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
9 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
29 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
0answers
5 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
41 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 ...
0
votes
0answers
9 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
25 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 ...
0
votes
0answers
16 views

Delete Users using a Front End Form

I viewed this question and would like to see how it was solved. I've been looking all over for help with this. I'm not sure if this link needs to be used within a <form> element. This is the ...
0
votes
0answers
32 views

is_user_logged_in() not working after domain change

I am relatively new to Wordpress and I recently moved a WordPress website from one domain to another. I went through and fixed all the links and references that I could find. Now my website has all of ...
5
votes
1answer
87 views

Automatically delete inactive users after 2 months

I am trying to modify this function: // automatically delete users after 7 days in wordpress function wcs_auto_delete_users() { global $wpdb; $query = $wpdb->prepare( "SELECT ID FROM ...
0
votes
0answers
14 views

WordPress accepting log ins with blank password and incorrect passwords

I'm working on someone's WP site and one of the bugs they have is that as long as the user is registered and exists in the wp_users table they can log in to the site without entering a password or ...
0
votes
0answers
27 views

User registration and activation email in custom form

I have implemented a custom login and registration form in WP as mentioned here. User can now register but can not login until admin approves that user from backend. I need to implement admin ...
0
votes
0answers
7 views

Bulk user registration

I want to bulk register users for my wordpress site. There could be 50-100 users, so is there any way i can register them at the same time?
0
votes
1answer
16 views

How to show a gloabl message on a user profile page (in back end)?

I want to show a global message for all users in their profile page. I do not want to edit profile.php what is the hook to do this? Basically I want to add a div to show a paragraph below the ...
0
votes
1answer
16 views

Custom capability for a single user

I have this complex scenario: 1) I'll have multiple admin users. 2) Only one admin can 'see_encrypted_pass' Now, I want to assign custom 'see_encrypted_pass' capability to only one admin (say, ...
1
vote
1answer
108 views

How to add country drop down menu to the user profile?

I've added this code snippet to my functions.php function my_new_contactmethods( $contactmethods ) { $contactmethods['country'] = 'country'; return $contactmethods; } ...
1
vote
1answer
44 views

Get tags for current user

How i can get user tags list , i get list of all tags with this: <?php $tags = get_tags(); ?> <?php if (isset($tags)): ?> <ul> <?php foreach ($tags as $tag): ?> ...
0
votes
0answers
16 views

Wordpress Blog Author picture by image URL

I want to use image url for wordpress blog author picture. By default it will allow me to browse and select image from my local system. It will be helpful if it can be implemented without any ...
0
votes
0answers
25 views

Users are routed to home page instead of WP admin after login

I have upgraded my site to WP 4.1...I am trying to fix an issue where : once the user logs in, he should be redirected to wp-admin page...But for some reason, after the user logs in successfully, he ...
0
votes
1answer
24 views

Echo a list of all subscriber's user IDs

I'm a complete novice with php. Can anyone let me know the code to simply echo/print a complete list of all user IDs on my site who are 'subscribers' (and not to echo any other user data).
1
vote
1answer
23 views

How change user type from contributor to author

I have 2058 users who are contributors. I need to convert their role to author. How can do it by SQL?
0
votes
0answers
11 views

Why all contributor that have post not have page

I have problem when moved from drupal to wordpress. Now i have user in contributor that have post in my site. This user cannot see his post in my site in homepage. To solved it i convert him to ...
1
vote
1answer
54 views

Is this code true or not

I am a beginner in coding but i have just wrote this code , The concept of code is : The code adds a form with a button to each user profile. The button is captioned as Follow/ Unfollow. It updates ...
0
votes
1answer
30 views

How can i create an array user meta?

I want to create a new user meta that contains array content How can i do this ? Another question : is it true using this code to check if the array user meta exists before creating it ? <?php ...
0
votes
0answers
23 views

Page for logged in user to Edit/Delete their own content?

Im new to WordPress, I have been working with Drupal for about 6 years and recently switched over to WP, couldnt be happier :) I have a question that I need some assistance with and was hoping that ...
0
votes
1answer
60 views

How to add follow functionality to multi-author wordpress site?

is there any way to add "follow" functionality to Wordpress ? so that every logged-in user can follow his favorite author and only can see post from authors that he followed them .. A possible ...
3
votes
1answer
127 views

How to display random users with avatars

I adapted a little a function to display a number of random users with their avatars with a shortcode. It works, but something is not good. Sometimes it displays with one user less than I want (just a ...
0
votes
0answers
28 views

How to avoid comment form outputting user id

I have a comment form on a website and here is the code for outputting comments: <ol class="comment-list"> <?php $arg = array( 'number' => 10, ...
0
votes
0answers
56 views

Error: How to allow the “contributor” to upload media in wordpress

am facing a problem with my wordpress site.In my site I prevent/disallow the "contributor" to upload media files. But I want them to upload only the featured image. So what is the trick in that ...
1
vote
1answer
30 views

Network installation giving errors when viewing or adding a user

I have just installed a fresh version of WP which I have turned in to a network install (using the instructions found here). All seemed to be going well, and I was able to add a new site ...
0
votes
1answer
39 views

Hide Administrators From User List except current user (administrator)

this code works great! the problem is that this code also hide the current user (if administrator) so what i trying to to do is hide all Administrators except current user. i need help to edit sql to ...
0
votes
0answers
24 views

change text in users.php “create new user” button

i am trying to change text in h2 a (create new user in users.php) using some techniques like: but none of them seems working. any suggestions? <h2> משתמשים <a href="user-new.php" ...
0
votes
1answer
53 views

WP_User_Query. Whats wrong with 'relation' => 'OR'

I want all the users who meet either Condition1 OR Condition2. Sort by last_name. If I take condition1 AND condition2 ('relation' => 'AND'), the query is OK. If I take 'relation' => 'OR', I get all ...
0
votes
1answer
32 views

User email not being changed (cached?) until next page load (frontend)

I'm working on my own account management from the frontend. So far everything is working pretty good. I do have 1 issue that I just can't seem to fix. When a user updates their account information, ...
0
votes
0answers
8 views

Import Hubspot SUBSCRIBERS to Wordpress 4

just curious if anyone has figured out how to migrate the users from hubspot to Wordpress 4. I have about 4000 users, and I'd like to keep those contacts in the new wordpress installation. THanks
4
votes
1answer
78 views

Override Wordpress user with Oauth2 account

I am trying to setup Wordpress as an OAuth2 client. All of our users are stored in our proprietary CMS which is an OAuth provider. We have very little (to no) users in our Wordpress database, ...
0
votes
0answers
29 views

MySQL query to mass change role of users

I'm looking for a MySQL query to achieve this purpose: Change the role of users that never posted and have registered before at least 60 days. The role to be changed to is a new role to be created ...
0
votes
0answers
8 views

How to add custom where condition in user listing at admin page?

I have found a posts_where filter to add custom where conditions in listing posts. Like this is there any filter to add custom where condition for listing the users? Thanks
0
votes
0answers
121 views

How to create child/sub user under parent user

I've created two custom roles called "Parent" and "Child" and want to have the "Parent" user to create multiple "child" users which are nested under that "Parent".
1
vote
0answers
37 views

Give to site admin the option to “skip confirmation email” when adding new user

in wordpress multisite when we give to site admin the option to add new users, site admin dont have the "checkbox" to add the new user without sending the user email with link activation (see the ...
0
votes
1answer
62 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 ...