Title: Remove Author metadata from posts
Last modified: August 31, 2016

---

# Remove Author metadata from posts

 *  [sponauglebl](https://wordpress.org/support/users/sponauglebl/)
 * (@sponauglebl)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/remove-author-metadata-from-posts/)
 * Hi!
 * I am trying to remove the author metadata on each post. I (kind of) know what
   code from the single-post.php that I need to remove – but I do not want to remove
   a character too much and get a php error.
 * I do not have access to the FTP information for this site so I’ve got one shot
   to eliminate it. Can someone please show me exactly which text to delete?
 * Here it is:
 *     ```
       <div class="post-title">
                   <?php if ( is_front_page() ): ?>
                       <h1 class="front-page"><?php the_title() ?></h1>
                   <?php else: ?>
                       <h1 class="inner-page"><?php the_title() ?></h1>
                   <?php endif ?>
   
                   <?php if(!actuate_get_option('disable_post_meta')): ?>
                   <div class="post-meta">
                       <?php
                           echo '<span class="entry-date">' . get_the_date() . '</span>';
                           <strong>echo '<span class="meta-author-url">, By <span class="author vcard">';
                           the_author_posts_link();</strong>
                           echo '</span> </span>';
                           if(!comments_open()) { // Comments not open
                               if(get_comments_number()){ // Comments are more than zero
                                   echo ' | <span class="post-meta-comments">'.get_comments_number(). ' '. __('Comments (Closed)', 'actuate').'</span>';
                               } else { // Comments are zero
                                   echo ' | ' . __('Comments (Closed)', 'actuate');
                               }
                           } else { // Comments are open
                               echo ' | <span class="post-meta-comments">';
                               comments_number( '<a href='.get_comments_link().'>'.__('Leave a reply', 'actuate').'</a>', __('1 Comment', 'actuate'), '% '.__('Comments', 'actuate') );
                               echo '</span>';
                           } ?>
                   </div>
               <?php endif ?>
               </div>
       ```
   
 * Thank you so much!

Viewing 1 replies (of 1 total)

 *  Thread Starter [sponauglebl](https://wordpress.org/support/users/sponauglebl/)
 * (@sponauglebl)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/remove-author-metadata-from-posts/#post-7273117)
 * I was trying to bold the text I believe I need to remove but the formatting didn’t
   respond within the backticks – hence why it says **.**

Viewing 1 replies (of 1 total)

The topic ‘Remove Author metadata from posts’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [sponauglebl](https://wordpress.org/support/users/sponauglebl/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/remove-author-metadata-from-posts/#post-7273117)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
