WordPress.org

Ready to get started?Download WordPress

Forums

remove sidebar from pages (16 posts)

  1. courtneyelizabeth
    Member
    Posted 9 years ago #

    hi, is there a way to remove the sidebar from the created pages?

    my site: http://www.courtneyelizabeth.com

  2. skippy
    Member
    Posted 9 years ago #

    Have you read the Themes documentation, particularly Theme Development?

  3. courtneyelizabeth
    Member
    Posted 9 years ago #

    yeah, i guess my issue comes in because i dont have a page.php to remove get_sidebar
    and get_sidebar isnt in the index.php file...
    ......

  4. courtneyelizabeth
    Member
    Posted 9 years ago #

    so i started using some common sense and transferred the page.php that's n the Default theme to the current theme i'm using...and then removed the get_sidebar....

    but...it still shows up on the page... :(

  5. skippy
    Member
    Posted 9 years ago #

    Do you have a sidebar.php?

    If not, then the sidebar is defined directly in your page.php. You'll need to edit it there.

  6. courtneyelizabeth
    Member
    Posted 9 years ago #

    i do have a sidebar.php, but if i delete it, wont it delete from even the index.php page....I do want it on the index.php page....just not on created pages...

  7. skippy
    Member
    Posted 9 years ago #

    I did not suggestt that you delete sidebar.php -- I merely asked if you have one. You do, so deleting get_sidebar() should work.

    Have you cleared your cache, after installing the new page.php ?

  8. courtneyelizabeth
    Member
    Posted 9 years ago #

    yep...did that too...lol
    ...still there. :(

  9. courtneyelizabeth
    Member
    Posted 9 years ago #

    and get this....

    I'm using:

    // Subscribe2
    // Copyright 2004 Scott Merrill skippy@skippy.net
    // Distributed under the terms of the GNU Public License
    // http://www.gnu.org/copyleft/gpl.html

    http://www.courtneyelizabeth.com/subscribe.php

    I've commented out get_sidebar on that page also...and it STILL shows there too.

  10. oriecat
    Member
    Posted 9 years ago #

    Your source shows this
    <!-- begin footer -->
    </div>

    <!-- begin sidebar -->

    So it looks to me like your footer is calling the sidebar.

  11. courtneyelizabeth
    Member
    Posted 9 years ago #

    think it has anything to do with css?

  12. moshu
    Member
    Posted 9 years ago #

    List the files you have in your theme.

  13. courtneyelizabeth
    Member
    Posted 9 years ago #

    oh wow...what page is that? all of them?

  14. oriecat
    Member
    Posted 9 years ago #

    check footer.php

  15. courtneyelizabeth
    Member
    Posted 9 years ago #

    OKAY....COOL!!! Thank you!

    now is the issue of getting t to align properly on index.php...lol

    thanks again!

  16. courtneyelizabeth
    Member
    Posted 9 years ago #

    any ideas for aligning on index.php?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.