Title: Author byline excluding specific admin
Last modified: August 20, 2016

---

# Author byline excluding specific admin

 *  Resolved [Emily](https://wordpress.org/support/users/yy4u96/)
 * (@yy4u96)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/author-byline-excluding-specific-admin/)
 * 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/](http://www.oic-books.com/blog/about/))
   and Archive ([http://www.oic-books.com/blog/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)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/author-byline-excluding-specific-admin/#post-3232787)
 * [http://codex.wordpress.org/Function_Reference/the_author](http://codex.wordpress.org/Function_Reference/the_author)
 *  Thread Starter [Emily](https://wordpress.org/support/users/yy4u96/)
 * (@yy4u96)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/author-byline-excluding-specific-admin/#post-3232795)
 * Hi Esmi,
 * That’s where I found this code. How do I exclude myself?
 * Emily
 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/author-byline-excluding-specific-admin/#post-3232805)
 * [http://wordpress.org/support/topic/how-to-exclude-author-name-in-admin-posts?replies=2](http://wordpress.org/support/topic/how-to-exclude-author-name-in-admin-posts?replies=2)
   
   dis work?
 *  Thread Starter [Emily](https://wordpress.org/support/users/yy4u96/)
 * (@yy4u96)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/author-byline-excluding-specific-admin/#post-3232814)
 * Rev. Voodoo- that’s perfect! Thank you so much!
 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/author-byline-excluding-specific-admin/#post-3232826)
 * Excellent!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Author byline excluding specific admin’ is closed to new replies.

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [author tag](https://wordpress.org/support/topic-tag/author-tag/)
 * [exclusion](https://wordpress.org/support/topic-tag/exclusion/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/author-byline-excluding-specific-admin/#post-3232826)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
