• After hours of searching for help and fiddling around with code I managed to get my author profile pages looking nice.

    eg. https://perpetualprose.com/writers/perpetualprose

    However, WP strips the Descriptions of line breaks. Also, user website urls are not hyperlinked.

    This is part of the code I’m using:

    <h5>Writer Bio: <?php echo $curauth->description; ?></h5>
    <h5>Website: <?php echo $curauth->user_url; ?></h5>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Not sure if there’s anything you can do about the lack of line breaks in the author description but you can create a proper link for the author’s web site.

    <h5>Website: <?php echo '<a href="'.$curauth->user_url.'">'.$curauth->user_url.'</a>';?></h5>

    Thread Starter perpetualprose

    (@perpetualprose)

    Thanks, esmi.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hyperlinks and Line Breaks on Author Profile Pages’ is closed to new replies.