WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Reinstating default sidebar settings to be able to add widgets

[Resolved] Reinstating default sidebar settings to be able to add widgets

  • Sometime in the last year I overwrote the sidebar settings with some custom html code. It was not a good idea as now I cannot add widgets to the sidebar. Of course, I do not remember what I did or what the original code looked like (live and learn).

    I’d like to reverse what I did but am stumped. Any pointers?

Viewing 3 replies - 1 through 3 (of 3 total)
  • If you know what theme you are using, open up the archive of the original, find sidebar.php and open this in an editor, notepad will do.

    If you have not made any other modifications to your sidebar file that you are worried about losign then just copy all the contents of sidebar.php from your original install archive.

    Browse to Appearance > editor in your WP admin. A list of theme files should display down left, click sidebar.php and paste in the code from your original.

    If you have made modifications you wish to keep you will need to identify the code that needs to be replaced and only paste that in.

    Hope that helps.

    Ok, I found the archive file and reinstalled the original code in the sidebar.php file. Thanks!

    However, when I go to Appearance > Widget, I am still unable to drag any available widgets over to the sidebar.

    Any ideas on what may be up?

    Figured it out – thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Reinstating default sidebar settings to be able to add widgets’ is closed to new replies.
Skip to toolbar