Quote:
Originally Posted by 1up_dave
I'm no programmer, but here's what we're using. I don't know if it's the correct query to use, but it works for us.
PHP Code:
<?php $db->query_first("SELECT username FROM " . TABLE_PREFIX . "user WHERE userid = " . $post->post_author); ?>
Then again, we're using the Smarty template engine, so I'm not sure if this would work properly if put directly into the template files. Maybe create a theme function with it or something.
|
Sorry Dave no luck
If I use <?php the_author_link(); ?> it displays the authors names but I want some more info to be shown like the authors about me and location