Title: single.php not recognizing changes when i hit update
Last modified: August 20, 2016

---

# single.php not recognizing changes when i hit update

 *  [aepenner](https://wordpress.org/support/users/aepenner/)
 * (@aepenner)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/singlephp-not-recognizing-changes-when-i-hit-update/)
 * Hi,
 * I am trying to take away the “written by (company name)” in my testimonials section
   of my website. I believe this can be done by taking out the following code in
   my single.php file. However, when I go to remove this from the file in wordpress
   and hit “Update File” the page merely refreshes as if i never deleted anything.
   Why would this be?
 *     ```
       <div id="post-author">
   
               <h3>Written by <?php the_author_posts_link() ?></h3>
   
               <p class="gravatar"><?php if(function_exists('get_avatar')) { echo get_avatar( get_the_author_email(), '80' ); /* This avatar is the user's gravatar (http://gravatar.com) based on their administrative email address */  } ?></p>
   
               <div id="author-description">
   
                 <?php the_author_meta('description') ?> 
   
                 <div id="author-link">
   
                   <p>View all posts by: <?php the_author_posts_link() ?></p>
   
                 </div><!--#author-link-->
   
               </div><!--#author-description -->
   
             </div><!--#post-author-->
       ```
   

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

 *  [KEXINO](https://wordpress.org/support/users/kexino/)
 * (@kexino)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/singlephp-not-recognizing-changes-when-i-hit-update/#post-3330600)
 * I have a similar issue with changes to single.php not being updated in the site.
 * I have cleared my WordPress caching plugin (W3 Total Cache). I even disabled 
   the plug-in.
 * Tried clearing browser cache. I even tried using a difference browser.
 * The only other thing I can think of is “advanced-cache.php” in “Drop-ins”. Could
   this be the issue? If so, how do you flush its cache?
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/singlephp-not-recognizing-changes-when-i-hit-update/#post-3330603)
 * **[@kexino](https://wordpress.org/support/users/kexino/) **– if you need help,
   please start your own thread. It’s unlikely that your problem is identical to
   the OP despite similarities, and the forums work much better to have only one
   person being helped per thread.
 * **[@apenner](https://wordpress.org/support/users/apenner/)** – make sure any 
   and all caches are cleared — including any your server may have enabled.
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/singlephp-not-recognizing-changes-when-i-hit-update/#post-3330604)
 * Also, it may be easier to simply hide the text using “display: none;” in your
   CSS code. If you post a link to your site, someone can likely give more specific
   help.
 *  [KEXINO](https://wordpress.org/support/users/kexino/)
 * (@kexino)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/singlephp-not-recognizing-changes-when-i-hit-update/#post-3330605)
 * [@wpyogi](https://wordpress.org/support/users/wpyogi/) Apologies – I was not 
   aware of the convention.
 * If I may comment on your answer, I don’t see how adding “display:none” to text
   that the OP has already stated has been removed is going to address the issue.
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/singlephp-not-recognizing-changes-when-i-hit-update/#post-3330606)
 * I was suggesting a different approach to removing that text from the page — which
   depending on how the theme is code, may be quite easy using what I suggested.
   It’s a pretty common approach in WP – there are pros and cons to doing it that
   way, but in many cases, it’s easier for people than modifying php file. But it’s
   impossible to know for sure without seeing the page – though given the code posted,
   this may well work:
 *     ```
       #post-author {
          display: none;
       }
       ```
   
 *  Thread Starter [aepenner](https://wordpress.org/support/users/aepenner/)
 * (@aepenner)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/singlephp-not-recognizing-changes-when-i-hit-update/#post-3330672)
 * The site is [http://www.pennerlawfirm.com](http://www.pennerlawfirm.com) – the
   pages i wish to take the post author out of are pages like this [http://www.pennerlawfirm.com/testi/tara-l/](http://www.pennerlawfirm.com/testi/tara-l/)
 * Thanks for all the help!
 *  Thread Starter [aepenner](https://wordpress.org/support/users/aepenner/)
 * (@aepenner)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/singlephp-not-recognizing-changes-when-i-hit-update/#post-3330673)
 * Update: I am now unable to update the CSS file as well. I recently moved the 
   entire wordpress site from one domain to another, and some formatting and permissions
   have been off. I believed i had fixed them, but I must be wrong.
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/singlephp-not-recognizing-changes-when-i-hit-update/#post-3330675)
 * Permissions problems would do it. This might help:
 * [http://codex.wordpress.org/Changing_File_Permissions](http://codex.wordpress.org/Changing_File_Permissions)
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/singlephp-not-recognizing-changes-when-i-hit-update/#post-3330676)
 * Back to the initial question, the CSS I posted should work fine, though it will
   remove that entire box about the author — is that what you want to do? Or only
   part of it?

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

The topic ‘single.php not recognizing changes when i hit update’ is closed to new
replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 3 participants
 * Last reply from: [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/singlephp-not-recognizing-changes-when-i-hit-update/#post-3330676)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
