Title: HELP! :  restoring default sidebar.php code
Last modified: August 18, 2016

---

# HELP! : restoring default sidebar.php code

 *  Resolved [gmrtech](https://wordpress.org/support/users/gmrtech/)
 * (@gmrtech)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/help-restoring-default-sidebarphp-code/)
 * I just installed K2 and LOVE it.
 * Well, had a wp-polls plugin in an earlier template and so I copied and pasted
   the ‘wp-polls’ plugin code for ‘General Usage (Without Widget)’ into the sidebar.
   php code under the Presentation>Theme Editor>Sidebar menu.
 * Well now I realized I messed up. My entire sidebar is gone, but I deleted the
   php code that I originally entered. So how could this happen?
 * 1. How do I remedy this without reinstalling the theme again?
 * 2. When the problem is resolved how was I correctly supposed to add my poll from
   my older theme into K2?
 * BTW… i’m running WP 2.1.3
 * Thanks!

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/help-restoring-default-sidebarphp-code/#post-595598)
 * 1. Upload a fresh un-altered sidebar.php
 * 2. Never use that damned online editor. It really should be banned, or at least
   it should have a big red warning; NO UNDO BUTTON – USE IT AT YOUR OWN RISK!
 * Always make a bakcup copy of all the themes files before starting to mess around.
   
   Always edit on your computer in a plain text editor and uplaod via FTP. If it’s
   wrong, just re-upload quickly the backup file 🙂
 *  Thread Starter [gmrtech](https://wordpress.org/support/users/gmrtech/)
 * (@gmrtech)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/help-restoring-default-sidebarphp-code/#post-595601)
 * got it.
 * lost my sidebar info. but i’ll survive.
 * moshu.. that’s such a risky situation to be in. it really should be banned
 * you.are.awesome.
 * thx
 *  Thread Starter [gmrtech](https://wordpress.org/support/users/gmrtech/)
 * (@gmrtech)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/help-restoring-default-sidebarphp-code/#post-595603)
 * moshu… btw…
 * how am i supposed to correctly add that poll then to my k2 theme?
 * I already FTP’d the wp-poll folder to my hosting plan?
 * And my ‘Kubrick 1 theme sees the poll. but my K2 doesn’t.. what needs to be done?
 * thx
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/help-restoring-default-sidebarphp-code/#post-595606)
 * I have no idea. We don’t really know too much about that K2 thing. They have 
   their own support forum, if I remember well.
 *  Thread Starter [gmrtech](https://wordpress.org/support/users/gmrtech/)
 * (@gmrtech)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/help-restoring-default-sidebarphp-code/#post-595611)
 * yeah i posted it there, too.. thx man later

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

The topic ‘HELP! : restoring default sidebar.php code’ is closed to new replies.

 * 5 replies
 * 2 participants
 * Last reply from: [gmrtech](https://wordpress.org/support/users/gmrtech/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/help-restoring-default-sidebarphp-code/#post-595611)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
