Thank you for your replies. I am not sure what happened. I was getting an error that a particular line was corrupt (I think that was the terminology). What I did to get my site back up and running was delete the blank lines in the sidebar.php that were created when I tried to add Google Adsense. My problem is that I am not very sure at what point in the code of sidebar.php I should place the Google code, or even if it matters. But nothing I tried yesterday worked. I’m trying to sift my way through the Codex now, but it’s slow going without coding knowledge. 🙂
If anyone could answer exaclty where to place the Google code within sidebar.php, I would greatly appreciate it.
“If anyone could answer exaclty where to place the Google code within sidebar.php, I would greatly appreciate it.”
You can place the code for Google Adsense anywhere you like al long as it’s outside of <?php ?> tags.
It depends on how/where you want to display the ads; there’s no right answer.
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘[Resolved] Sidebar.php edit has killed my site’ is closed to new replies.