How to show a users bio on a page

WordPress already comes with the author page/functionality. Let’s say you have the author john on your site www.example.com, then you’d see his author page at www.example.com/author/john. If you want to customize this, you have to tweak (or maybe even create, depending on your theme) the author.php or other author template files.

Randomize Users

I don’t see an “orderby Rand()” parameter for either get_users or WP_User_Query. There is a filter called pre_user_query that could be used but I am not sure I see the benefit of that when shuffle will randomize the array you already have. $args = array( ‘fields’ => ‘all_with_meta’, ‘exclude’ => array(1), ); $users = get_users( … Read more

Allow users to create post without logging in?

the easiest way is to use this plugin: http://wordpress.org/plugins/guest-posts/ Offer your blog guests or unregistered blog readers an opportunity to post on your WordPress blog without registering themselves. Guest Posts will help you to create a strong interaction and engagement with your blog readers. This plugin will create a form where your guests can submit … Read more

Delete user after Contact Form 7 submission [closed]

You’re doing it wrong. get_currentuserinfo() returns the data into some preset global variables. Try this: function outta_here() { global $user_ID; get_currentuserinfo(); wp_delete_user($user_ID); } add_action( ‘wpcf7_before_send_mail’, ‘outta_here’ ); You can read more about get_currentuserinfo() on WP Codex.

Print profile details as PDF or from modal window

Your question seems pretty specific to your situation, and while there might be a plug-in out there that can achieve what you’re looking for, it probably won’t fill all your needs without some hackery. So, have you considered creating a profile view on the front end and just setting up a print stylesheet for it? … Read more

WordPress Multisite – Load users using custom query

In following to my comments on the question the follow examples for a solution. Default Function WordPress have the function get_users to get all users for each site, works on single or multisite area. But to get all users from each site in Multisite network is the switch to each site important. The follow example … Read more