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

learn more… | top users | synonyms (1)

0
votes
1answer
35 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
43 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
106 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 ...
6
votes
1answer
200 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
27 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
167 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
31 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
48 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
25 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
419 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
67 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
20 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
32 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
38 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
60 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
13 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
57 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
52 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
1answer
38 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
130 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
222 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
36 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
1answer
95 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 ...
2
votes
1answer
67 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
171 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
45 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
58 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
50 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
5
votes
1answer
259 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
65 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
16 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
271 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
90 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
99 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 ...
1
vote
2answers
231 views

How to redirect a specific user after log-in?

I want to redirect an user and his user ID is 6. So I added this code into my functions.php if ( is_user_logged_in() ) { $user_id = get_current_user_id(); if ($user_id == 6) { ...
0
votes
0answers
43 views

Allow Multisite admin to edit users

i am using wordpress multisite. and i was looking for solution to allow sites admin to edit users that belongs to their website. as i understand, i need to give this permission to site admin to edit ...
0
votes
0answers
65 views

My Admin Not Receiving Comment Notifications

I have an issue where my admin is not receiving notifications when she receives a new blog comment. All setting is discussion are set up for her to receive emails and she is the only user on the site. ...
0
votes
1answer
77 views

WPML Default Language User Meta [closed]

I'm having a super hard time finding the names of the default user meta that's included with WPML. WPML has a setting for "Default Admin Language" under every user's profile. I'd like to access this ...
0
votes
0answers
126 views

Associate multiple users to custom post type

Trying to associate multiple users to a custom post type (product) and then display products on user profiles (Buddypress). Have hit a brick wall trying to decide how best to implement so hoping for ...
0
votes
0answers
37 views

Add dynamic url with external page in Wordpress

I'm working on WordPress website, where user can publish his profile using URL. I've number of user who haven't matter with WordPress database. Now website is like: http://www.abc.com/ Now I've ...
0
votes
0answers
87 views

User Meta Search Script with Strange Number of Results Per Page and Incorrect Number of Items

I have not been able to find a plugin that allows me to search well on user meta fields from the WP backend users search. The closest I’ve found is "Improved user search in backend" however, this is ...
0
votes
0answers
202 views

Get id from database

I need this ID to delete users from table. My plugin crate new table in DB when he is activate. All this code is in main.php, and in second.php i have only form that display my results.. and i include ...
0
votes
1answer
60 views

Error when send reset password

I forget my Password in my site, So i go to this link to res http://domain.com/wp-login.php?action=lostpassword And put my email and send it. I received an email, But without link to reset my ...
0
votes
0answers
16 views

any way to bind a taxonomy term to o user to just query it afterwards?

I need somehow to add an existing term from an existing taxonomy to a user like a category of users, but not for the purpose of limiting them to posts is that easily possible? I found some plugins ...
0
votes
1answer
27 views

Restrict users post for himself

I am trying to build a system that lists users posts only (that I have managed to code) but also restricts users from seeing eachothers posts. If user A has his post under: domain.com/category/postA ...
0
votes
1answer
25 views

Confirm Deletion not found

I need to delete user. When go to wp-admin/users.php and click to delete, and redirect to delete page, I cannot see Confirm Deletion. How can delete user ??
0
votes
1answer
53 views

How do I enable new account notification emails (to the administrator)?

As an administrator, receiving an email when a user registers to my blog is important. How do I enable this feature?
0
votes
3answers
161 views

current user can edit user?

I want to know if it is good practice to use: if ( current_user_can( 'edit_user', $user_id ) ) { // do something } because in Wordpress documentation a did not see this capability
1
vote
1answer
134 views

How to create user groups and allow custom posts and plugin modify/access to specific group?

I am looking for plugin or is there any method/function to create user groups and give an access them to modify/access.