Dynamic wp authors page
# August 30, 2009 at 8:29 amQuote:a page that will list staff, bios, and images… DYNAMICALLY!
You want to make a Page template which lists authors , with author description and images/gravatar ?
btw: Theres lots of plugins which may do some of what you want, and that has code you may reuse in a Page template: http://wordpress.org/extend/plugins/tags/author/# August 30, 2009 at 8:57 am
I think http://codex.wordpress.org/Function_Reference/get_userdata could help you.# August 30, 2009 at 9:19 am
At the top of this page: http://www.ericdmunoz.com/dhe/author/admin/, you can see that I have a box w/ the user name, pic, and bio (this is in a testing phase).
I would like to be able to repeat this, if at all possible.
Like I said, I’ll try the userdata and see how that goes.# August 30, 2009 at 10:43 am
Ok, it looks like the 2nd one would work.
I’m not very good w/ php, but what I can tell is that it has an multi-author loop that I can add bio info via the backend.
I’m a teacher full-time so I have to do grading today and I’ll try it this week and I’ll let you guys know how it goes. :D
Hopefully, it works.# August 31, 2009 at 11:27 pm
Ok!! I found something that works!!!
I have 1 problem. There’s no link to individual profiles.
Here’s the line in which I want to link up to the individual profile:Code:Code:< ?php echo $user->user_firstname; ?> < ?php echo $user->user_lastname; ?>
to a personal profile?
By profile I mean the default author.php page.Viewing 9 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic.