I've been all over this site and google, and the WP codex looking for an answer to this one. I know it's out there, and I know it's easy. Maybe has something to do with user_nicename, but I just can't make it work.

What I'm trying to do for the site I'm working on is eliminate any need and any ability for the user to see the backend of the blog. This means front-page everything: Login, Post, and if I can swing it - a dash board.

I envision changing the "site admin" link on the wp login/logout code to link to a blog page called "User Dashboard" there, the user could view a list of their posts and comments.

Really reaching for the stars, they should also be able to see a list of comments on their posts, and really really reaching for the stars - some kind of messaging system.

I'm currently simply trying to get the post list down! I can't figure out how to return the_author post list based on a dynamic setting of where the request is coming from. IE: Only list the current logged in users posts/comments. There is a plugin called Full Author User List or something to that affect, that doesn't work anymore as it's outdated.

Any help?


there you go, i'm not the only one trying to bring back-end functionality to the front-end. anyway its not that hard go to your "USER DASHBOARD" template's file and locate where the loop starts something like:

<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

and just above it paste this code:

/* First get the user info */
/* Then query_posts by user id */
/* And Last just loop thrugh the posts */

hope this helps :)

  • 1
    You're a rockstar and my hero!! – Lynne Jan 15 '11 at 6:33
  • Hmm, unfortunately this isn't working? It's the same list for every user. Maybe I am running through the loop incorrectly, I just used the general one from codex, could you maybe give me a full example? Thanks either way! :s – Lynne Jan 15 '11 at 7:27
  • Oop. I got it. Just an idiot. and tired. – Lynne Jan 15 '11 at 7:37
  • :), happy you got it. – Bainternet Jan 15 '11 at 18:16
  • 2
    You have to create the template yourself. – Lynne Nov 14 '11 at 21:59

Not the answer you're looking for? Browse other questions tagged or ask your own question.