[resolved] php code to show author meta (3 posts)

  1. gpsy1
    Posted 3 years ago #

    Hello, hope someone can help! Im using wordpress 3.5 with SilverOrchid theme. Unortunatly this theme doesnt have author meta on the posts and pages but i have mullty authors on my blog, you get my problem.
    In single.php meta have this:

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    <div class="post-meta">
    <span class="info">
    	<span class="date"><?php the_time('M. d') ?></span>
    	<span class="category"><?php the_category(', ' ); ?></span>
    	<span class="comments"><?php comments_popup_link( __('no comments', 'silverorchid'), __( '1 comment', 'silverorchid'), __('% comments', 'silverorchid')); ?></span>

    im missing author meta and im not sure how to make it work. Thank you for the help.

  2. ronangelo
    Posted 3 years ago #

    This outputs the author name.

    <?php the_author_posts_link(); ?>
  3. gpsy1
    Posted 3 years ago #

    Wow thanx a lot ...works like a charm :).

Topic Closed

This topic has been closed to new replies.

About this Topic