Forums

[resolved] Adding author not working.... (4 posts)

  1. tracyfh
    Member
    Posted 2 years ago #

    This is what I tried but it only says the word 'by' now.

    echo '<span class="postdate serif">'.date("F j, Y",strtotime($row['post_date'])).'by <?php the_author_posts_link(); ?></span>';

    THANKS!!

  2. peterwongpp
    Member
    Posted 2 years ago #

    Please change to

    echo '<span class="postdate serif">'.date("F j, Y",strtotime($row['post_date'])).'by '; the_author_posts_link(); echo '</span>';

    and try again.

  3. tracyfh
    Member
    Posted 2 years ago #

    Oh, I was so helpful.

    It still just shows the word 'by'. No author.

  4. tracyfh
    Member
    Posted 2 years ago #

    I meant, I was so HOPEFUL

    It still just shows the word 'by'. No author. And this is what I have no.

    echo '<span class="postdate serif">'.date("F j, Y",strtotime($row['post_date'])).'by '; the_author_posts_link(); echo '</span>';

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags