The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
24 views

Reduce number of SQL queries inside WP_Query loop to fetch author data

This question applies to scale and does not concern typical blog implementations. I'm working on a web app where I'm running standard WP_Query to fetch some custom post types. This usually results in ...
1
vote
1answer
27 views

Query users by capability - uninstall/deactivate callback

The situation Running on MU, I'm writing an open source/publically and freely available plugin. As I used add_screen_option() to allow users to easily setup the admin page to their likings, I'm left ...
1
vote
1answer
42 views

Save users last visited blogs within whole network

I have a big network with subdomains (many of which use domains). I thought about solving this problem with cookies but after some research I don't think that crossdomain cookies is a best Idea. So I ...
0
votes
1answer
42 views

Listing wordpress users with a search function

I'm having trouble finishing off this code that I adapted from Cosmoslabs excellent tutorial. Everything is working (listing and pagination etc) except the search function whic is returning nothing ...
0
votes
1answer
60 views

Query Users by post count, last 30 days and display each users post count according to post type

I'm almost done, the code below does everything but display post count for each user broken down into post types, and also I'm like to filter it last thirty days. I'm trying to get the post for each ...
2
votes
0answers
42 views

Want to add my custom prepare query but add_filter doesn't run

I want to manipulate the order of WP_User_Query(). I want the user to come out ordered by a custom meta field and by ascending order. I have the code correctly working tested it on users.php but ...
4
votes
2answers
149 views

WP_User_Query to exclude users with no posts

I see that it is possible to sort a user query by the number of posts each user has, but is it possible to exclude users with zero posts from the result? In the Wp_User_Query class there is a ...
0
votes
1answer
43 views

How do I find users by password?

I need to add a passkey to each user, so I decided to just giving the user password that value and use WP functionality to store it/retrieve it. So now I need to find what user that password belongs ...
1
vote
0answers
173 views

Wp_User_Query not sorting by meta key

I'm trying to list users sorted by a meta value. I store a score for each user in their user meta which is just a number but the loop isn't sorting. I include the score in the loop so that I can see ...
0
votes
1answer
83 views

Combining two meta_values within one row with query

I've added two new meta_keys to the wp_usermeta table: bid_user_lat and bid_user_lng And I need to be able to get both of these values within a single row, along with the user_id. ROW - (user_id) ...
1
vote
1answer
262 views

How to use search_columns in WP_User_Query?

I am using WP_User_Query to search use by name, ID, email etc... In that case I need to use search_columns field to pass ID or email of user. What i am doing is $my_users = new WP_User_Query( ...
4
votes
1answer
528 views

Searching users with WP_List_Table plug-in

I am trying to devlope a plugin that will search and return my users so I can edit some other metatdata that belongs to them. I have been using the plug-in listed on the Codex as my starting point. I ...
0
votes
2answers
760 views

Create Mashable Follow-like Facebook, Twitter login/connect?

Hi want to ask if anyone can share an idea on how Mashable registration works? Basically the only option you have to register to their site is by Facebook or Twitter, after you login to one of them ...
2
votes
1answer
1k views

How to display pagination links for WP_User_Query?

I think I'm nearly there with this, but I can't get the pagination links to show for a directory of authors I'm creating. My code is below, but I don't know how to get the links to navigate between ...
0
votes
0answers
20 views

Author data outside the loop in author.php [duplicate]

Possible Duplicate: Display Author role in archive or author page Twentyeleven and Twentyten author.php in Wordpress first do a the_post() to get the author data, then rewind_posts(); and ...
0
votes
2answers
181 views

List Users alphabetically with heading

How can I show a list of Users with alphabetical headings? For example: AAdamAlan BBillBob I've found examples that do it with Posts, but I can't figure out how to make it work with WP_User_query() ...
0
votes
1answer
289 views

WordPress WP_User_Query($args) using Where and Like

I wish to return a WP user list in my plugin where the email address matches @mydomain.com. The user list I am after is for all mydomain.com users. Does anyone have a code snipit for that? Thanks.
1
vote
1answer
2k views

Getting all user metadata from user

I am trying to show bio and other custom metadata for my users in a page. So, i want to query the user metadata table for it. I have tried but did not find any functions for that. What i am looking ...
0
votes
1answer
270 views

Is it possible to use WP_USER_QUERY to search by username using a wildcard?

As above guys, I'm trying to build an AJAX search that works within BuddyPress WITHOUT modifying core code, but that allows me to use a wildcard when I'm searching by username. Any suggestions?
3
votes
2answers
2k 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 ...