Tagged Questions
0
votes
1answer
22 views
How to list users like an archive page 10 users on page and have navigations
How can i list registered users like an archive page? and how can i make a link on user name to point to user profile page?
Please see the link http://postimg.org/image/9wkp6kfib/
<?php
/*
...
0
votes
1answer
28 views
How to show a users bio on a page
I'm fairly new to Wordpress. I have users that create profiles on my site and one of the sections is their bio. How can I take this information and display it on lets say a "users profile page".
...
0
votes
1answer
58 views
Display a list of users with avatar filterable with alphabets
I'm trying to create a page which should display a list of users with the role "Author" only and exclude all other default and custom roles.
I also want them to be filterable by alphabets, so if I ...
2
votes
1answer
48 views
Getting the Current User
I am trying to use information about the current user in a plugin that I am designing and I have seen people go about it in several different ways.
My Way
This way seems to work, but am I missing ...
0
votes
1answer
49 views
How can I call a specific file (via php) by referencing the logged-in username?
I want to setup a page that will display different content for each registered user of my site who falls within a specially-created user role ('map_user'). So, for example, if a site user who is in ...
2
votes
1answer
240 views
Display user's total comment count outside The Loop
How do I display a user's total comment count outside The Loop?
I use this code to display comment count inside the loop:
<?php
global $wpdb;
$user_id = $post->post_author;
...
2
votes
1answer
53 views
automated tests as a user?
I checked out (with svn) the code for Automated Testing. However, I want to run unit tests as a specific user.
Is there a way to do that? That is, is there a way to loggin with php code alone?
0
votes
1answer
134 views
Use of antispambot with $curauth->email
This is probably pretty simple, but...
I want to use the WP function antispambot not on
get_the_author_email but on a value in a field I added to User Profile called publicemail. Everything I've ...
3
votes
2answers
1k views
How do I create a WP user outside of Wordpress and auto login?
I've built a directory of members on a non-WP site (using php and mysql). Each member can log in and update their details using a username and password.
I want to be able to get this to automatically ...
0
votes
1answer
429 views
Uses for function: wp_update_user
my theme currently uses the wp_update_user function to update a set of user metas.
I created to some new user meta fields that I would like to include in the existing wp_update_user. The function ...
0
votes
1answer
188 views
“operation successful” message
i'm writing some custom wordpress pages, and i want that after an action where the user has addess an item to a list (after the user press the submit button and the page reloads showing the updated ...
1
vote
1answer
405 views
User management system similar to wordpress one?
I am in very big need of a user management system just like the one that wordpress uses but without being blog related. I need to be able to manage users and apply certain privileges depending on user ...
0
votes
1answer
378 views
Add extra field to users
I have this code that adds the check box to the 'Edit User' page but when i check it, and refresh the page, the box becomes unchecked... what is wrong?
add_action( 'show_user_profile', ...
0
votes
1answer
147 views
Display additional user fields
A theme is in development that echo's fields from the users account on their themed account page. This is the standard format.
<?php echo $current_user->user_lastname;?>
Thats all well ...
0
votes
1answer
398 views
How do you create two separate Register pages?
I am looking for a way to make two separate register pages. One will automatically assign users up as a subscriber, while the other will sign them up as a contributor.
The only thing I have thought ...