Title: Removing author via code
Last modified: January 10, 2017

---

# Removing author via code

 *  [korbohned](https://wordpress.org/support/users/korbohned/)
 * (@korbohned)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/removing-author-via-code/)
 * Hey,
 * i found the function syntax_posted_on in the editor, which lines do I need to
   remove the author from posts as well as that little person symbol right next 
   to it?
 * regards,
 * KorbohneD

Viewing 1 replies (of 1 total)

 *  [Chad Chadbourne](https://wordpress.org/support/users/shireling/)
 * (@shireling)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/removing-author-via-code/#post-8643793)
 * Hi [@korbohned](https://wordpress.org/support/users/korbohned/)!
 * The easiest way would be to hide the author with CSS:
 *     ```
       span.byline {
           display: none;
       }
       ```
   
 * A good way to add CSS is to use the Additional CSS panel in the Customizer (assuming
   you’re running at least WordPress 4.7) or with something like the [Jetpack Plugin](http://jetpack.com)
   using the [Custom CSS Module](http://jetpack.com/support/custom-css).
 * If you’d prefer to remove the code directly, by first [setting up a child theme](https://codex.wordpress.org/Child_Themes),
   you’d actually end up re-writing the `syntax_posted_on()` and replacing the different
   calls for it in various files.
 * Personally, I’d recommend the CSS route 🙂

Viewing 1 replies (of 1 total)

The topic ‘Removing author via code’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/syntax/1.1.0/screenshot.png)
 * Syntax
 * [Support Threads](https://wordpress.org/support/theme/syntax/)
 * [Active Topics](https://wordpress.org/support/theme/syntax/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/syntax/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/syntax/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Chad Chadbourne](https://wordpress.org/support/users/shireling/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/removing-author-via-code/#post-8643793)
 * Status: not resolved