Tim-dpi
Member
Posted 2 years ago #
I want to manually relate user profiles to posts. The user profiles need to be shown in the sidebar. So when a user reads a post, he can click on a user profile that's related to the subject of the posts.
I've already done this with posts by using Microkid's Related Posts plugin, but now I want it with user profiles.
Another options is to save the user profiles as posts, but I allready used Microkid's Related Posts to relate other normal posts...
Does anyone know how to do this???
So when a user reads a post, he can click on a user profile that's related to the subject of the posts.
Is that the author of the post?
Related
Author Templates
http://wordpress.org/extend/plugins/tags/profile
Tim-dpi
Member
Posted 2 years ago #
Hi MichaelH,
Thank you for your reply. No it is not the author, but it will be one or more other registered users. It isn't possible to view user profiles from other registered users on my website, is it?
You'll want to look at using something like the template tag, wp_list_authors(), to list users, then review Author_Templates to display profile information about your users.
Tim-dpi
Member
Posted 2 years ago #
There is no such thing like wp_list_users() wright? Because the users I want to relate to are no authors, just regular users.
Oooh I just found this website which provides a script to display all users. http://www.mattvarone.com/wordpress/list-users/
wp_list_authors will list users
Tim-dpi
Member
Posted 2 years ago #
It only lists authors.. not regular users (subscribers)
<?php wp_list_authors('optioncount=1&hide_empty=0'); ?>