Results 1 to 6 of 6

Thread: Remove sidebars on log-in/register pages

  1. #1
    Thread Starter
    Junior Member
    Not a Verified Customer
    christianharris's Avatar
    Join Date
    Dec 2009
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Remove sidebars on log-in/register pages

    Please can you tell me how to remove the sidebar on the log-in/register pages.

    For example, see here: http://www.businesscomputingworld.co.uk ... -login.php

    Thanks!

  2. #2
    Amateur
    Not a Verified Customer
    allmyhoney's Avatar
    Join Date
    Dec 2009
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Remove sidebars on log-in/register pages

    Id be interested in finding out how to do this also, I was wondering how you switch off this sidebar when viewing the About page aswell? any help much appreciated

  3. #3
    Veteran pointandstare's Avatar
    Join Date
    Apr 2009
    Location
    London, England
    Posts
    311
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Re: Remove sidebars on log-in/register pages

    Edit your sidebar.php with an if/ else statement along the lines of:

    if title=login show nothing
    else
    show sidebar

    Google if/ else +wordpress.

  4. #4
    Thread Starter
    Junior Member
    Not a Verified Customer
    christianharris's Avatar
    Join Date
    Dec 2009
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Remove sidebars on log-in/register pages

    When I delete the contents of the sidebar.php file nothing happens on the site, so adding an if else statement doesn't make a difference. Please can you give a reply for someone who isn't experienced in Wordpress development.

    Thanks!

  5. #5
    Rookie jr0131's Avatar
    Join Date
    Aug 2010
    Posts
    6
    Thanks
    3
    Thanked 0 Times in 0 Posts
    I just thought that I'd reply here with my findings for those of you trying to find this answer still, because after 4 hours of searching the forums here for an answer to this issue, and not at all understanding the one answer that was posted here, it dawned on me to simply change the page attributes to "full size" rather than "template default" and when I did that, it removed the sidebars just as I wanted on the register page as I added my own registration form that is much wider than the page setup with sidebars. So I hope this helps someone else.

  6. #6
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,723
    Thanks
    166
    Thanked 3,390 Times in 3,261 Posts
    Thanks for sharing then. Definitely some user will find you input helpful.
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)