Title: sidebar.php
Last modified: August 19, 2016

---

# sidebar.php

 *  [jihymas](https://wordpress.org/support/users/jihymas/)
 * (@jihymas)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/sidebarphp-3-2/)
 * I just updated to 2.6.2 and wiped out sidebar.php with my “Author” information.
 * Not the hardest thing in the world to fix, but annoying.
 * Does anybody else think that hard-coding personalized information into theme 
   programme files is craziness, or is it just me? Am I the only one who thinks 
   this personalization should be, ideally, stored in the database or – if this 
   is deemed to erode a desirable level of segmentation – stored in a data text 
   file (like wp-config) in the theme directory?
 * We’re not talking about a theme prepared as a high-school computer science project
   here, we’re talking about the official WordPress default theme!

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

 *  [Chrisber](https://wordpress.org/support/users/chrisber/)
 * (@chrisber)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/sidebarphp-3-2/#post-856415)
 * Upgrading the core wordpress files should not have any effect on your theme. 
   My entire sidebar is hard coded and it has survived multiple upgrades without
   a hitch.
 *  [Dgold](https://wordpress.org/support/users/dgold/)
 * (@dgold)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/sidebarphp-3-2/#post-856435)
 * I don’t think that’s right Chrisber? Depends on what theme you’re using and what
   you upload. New versions of WP are usually packed with the “default” theme. Unless
   you specifically avoid uploading it (unselect the wp-content folder before FTP’ing
   your new version), this will overwrite your old default theme.
 * In some cases the new WP has an new-and-improved default theme, other times it’s
   the same default you already had. Either way, if you FTP the entire contents 
   of the new WP zip, you may overwrite your theme, if you use Default or Classic
   theme. Overwriting the theme WILL overwrite any changes you made in sidebar.php(
   again, obviously, only if Classic or Default aka Kubrick is the theme you use)
 * If you already did this, and you’re SURE that you don’t need some fix that has
   been fixed in the Default theme, then you could just go to one of your backups(
   you have backups right?!), and upload your old sidebar.php into your theme folder.
 * If you want to keep your old sidebar.php but also implement any changes WP put
   in the default theme, then you would need to research what those changes are 
   and fix each change yourself. It’s usually not much if anything.
 *  [Chrisber](https://wordpress.org/support/users/chrisber/)
 * (@chrisber)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/sidebarphp-3-2/#post-856449)
 * > I don’t think that’s right Chrisber? Depends on what theme you’re using and
   > what you upload.
 * My bad. I wasn’t thinking about the default theme.

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

The topic ‘sidebar.php’ is closed to new replies.

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 3 replies
 * 3 participants
 * Last reply from: [Chrisber](https://wordpress.org/support/users/chrisber/)
 * Last activity: [17 years, 9 months ago](https://wordpress.org/support/topic/sidebarphp-3-2/#post-856449)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
