WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Author byline excluding specific admin

[Resolved] Author byline excluding specific admin

  • Emily

    @yy4u96

    Hi,

    I am looking to include a byline on my blog for the various authors and used this code:
    <p>By: <?php the_author(''); ?> </p>

    It works exactly how I want, except that it shows me (admin) on the About (http://www.oic-books.com/blog/about/) and Archive (http://www.oic-books.com/blog/archive/) pages as the author.

    I tried changing the code to
    <p>By: <?php the_author('exclude_admin=1'); ?> </p>
    but I still show up. (I also tried =0 and changing it to my username: OIC_Admin.)

    Any help you can provide is appreciated.
    Emily

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Author byline excluding specific admin’ is closed to new replies.
Skip to toolbar