I'm setting up a photo blog, and I need a way to disable my sidebar on my post pages (where my photos will be) but still have it enabled on my front page. I'm sure that there's a way to do this, I just have no idea how. The site is http://survivingjapan.com I just started making it yesterday, so it's nowhere near complete, I'd just like to get the formatting down before anything else. Thanks in advance! -Alexical
Go to your dashboard, go to editor under appearance open post.php And go through it, and you will see a code naming include sidebar() or a function similar to it. Simply delete it , and its done. Or i can directly do it for you. Thanks.
Hi Alexical, ExtremePHP is correct in some ways. a single post is displayed in the file single.php within your theme files. Open that up and find the code that says < ?php sidebar() ? > I'd just comment it out, so if you want it back you can get it easily < ?php // sidebar() ? >. (Minus the spaces.)
Open your single.php page and delete the line that mentions sidebar1 or sidebar2, and see which one works out correctly