Forums

How to show authors name linked to their URL? (2 posts)

  1. linkit
    Member
    Posted 2 years ago #

    I have tried to show the authors name linked to their URL in a post, but it does seem to work?

    <?php if (get_the_author_url()) { ?>"><?php the_author(); ?><?php } else { the_author(); } ?>

    Does the version wp2.1.3 I haveloaded have anythin to do with it??

  2. doodlebee
    Member
    Posted 2 years ago #

    do you have runPHP turned on for posts? PHP won't run from within a post unless you set it to run. Therefore your code won't work.

Topic Closed

This topic has been closed to new replies.

About this Topic