WordPress.org

Ready to get started?Download WordPress

Forums

P2
[resolved] Remove sidebar on homepage only (4 posts)

  1. Alfie_J
    Member
    Posted 2 years ago #

    How can I remove the sidebar from the homepage on the P2 theme?

    I know the default homepage for P2 is the Posts page. However, I'm running a closed user site and use Peter's Login Redirect plugin to direct my authorised users to the Posts page only after login. Casual visitors land on the home page (my Reading Settings is set to use a static front page) which I don't want the sidebar to appear on.

    I've looked in page.php but there is no get_sidebar code that I can remove.

    Thanks,

    Alfie

    http://wordpress.org/extend/themes/p2/

  2. Alfie_J
    Member
    Posted 1 year ago #

    I fixed this thanks to zanzaboonda

  3. valuser
    Member
    Posted 1 year ago #

  4. Alfie_J
    Member
    Posted 1 year ago #

    Yes, that's it.
    I did put in that link on my earlier reply but for some reason it has not displayed so thank you for finding it and posting the link.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags