WordPress.org

Support

author url

  • Is there a way to get the author url without http://www.? I’ve try this: <br/> <?php $url=the_author_url();?>
    <?php $url=ereg_replace("http://","",$url);?>
    <?php $url=ereg_replace("www.","",$url);?>
    <?php echo($url);?>
    <br/> But this always gives me the full url.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘author url’ is closed to new replies.
Skip to toolbar