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

learn more… | top users | synonyms (1)

0
votes
1answer
23 views

Customizing Users in Admin Area

I know how to customize the users in the admin area of WordPress. I have done it many times. However, I would like to customize the user a bit differently as explained below. I would like to add a ...
0
votes
0answers
40 views

User management missing after migration to new host

I just moved my WordPress 3.9 site to a different host by making a mysql dump and restoring it on the new server and uploading the files over. Pretty standard. However, now I've lost the ability to ...
3
votes
1answer
2k views

How to paginate the get_users function?

Im using the get_users function to show a custom list of users on the site. The only issue Im having a problem figuring out now is how to paginate the result. This is a sample of the function that Im ...
2
votes
1answer
91 views

there's a way to include a minimal WP for check only the current user, its roles (caps?) and then release/free it?

I need to count how many times a file in a particular sub-directory is downloaded and track who downloaded it. I'm using a Php file to do it, it isn't a WP file but I need to include WP to get the ...
0
votes
0answers
23 views

Filter user who used to login to my wordpress site

I want to display one more column into the "All User" panel to show "X" if the user used to login to my website at least 1 time. And then add the ability to sort the user list, which user used to ...
1
vote
2answers
149 views

Specific theme for non logged in users

I want to make an specific theme for non logged in users, but I don´t know how to make the function or plugin to shift the theme for them, and left another specific theme for logged in users. Anyone ...
0
votes
0answers
47 views

Add custom field for author and show list author order by that field

I am using variables $author_like_count to count like from all post of author. $author_like_count = $author_like_count + get_post_meta($post->ID, 'like_count', true); My question : How to set ...
0
votes
1answer
63 views

Adapting a php array to WordPress

The guys over at the other Stackoverflow said I should post this here. I've been reading and tweaking code for three days and can't figure this out, because I'm new to php. The developer that wrote ...
0
votes
1answer
161 views

Users - remove 'send password' checkbox

Is there a recommended method for removing the 'Send password' checkbox when managing users in WordPress admin? Or alternatively a way of alterting users to changes that doesn't involve mailing the ...
0
votes
1answer
27 views

Can user meta be shown or hidden depending on user logged in status?

Can is_user_logged_in be combined with jquery somehow to add/remove fields wrapped in a certain class? More specifically: I want to wrap the users' phone and email in class "private". Then if the ...
1
vote
1answer
70 views

Users problem (multi-author plus multisite)

all. I am having a users-related problem on a multi-author site (actually two sites on a multi-site, both of which have the same users). Here are some details: 1) In the backend users' list, the ...
0
votes
0answers
93 views

How to create network-wide taxonomy terms on multisite?

I am trying see if it's possible to create shared network-wide taxonomy terms. Specifically, I want to create a few custom taxonomies for Users (a network-wide resource) and I want them to all share ...
1
vote
1answer
211 views

Getting author page slug from get_users() or get_userdata() functions

wp_list_authors() gives a list of author pages permalinks (site.com/author/john, site.com/author/jenny, etc). I want the same links using get_users() or get_userdata() functions instead. I need these ...
1
vote
1answer
160 views

Personal page for every user (not just authors)

I've got a page displaying all WP users using get_users() and get_userdata(). I need an individual user page automatically (with its own slug) generated for each new user added. I'm a bit clueless ...
0
votes
0answers
27 views

Add new user and user bio at same time

Note this is not referring to any type of author bio display but rather how it's entered via the Admin. As it stands now, the new user screen doesn't have any author bio field. It's only after you ...
0
votes
0answers
57 views

Join wp_users and wp_usermeta

I have a custom user meta named created_by, which is the ID of creator of this user. I want to create a view table like this for example: ID user_login created_by 2 andi admin How to ...
1
vote
1answer
127 views

How to customize wp_signon()

I am trying to get a customized sign on process. The features that are absent in WordPress by default are the following: Allow user to choose a password at the time of registration. Allow user to ...
3
votes
4answers
738 views

How many users can WordPress handle?

I want to design a member login site in WP but I have a doubt that is WordPress can handle more than 40000 users on same database? I am not sure about this so I am stooping my work here. So please ...
1
vote
0answers
34 views

Use Wordpress Login for a non-wordpress site

Please read the following example and tell me if it's possible. Website A (wordpress) has alot of different users who must login to see some pages Website B (non-wordpress) same as A. Is it ...
5
votes
4answers
2k views

How to hide media uploads by other users in the Media menu?

Simply put - how might I completely hide media files uploaded by any other users other then themselves? Id like to disable access to these links & files since they are a way for non-admin users to ...
0
votes
1answer
1k views

show User Registration Date in Wordpress

i want to show user registration date like Member since: 15,dec 2012. I have a code <?php echo date("M Y", strtotime(get_userdata(get_current_user_id( ))->user_registered)); ?> but it show ...
1
vote
0answers
25 views

Wordpress stuck in deleting user

We’ve run into an issue with our WP Multisite where we cannot delete user accounts. The URL i keep getting is: http://example.com/wp-admin/network/users.php?action=dodelete It should look something ...
2
votes
0answers
222 views

Copy a user from one WordPress site to another

Is it possible to copy a user from one WordPress site to another? I copied the record from the user table and all the related records from the usermeta table (12 records by default) but I think ...
1
vote
4answers
892 views

How we can get the user id by its display_name

I have user display_name and with this I want to get the id of that user. So, how can I get the user id?
0
votes
1answer
109 views

Send email to all registered users [closed]

I've got a about 60 registered users. How can I send an email out to all of them? Any suggestions on how to achieve this. The users have registered, so I don't think they are going to mind an email ...
1
vote
1answer
230 views

How to limit users to one comment per post

I am using WordPress as a petition site and hacking the comments system to work as the petition signup. I would like to find out how I can limit a user to post only one comment per post. So far I can ...
0
votes
0answers
22 views

Use same Wordpress Users on a different site

I have WP installed on my main domain, mywebsite.com. I have a subdomain, sub.mywebsite.com, on which I want to utilize the same users from mywebsite.com. I have a multisite set up but I don't have a ...
0
votes
1answer
92 views

Hide comments and posts posted by other user

I've created a user with role Contributor, when i logged in as Contributor all the posts and comments are listed in the dashboard. How to disable this? I just want to see the post made by ...
1
vote
1answer
59 views

Adding a photo to each WP user

I found several plugins (like this one and this one) to get the ability to attach a picture to a WP user. But these plugins are not maintained any more. Since there's apparently no plugin that does ...
1
vote
0answers
183 views

How to display users with posts published between two dates (Sorted by Post-Count) [Multisite]

I'm trying to make a list of users who have published posts within two given dates. My attempts using WP_User_query just work for one blog ID and takes time to load because it runs through a lot of ...
2
votes
1answer
205 views

Limit number of posts a user can make per minute?

So I found the solution to limiting a number of posts a user can make per day but not per minute. Here's an excerpt from the code I found on ...
0
votes
0answers
236 views

Track logged in users with Universal Analytics

I am not versed in php, but I am attempting to setup google analytics to track logged in users based off user role. I found a few plugins that do it, but, from what I have found, its all based on ...
2
votes
3answers
2k views

Is it possible to add taxonomies to user profiles?

I would like to know if it's possible to add taxonomies in the user profile, without hacks. So far I have been able to add taxonomies to custom post types and all, but now I would like to add it to ...
0
votes
0answers
63 views

wp-admin: Sort users by surname

Is it possible to alter this table in the backend so I can sort users by Name and Surname? I have dozens of users on my multisite that need to be sorted by Surname. Can anyone help me out here? ...
0
votes
1answer
45 views

Custom registration field to SQL database

I have created new columns in a SQL table called wp_users. Those fields are "giodo", "handel" and "regulamin". What I want to do is to add '1' to each column when a user registers and selects ...
-1
votes
2answers
530 views

How to get current user ID in array meta_value?

Here is example: $args=array( 'meta_key' => 'Something', 'meta_value' => '',//here goes current used ID by default. 'meta_compare' => '=', ); $user_query = new ...
1
vote
1answer
81 views

How can I check if the admin bar is visible to the current user?

I'm new to WordPress. I would like to know Is the admin bar visible to all users and roles? If not, how can I check it is visible to the current user?
0
votes
1answer
72 views

SELECT from wp_users, get Displayname too

SELECT post_author, count(ID) as amount FROM dbold_posts WHERE WEEKOFYEAR( post_date ) = WEEKOFYEAR( NOW() ) AND post_status = 'publish' AND post_type = 'post' GROUP BY post_author ...
0
votes
1answer
93 views

Why checkbox is not saved in user profile page?

I added new options in user profile page. I added checkbox but it is not saving if all multiple options are checked. <input type="checkbox" name="neww" class="neww" value="one"<?php ...
0
votes
1answer
139 views

Delete user from frontend

Hi I am working on a frontend admin where a user must be able to delete his account. current_user() is a custom made function of me that retrieves the user meta data. Does anyone know how I can make ...
0
votes
0answers
13 views

User info in the admin sidebar

I think nobody has yet think of this, hope someone can help me. Im trying to add a user info pannel in de admin sidebar, right at the top. Just like the wp-admin-bar-my-account in the admin bar, just ...
1
vote
2answers
653 views

Get author id from url

I am trying to get the authors user_id on a page linked to by using get_author_posts_url(),. For example http://example.com/author/John%20Smith where John Smith is user_id is 23. I need to get ...
0
votes
2answers
1k views

What is the proper way to get logged in user id in a plugin?

I need to get logged in user id inside my plugin. Is this the proper way? $root = dirname(dirname(dirname(dirname(__FILE__)))); if (file_exists($root.'/wp-load.php')) { ...
0
votes
2answers
271 views

First and last name fields not filled when using wp_insert_user

I've written a plugin to allow authentication to a WordPress install via an external API. Everything is working except the first and last names are not being set for the new WordPress user created by ...
4
votes
4answers
3k views

Front end registration/login & publish/update 1 custom post

I want to be able to allow a user to register/login via a front end form and be able to create 1 custom post which only they will be able to edit and update via a front end form. This will be part of ...
2
votes
1answer
471 views

How to show custom post type count in the users admin page

There's a post count in the user page of the WordPress admin area. I have a custom post type events. Is there some hook I can use to add my event count to the post count, or else to add a column for ...
2
votes
0answers
137 views

User-edit role setting distinct from wp_capabilities?

I need find out how $profileuser->roles is set. wp_capabilities can hold multiple roles Whereas user-edit role caters only for a single role. Under certain circumstances it is possible for there to ...
0
votes
1answer
149 views

Assign random (and unique) user meta upon registration

When a user registers, I need to assign a random but unique, 4-digit number as user meta data. The number will be static and not change: Not by the user himself or any user with a higher capability. ...
0
votes
0answers
29 views

User permission per category of custom post type?

How to allow a User to post only for a unique category of a custom postype? Only one user per category can publish into that category. Is possible? Thank You!
0
votes
1answer
18 views

Redirect current user to their most recent custom post

Is there a way that, if a user tries to access a particular page, they are redirected to their most recent post (In a custom post type)? Or, if the user has no posts, redirect them to the homepage?