Wordpress’s bug caused my blog’s sidebar disappeared
Today, I found my sidebar on my blog disappeared. At the beginning, I thought it was because of my current themes, but after changed several themes, this issue still existed. I set up an apache server on my local machine, and install Wordpress on it. I found the theme that I current used on my blog is perfectly displayed from my local machine. Then I started to investigate this issue. I found the sidebar was not actually disappeared, it was just placed on the bottom of the page, since the index page is so long that I did not see it at the first glance. I compared the code of my current page to the code of normal page. Finally, I found it was because of one of the post which contains < div id="main_r" > where I should use < 和 >. This cause this problem since the browser think there is a < div id="main_r" > in the code of the page but has no < /div > to close it。If Wordpress can check if the post contains symbols like < or > before the post could be submitted, this could reduce this kind of errors. BTW, my wordpress version is 2.7.
Filed under: Uncategorized

Leave a Reply