So I run a site where I have "contributors" and am planning on creating a "contributors" page to display info about each of them. What I would like to do is just display the name and profile of each user using the info they filled in on the profile in the admin area. I know I could just code up a quick mysql query but didn't know if wordpress had an easier way to do this.
i assume that you're using 1.5 - people seem to forget to include what version they're using which makes ti difficult to know.
so assuming you're using 1.5, you can create a template called authors.php. read this for template info:
http://codex.wordpress.org/Templates
Within that template file, you can use author tags:
http://codex.wordpress.org/Template_Tags
read the the relevant tags and see the variables they offer. With a few tags you can create the required effectof having a list of authors on your page, with their profile.
http://codex.wordpress.org/Template_Tags/wp_list_authors
http://codex.wordpress.org/Template_Tags/list_authors
They do the same things but they do it a little differently, but they are what you want to generate a list of authors. They should generate links that will open up pages with a list of the author's work.
I'm semi-getting a hold of this but am having trouble just listing what I'd like. For instance, I have:
<?php list_authors(FALSE, FALSE, TRUE, TRUE); ?>
<?php the_author_description(); ?>
on this page: http://www.theappleblog.com/contributors/
Obviously I'm not doing the author description tag correctly.
Also, the links aren't working for the author either...how would I fix that?
Hmm...okay, just read this for the_author_description tag:
"Displays the content of the Profile: field in a user's profile for the author of a post. "
So according to that it would only show my profile on that page since I created the page (which is what it's doing at this point).
How could I make it show everyones?
Anybody have some ideas about this?
Kathy_P
Member
Posted 7 years ago #
This thread describes one way of doing what you want to.