WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] How to store the_author in a variable..

[Resolved] How to store the_author in a variable..

  • <?php
    $author = the_author_email();
    ?>

    I want to store the_author_email into a varible.. so I can call it later in the page inside of some html.. the problem is when I do the above code it echo’s the_author_email to the screen! ahhhuughh

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] How to store the_author in a variable..’ is closed to new replies.
Skip to toolbar