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

learn more… | top users | synonyms (1)

0
votes
0answers
21 views

How to track all users logged into a site?

I'm working on a project that may have two or three content creators. I would like to be able to notify any of them if the other(s) are logged in. This is to prevent one user from editing a post that ...
0
votes
2answers
73 views

Custom comment field not showing when logged-in

I've added a custom field in comment by using function comment_label($fields){ unset( $fields['url'] ); $fields['rate'] = '<p class="comment_form_rate" id="rate_recipe"> ...
0
votes
0answers
14 views

Site admin that can see everything, but not save

Maybe it's strange question, but I'm interested in it; Is there any way to allow user display everything, that Admin can see (site options, custom types, plugins settings) but disallow to edit ...
0
votes
0answers
22 views

Hide categories from authors

Is there a possibility to hide certain categories from specific user roles? This must only affect the backend, especially the create post site. On the frontend these "hidden" categories must not be ...
1
vote
1answer
16 views

New users not showing up in Post -> Edit

Background: A client has used first and last names as the user names, and we are trying to replace the old users with new users with more secure user names. We need to assign the posts for the old ...
4
votes
1answer
83 views

Grouping users under parent user

What it needs to be like: one "super user" with user role company normal users with user role employee I don't want "super user" to be able to have more capabilities, especially admin-like ...
1
vote
0answers
22 views

Logins from WP users table use on another page

I'm creating new website and I want use logins from WP table wp_users. I have problem with password encryption. I tried something with PasswordHash(8, True) but it generated string, which doesn't ...
0
votes
1answer
74 views

Change user's display name programmatically

I'd like to change a user's display name using this code snippet in my theme's functions.php file: $user_id = 672; $display_name= 'Les Yeux'; $user_id = wp_update_user( array( 'ID' => $user_id, ...
0
votes
1answer
23 views

Custom Taxonomy user based creation

I need to create a User based Custom Post Custom Taxonomy Term, so in admin and frontend I can relate the Creation/Update & Delete of the term to the current logged in user. Is there a ...
0
votes
1answer
48 views

delete_user_meta Delete one value out of array

The code I have is not working cause the value saved as array and I'm not sure how to fix this. // Remove favorite authors from current users DB function fav_author_remove_user(){ ...
0
votes
1answer
51 views

update_user_meta add value on the top on existing value

I'm working on a plugin that will allow people to favorite authors on WP site. When you click on Favorite this author button, it will send author ID to below function and save that value in DB. ...
0
votes
1answer
51 views

User profile in front-end

I want every user to get a profile in the front-end of my website. So I want to visit website.com/user/user-name and view all the information of this user. Is this somehow possible? I would like to ...
1
vote
1answer
37 views

Create custom post with custom user rules

I am create a custom user post type testimonial and want to give permission to user to edit and delete there post but its show some error. 1. I created user rule. function ...
0
votes
0answers
92 views

Let user delete comment on front end only

I have a edit comments page on my sites front end and have placed a delete comment link for users. The link works however it takes the user to the backend to confirm the comment deletion. I cant have ...
0
votes
3answers
43 views

List all users based on array of domains

I would like to display a list of any users whose emails are detected to have email addresses from an array of domains. $domains = array('domain1.com', 'domain2.com', 'domain3.com'); If any users ...
1
vote
1answer
46 views

How does WordPress connect sites and the wp_users table?

I'm not clear how WordPress connects the wp_users table with the various sites under a Multisite. Say I have a site with blog_id = x then I would assume there's a wp_x_users table that contains the ...
0
votes
0answers
25 views

Can you have the users list pre sorted by specific column?

I would like to organise users by date registered every time an admin visits the users page, without having to click again from: http://localhost:8888/wp-admin/users.php I can add the date ...
1
vote
1answer
40 views

How to add edit users capability to a custom role?

Here is the code which I added to give 'edit_users' capability to a custom role. function edit_shop_manager() { // Get custom role $shop_manager = get_role('shop_manager'); ...
0
votes
1answer
24 views

How to allow only two (or more) users access to a plugin

I need to allow two specific users, not groups, to use a certain plugin that is listed in the admin menu area. I have this code which allows one user (user id = 2) to see the plugin : add_menu_page( ...
0
votes
0answers
12 views

Woocommerce Dealer User Role

Woocommerce documentation mentions a "shop manager" role which I do not see in v2.4.10. Does the "dealer" role have same permissions as "shop manager"?
0
votes
0answers
31 views

Users set passwords but cannot login

I'm working on a WP-based site that requires creating accounts for users and sending them their password reset links by email so they can activate their accounts. After manually sending out all the ...
0
votes
1answer
27 views

Store extra user values permanently

I need to store an extra value for users. I have made an extra field on the users page and on the "add new user" page. When adding a new user the extra value is stored using "update_user_meta": ...
0
votes
0answers
20 views

New User Send Password on Mobile - WordPress

How to send new user's password on their mobile at the time of registration in WordPress?
2
votes
0answers
62 views

Change the author slug from nickname to ID

I've changed the default registering option by allowing people to sign up with their e-mail addresses. They also have an option to add their firstname, lastname but it's not required. // Allow email ...
0
votes
0answers
20 views

Wordpress logged in users see 180 days every day other content on a particular page

What I want is this: A user logs in for the first time and gets 180 days. In these 180 days , he can visit the information page . On this page the content changes every day in this 180 days. Each day ...
0
votes
1answer
32 views

Wordpress Multisite restict user access

I have a Wordpress Network with 3 sites. I want to know how can I restrict the user access in the subdomains. Actually, members of the principal site can login on the subdomains. Do you know if a ...
0
votes
1answer
63 views

Get usermeta info from sql query

I'm using WooCommerce and need to get my users billing name, billing address, billing phone, billing email, etc from wp_usermeta in a good format like this: name,address,phone,email fake name, 123 ...
0
votes
1answer
47 views

Show number of posts by logged in user

How to display the number of posts written by the logged in user. Here is what i got from the codex so far <?php echo 'Number of posts published by user: ' . count_user_posts( 5 ); ?>
0
votes
0answers
13 views

Import new users

There is another post here which has a solution for importing new users. However, this is no longer valid as registration.php is deprecated. Is there another way for importing users in bulk from a CSV ...
0
votes
1answer
41 views

Users Ultra: Hide asterisk for required registration fields?

All of the fields in my Users Ultra registration form are required. It makes no sense to place an asterisk on all of them. Is there a way to remove the asterisks?
0
votes
0answers
22 views

How to display and edit “Your comment is awaiting moderation.” comment message for logged in users

I want ALL users regardless of their logged in status, except admin, to have their moderated comment status displayed on the front end as per non logged in users. If I could edit the wording of the ...
0
votes
1answer
114 views

Updating user meta

I'm struggling to figure out to get the code to update a single current user meta. For instance if I want to update their first name automatically. I'm using $current_user = wp_get_current_user(); ...
0
votes
0answers
14 views

Globally Change Name of User Profile Fields

I am trying to globally change the name of user profile fields or add new fields to the users' profile (whichever is easier and takes less resources). I tried using something like: add_filter( ...
0
votes
0answers
20 views

Assign users to groups that can only see/edit certain pages within the admin?

This may have been answered before, but I'm having trouble getting it to work. I want the ability to assign users to groups (e.g. Bob & Susan are assigned to Group 1). When I'm creating pages, I ...
0
votes
0answers
140 views

Cannot login in Wordpress even after changing hash password in phpmyadmin

An hour ago I changed the password of my Head Admin user. But after this I was not able to login anymore. So I have tried to reset the password in PHPmyadmin with the md5 encoding and even with this ...
0
votes
1answer
89 views

How can I sort get_users() by any value (last_name, user defined fields and more)

I want to sort the result of get_users() by last name, first name, user defined fields or whatever. How can I achieve this while still using get_users()?
0
votes
1answer
51 views

Update only some custom user fields

I have created multiple user fields. These fields are only managed by the administrator to add additional information about the user Now the rules have changed. The users must gain access to their ...
0
votes
2answers
40 views

Overflow Video for No Login Users

Try to figure out a way to pop up a Video for no login users in Home Page via functions. I am using a Genesis theme. Any Suggestions?
1
vote
0answers
83 views

Custom User meta field display

I'm using PODS plugin (https://wordpress.org/plugins/pods/) to extend main types in wp and WP Tiles for tiles rendering (https://wordpress.org/plugins/wp-tiles/). I'v already added field position to ...
0
votes
0answers
14 views

Show page to group of users

I have WordPress user group and want to show them a specific page from the admin dashboard. I don't find enough information in google. How can i do it?
0
votes
3answers
55 views

I want to change my user name

Is it possible to change my user name? It was only after choosing it that I realised I had misspelled it.
0
votes
0answers
24 views

WPMU: Sign-Up Page on each site with automatic sign-up?

I wonder how todo the following and if someone could help me with a solution for it: I have a multisite setup, where I want on each site to have their own sign-up page (e.g regular signup-template ...
0
votes
0answers
65 views

Allow users to embed video URL from internet

I'm admin of my site and want to allow anyone to post a video URL from youtube, vimeo, videogram etc. on my site. When I post myself the video URL on the admin site I simply add the URL there, and the ...
0
votes
0answers
104 views

Updated to WP 4.3.1 and now it won't let me publish or update user info

WordPress updated to 4.3.1 and now I can't publish. Every time I hit the publish button, the screen just takes me to the "posts" page in the dashboard? Also, if I try and manually add a new user, and ...
0
votes
2answers
41 views

How do I change the user via SQL?

I change a user via SQL in wordpress: SET @old_user='old_user'; SET @new_user='new_user'; UPDATE wp_users SET user_login = replace(user_login, @old_user, @new_user); UPDATE wp_users SET ...
1
vote
2answers
74 views

Cannot set user passwords

In the admin panel, if I go to "Users -> Your Profile" I don't have the inputs to set the password. I can only generate it, but I want to set it by hand. Is that some kind of bug, or was this ...
5
votes
1answer
112 views

Network not displaying all sites and users

We have more than 10,000 users and blogs on our wordpress network. There are 2 problems: admin blogs listing wp-admin/network/sites.php only displays 1 page, no pagination, not displaying all blogs ...
0
votes
0answers
90 views

List users in a dropdown for login

I have a loginscript that works. Now I want to expand the login functions with a dropdown filled with all users. This is the login: <div class="login-form"> <?php $login = ...
0
votes
1answer
430 views

Remove email verification when new user register

Please note I'm not posting this question without doing google search, but the problem is every single result I found is either about BuddyPress or WP Multisite, but I have a WP Single installation ...
0
votes
1answer
22 views

post acces for guests / unregistered users only

is there a way to restrict complete posts/pages to be viewed by guest (unregistered) users only, hide them from subscribers/logged in users? These posts shouldn't show up in category archive pages for ...