Title: Remove Author byline
Last modified: August 31, 2016

---

# Remove Author byline

 *  [bwuwu](https://wordpress.org/support/users/bwuwu/)
 * (@bwuwu)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/remove-author-byline-1/)
 * Hi There,
 * I’m trying to get rid of the author byline on my amp pages but can’t quite seem
   to do so.
 * FYI: I have amp & pagefrog installed.
 * I tried removing the author from meta by inserting the following in my functions.
   php of my child theme:
 *     ```
       'xyz_amp_remove_author_meta' );
       function xyz_amp_remove_author_meta( $meta_parts ) {
           foreach ( array_keys( $meta_parts, 'meta-author', true ) as $key ) {
               unset( $meta_parts[ $key ] );
           }
           return $meta_parts;
       }
       ```
   
 * as it was instructed from [https://github.com/Automattic/amp-wp](https://github.com/Automattic/amp-wp).
 * Any ideas?
 * Thanks!
 * [https://wordpress.org/plugins/amp/](https://wordpress.org/plugins/amp/)

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

 *  [neotrope](https://wordpress.org/support/users/neotrope/)
 * (@neotrope)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/remove-author-byline-1/#post-7182586)
 * I’d likely just hack the /amp/ template file, make child template or however 
   that works with latest version of plugin.
 *  Thread Starter [bwuwu](https://wordpress.org/support/users/bwuwu/)
 * (@bwuwu)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/remove-author-byline-1/#post-7182609)
 * Thanks for the reply, but I’m not quite sure what you’re saying.
 * Are you saying go into /plugins/amp/templates/ & modify one of the php files 
   in there?
 *  [neotrope](https://wordpress.org/support/users/neotrope/)
 * (@neotrope)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/remove-author-byline-1/#post-7182662)
 * REF:
    [https://github.com/Automattic/amp-wp/blob/master/readme.md](https://github.com/Automattic/amp-wp/blob/master/readme.md)
 * Customization / Templating
 * The plugin ships with a default template that looks nice and clean and we tried
   to find a good balance between ease and extensibility when it comes to customization.
 * You can tweak small pieces of the template or the entire thing depending on your
   needs.
 *  Thread Starter [bwuwu](https://wordpress.org/support/users/bwuwu/)
 * (@bwuwu)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/remove-author-byline-1/#post-7182686)
 * Yes, I have followed those instructions on that page to tweak the template to
   remove author information, but it doesn’t quite work. Wondering if I implemented
   the code wrong or if there’s an alternative solution.
 *  [neotrope](https://wordpress.org/support/users/neotrope/)
 * (@neotrope)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/remove-author-byline-1/#post-7182695)
 * So, you haven’t tried, oh, say … commenting the stuff in the author meta template…
   meta-author.php ?
 *  Thread Starter [bwuwu](https://wordpress.org/support/users/bwuwu/)
 * (@bwuwu)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/remove-author-byline-1/#post-7182701)
 * Yup, tried that as well as renaming the file.

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

The topic ‘Remove Author byline’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

## Tags

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

 * 6 replies
 * 2 participants
 * Last reply from: [bwuwu](https://wordpress.org/support/users/bwuwu/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/remove-author-byline-1/#post-7182701)
 * Status: not resolved