WordPress.org

Ready to get started?Download WordPress

Forums

Want to remove sidebar from page (4 posts)

  1. jbabble
    Member
    Posted 8 years ago #

    I'm extremely UN-talented when it comes to wordpress, so bear with me in regards to any blatant stupidity regarding my problem. ;o)

    I'm using the daisyraegemini theme.

    For the time being I am unfamiliar with how to set up my wpgallery, so I've created a page specifially for daily pics.

    In both Firefox and IE, however, the sidebar gets all kinds of crazy, either placing itself on top of my pictures or moving to the bottom of the page.

  2. Daily Pics Page
  3. I've searched through the help archives here and have seen a couple of possible solutions like trying to align using the <div id="content" class="narrowcolumn"> tag in the page.php directory, but my page directory doesn't list that particular tag.

    In short, I simply want to know if there is a way to remove the sidebar completely from that page. However, I do have two other pages where I want the sidebar to remain. Is it possible to remove it from just one page or will it be a generic code affecting all pages?

  • resiny
    Member
    Posted 8 years ago #

    remove ?php get_sidebar(); ? (with the arrows, of course)

  • obeattie
    Member
    Posted 8 years ago #

    or just replace everything in sidebar.php with something like:

    <?php /*Nothing. Noda.*/ ?>

  • jbabble
    Member
    Posted 8 years ago #

    Thanks restiny! Can you tell me where that tag is, because it's not in my page.php.
    This is all that's in my page directory:
    ---------------------------------------------------------

    <?php get_header(); ?>

    <div id="static">

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class="post">
    <h3 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h3>
    <div class="entrytext">
    <?php the_content('<p class="serif">Read the rest of this page »'); ?>

    <?php link_pages('Pages: ', '', 'number'); ?>

    </div>

    </div>

    <?php endwhile; endif; ?>

    <?php edit_post_link(__('Edit This')); ?></div>
    </div>

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.