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

learn more… | top users | synonyms (1)

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.
0
votes
1answer
48 views

How do I make it so that the all users page is not a white screen?

I tried to up the amount of users displayed on the screen, and then after clicking 'Apply', the Users page stays white for me, and only the user page. How do I fix this?
20
votes
2answers
10k views

Editor can create any new user except administrator

I have set up a WordPress site for a client. The client has the Editor role, however I have installed the Members plugin and given the client the capability to add new users to the WP admin. This is ...
0
votes
1answer
30 views

How create a multisite setup with “phantom” accounts and passwords?

I'm currently considering converting my college newspaper's WordPress install into a multisite installation in order to create an extra blog that I would like to take a lot of the functionality from ...
0
votes
1answer
56 views

List of users with email and role

I'm looking to create a list of all the users on my wordpress site with their email and role. $blogusers = get_users(); // Array of WP_User objects. foreach ( $blogusers as $user ) { echo ...
0
votes
2answers
82 views

Modify function to only return values for the user that’s logged in

I'm trying to modify a function in a plugin so that it only returns the custom post type (venues) of the user that’s logged in (by default it displays all venues). This is my first time customizing a ...
0
votes
0answers
21 views

plugin or method for picture cropping of featured image

I need some advice what you guys find to be the best way, to let the user set a featured image with a specific aspect ratio. I want to guarantee that the image is filled in a div at the frontend with ...
0
votes
2answers
83 views

Change Buddypress Admin Profile Page Permalink

Does anybody know how to change the default admin profile permalink in Buddypress which is: domain.com/members/admin/ to this: domain.com/members/MyUserName/ I tried to change my name and it doesn't ...
0
votes
0answers
65 views

How to create team for users?

i trying to create team to manage all the users in more effective way in multisite. i want to create some temas like "support" "super admins" and etc... to each team we need to have option to select ...
1
vote
2answers
389 views

How can I add a user through SQL?

By mistake I just ran this query: (note the extra ;) DELETE FROM wp_users; WHERE ID = 321; How can I add a user through SQL? I searched around but couldn't find a proper answer to this fairly ...
0
votes
2answers
46 views

Manage user profiles with Wordpress

I would like to create a website for a scholarship. For that, I want to create three pages for seeing all members of the scholarship: one for members of the board of trustees (people who created it) ...
1
vote
0answers
62 views

Allow guests to use WP Customizer but disable save button

I've seen in some WP demo themes that developers let users to see a theme customizer (allowing to try the customizations) disabling the save button as well. So the question is how to do that in a ...
0
votes
0answers
113 views

Add button in users.php

I am creating a activated or not button in my users.php file. So far I have written the code to activate or block the user. Now I would like to start validating this by doing a post and update the ...
4
votes
3answers
4k views

List users by last name in WP_User_Query

How can I list users by last name ASC when using WP_User_Query? There is an orderby parameter but looking in core it doesn't accept ordering my user meta. Anyone know how to extend WP to allow this ...
1
vote
1answer
42 views

Getting user roles in plugin files

I have a plugin in which I need to use the get_editable_roles() function but I keep getting a fatal error saying that the function does not exist. In my main plugin file I have this code: function ...
0
votes
1answer
181 views

BuddyPress | Check if user is in current group [closed]

I'm developing a plugin for a website, which uses the Group Extension API to create a new "subpage" in the group's page, just like Home, Members... Here's the code: class BP_Suggest extends ...
1
vote
1answer
529 views

WP_User_Query with combined meta query - not working?

I'm trying to use WP_User_Query class to list all users basing on their specific meta fields. When I use simple single-meta query, it works fine: $q = new WP_User_Query( array( 'role' => ...
0
votes
1answer
36 views

Separate Profiles for Users

I may be using the word - 'Profile' wrong here, but after two hours of googling am left with zero results. So, the query is as follows - We wanted to make a site where we can invite writers to write ...
0
votes
1answer
97 views

Wordpress Authentication Middleware

What I want to achieve is: For every request , if the user is not logged he / she will be redirected to the log in page. If the user is logged in then he / she can access the site. class Auth{ ...
2
votes
1answer
207 views

Query wp_usermeta alongside wp_users

I want to use the WordPress query functions and no external plugins for the task. Here is what I have so far: add_filter('user_search_columns', 'user_search_columns_bd' , 10, 3); function ...
0
votes
1answer
196 views

Admin approval for editing user profile

I was looking for a plugin but to no avail. Anyway, I'm building a custom Wordpress theme using ACF Pro (which works perfectly) and have added a lot of different custom fields for each user (like ...
0
votes
0answers
452 views

How to create a link to a user's profile page

I've created a user list for all the customers who registered on my website. When a outside user (or guest) browse my website and want to view the profile of a specific user, they should be able to ...
0
votes
0answers
33 views

Restrict all possible back end options for users

I was looking around for the best BACK END user restriction plugin. I could not find a plugin that is capable to restrict ALL POSSIBLE AND SINGLE OPTIONS. They all allow you to restrict basic options ...
0
votes
0answers
25 views

Login user automatically between two installs

I have two wordpress installations, on domain.com and support.domain.com. I figured out how to sync the users, now I would need to find out how to sync the login state, so the users won't have to ...
0
votes
1answer
55 views

Wordpress Redirect Specific User. Tired of Peter's redirect Plugin its not working

I was trying this since 2days still not a good answer. Tired of Peter's login its not working. I want to redirect a specific User (Like "John" or someone) to a specific Page. its a hidden one i want ...
0
votes
0answers
28 views

Remove all the Mysql user that do not use gmail and yahoo

i need some urgent help for my website. (wordpress) we have almost 200K user but there is almost 30K user are bot/fake that are not using gmail or yahoo email address. bot/fake user use email address ...
0
votes
1answer
192 views

How to share User Database between Two Multisite Installations + More

My situation is a bit different to the other questions/answers I have read online here. Currently I have a Wordpress Multisite Installation on Server A. Server A is almost full in terms of ...
0
votes
1answer
15 views

How To Find The ID Of All Registered Users?

How can I get the IDs of user IDs, regardless of role?
0
votes
0answers
14 views

Planning to implement member homepage with custom queries, things to watch out for?

I'm planning to develop a custom user portal which will populate the member's homepage with queries based on options the user has selected. I foresee it going as so: Collect information (what ...
0
votes
1answer
26 views

When a user registers, create a page from an existing template with their username as the page name

I am wondering if something like this is possible? If so, where would I start! I'm certainly not looking for someone to explain 100% fully and give free code examples etc, only a nudge in the right ...
0
votes
1answer
161 views

admin ajax is not working for non logged in users

I know that this issue has been discussed many times, but I think I tried most of the advises. This is my code: $.post('<?php echo admin_url( 'admin-ajax.php' ) ?>', {'action': ...
0
votes
0answers
69 views

Wordpress intranet, dropbox integration

For my sports team i am building a wordpress based intranet (closed environment which requires log in) to share messages. Everyone in this system needs to have his own space for storing files such as ...
2
votes
2answers
802 views

Assigning tags to user?

Does anyone know a way (either programmatically or through a plugin) to assign tags to users? I want to build a list of user interests as tags, so I can match related content to their interests. ...
2
votes
1answer
98 views

Total Word Count For Posts And Comments By One Author

How can I count words in posts + tags + comments and display the number of total words used by each author ?
1
vote
0answers
34 views

wordpress archive a user

Please note this question was originally created in stack overflow. I have moved it here due to recommendation. I apologize if this can be answered elsewhere. I tried searching around with no ...
0
votes
0answers
136 views

How to sort users by registration date in the admin area of the Wordpress Multisite?

Wordpress Multisite has a sortable Registered column in the list of users in the wp-admin area. This is fine, but it sorts users by user id, not by registered date. How to change this?
0
votes
0answers
49 views

Wordpress MySQL query to add multiple users with related article

What I need is to add 100 users to wordpress and each one should have one post assigned to him, like a profile page (I don't want to use the default wordpress profiles because in the feature each user ...
0
votes
1answer
20 views

Not able to call value in the core files

I am working on a theme that display profiles I build a code according to theme - that it should display only limited profiles with the role queen and king.. I manage to open all the profile now the ...
8
votes
3answers
1k views

Confirmation required on email change

I'm just wondering why wordpress doesn't send confirmation mail every time user change his/her email address. How do we know that email address is not fake or mistyped? So can anyone give me some ...
0
votes
0answers
79 views

Getting user meta value in default user list in wp-admin (MU)

is there any way I can get value from a specified user meta in the default user list in WPMU? I am talking about the wp-admin/network/users.php list. It lists Username, Name, E-mail, Registration date ...
1
vote
1answer
376 views

Showing user ID on user main page from screen options

On the user main page in the screen options, you have some choices for displaying user information e.g.. e-mail, role, posts etc.. Is there a way to be able to display the user's unique ID?
0
votes
1answer
778 views

Add a button to users.php

I am working on a plugin that adds meta data for each user to the users.php table that is displayed by adding columns. I have that done but I would like to also add a button that will delete the meta ...
0
votes
1answer
46 views

How to order posts by the user_login that corresponds to a meta_value (which is a user id)?

I'm trying to create sortable column headers for a CPT list, but I'm stuck on one piece. When clicking on an "Assignee" column head, I want the list to display alphabetically by the login name of the ...
8
votes
1answer
14k views

If current user is admin or editor

How can I check to see if the current logged in user is an admin or an editor? I know how to do each singularly <?php if( current_user_can('editor')) { ?> stuff here for editors ...
0
votes
1answer
108 views

How to query authors by custom taxonomy?

I have a custom taxonomy for users which is country. Is there a way to query all admins by term_id or should I get all users and check each one with a for loop? I tried this: $user_query = new ...
0
votes
2answers
248 views

Storing user submitted forms [closed]

I was wondering what's the best way to create a form which can only be seen by registered users. The main idea I'd like to achieve here is for users to log in and gain access to a page where there's ...
0
votes
1answer
308 views

Export Users and their Advanced Custom Fields

I've google it but i am still looking for a solution. Is there a plugin or method to export wordpress users with their advanced custom fields? I don't want to export ACFs structure but users' data.
4
votes
2answers
478 views

user change password email when reset by admin

I am really new to wordpress programming and I am not even sure if this feature exist. What I am trying to do is send email to users (not admin) when I as an admin change their password/email? At ...
0
votes
0answers
72 views

Create advanced/editable wordpress profile page on the frontend

I'm spending days and days traying to code a frontend user profile page where logged-in users can edit their data, but seems there is no right way to do that. Nobody on web seems to explain a secure ...