changed footer.php – now no sidebar
-
I just added wordpress to my server. It worked fine until I made 2 changes. I added the javascript for google analytics in the footer.php (default theme) just before /body.
I also added the RSS widget.
Now I have no sidebar.
I removed the javascript code from footer, but still no sidebar.
I tried to “remove” RSS, but it keeps coming back according to wp-admin info.
I can just reinstall wordpress, but I would like to know why this happened.
Jim
-
Disable the RSS widget and/or plugin. Redownload your theme and use that footer.php file to replace your edited one.
Use firefox and firebug to test your codes, you probably deleted a div class or id which calls for sidebar in the footer
I tried to remove RSS widget several times. It keeps coming back according to the wp-admin page.
I can’t download the theme. I am using the default theme. I get the same result (no sidebar) when I switch to the classic theme.
I just added firebug to firefox. I don’t see that it is showing anything wrong, but I don’t know how to use firebug.
I am just playing around with modifying the code in different templates to get a sidebar. I am just experimenting to learn all I can. I want to become a wordpress guru. I am learning.jim
I fixed my sidebar problem. It was the RSS widget. I don’t know how I messed up just by clicking on ADD for the widget.
When I clicked on REMOVE for the RSS widget, I didn’t know that I also had to click on SAVE CHANGES. When I clicked on both REMOVE and SAVE CHANGES, my sidebar came back.
At first, the sidebar was above the header because I had added get sidebar to the header template at the beginning.
Jim
The topic ‘changed footer.php – now no sidebar’ is closed to new replies.