WordPress.org

Ready to get started?Download WordPress

Forums

Eliminating Left Sidebar, What Document do I edit? (3 posts)

  1. edmond4
    Member
    Posted 6 years ago #

    I'm wondering what to do in order to eliminate my left sidebar, and put it's contents into the right sidebar.

    This aint no static HTML editing going on.

    What document do I edit to just plain eliminate the left sidebar, wishing the removed width then to be added to the main column. I will keep the right sidebar.

    Here is the URL of the BLOG:

    http://www.awakeandarise.org/blog/

    Any help would be greatly appreciated.

  2. crazy_jane
    Member
    Posted 6 years ago #

    First, update wordpress now!
    Second, delete all the calls for sidebarright on your sidebar.php, then on widgets tab, put all the blocks from the right sidebar to the left sidebar.

  3. edmond4
    Member
    Posted 6 years ago #

    Crazy Jane,

    I appreciate your help.

    I have looked at my sidebar.php document and find no calling for the left sidebar which I want to eliminate.

    Any thoughts?

    Here is the code of my page:

    <div id="sidebar">

      <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : else : ?>

    • <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    • <?php /* If this is a 404 page */ if (is_404()) { ?>
      <?php /* If this is a category archive */ } elseif (is_category()) { ?>
      <p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>

      <?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
      <p>You are currently browsing the "><?php echo bloginfo('name'); ?> weblog archives
      for the day <?php the_time('l, F jS, Y'); ?>.</p>

      <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
      <p>You are currently browsing the "><?php echo bloginfo('name'); ?> weblog archives
      for <?php the_time('F, Y'); ?>.</p>

      <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
      <p>You are currently browsing the "><?php echo bloginfo('name'); ?> weblog archives
      for the year <?php the_time('Y'); ?>.</p>

      <?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
      <p>You have searched the "><?php echo bloginfo('name'); ?> weblog archives
      for '<?php echo wp_specialchars($s); ?>'. If you are unable to find anything in these search results, you can try one of these links.</p>

      <?php if (function_exists('get_recent_comments')) { ?>

    • <h2><?php _e('Recent Comments:'); ?></h2>
        <?php get_recent_comments(); ?>
    • <?php } ?>

      <?php if (function_exists('get_recent_trackbacks')) { ?>

    • <h2><?php _e('Recent Trackbacks:'); ?></h2>
        <?php get_recent_trackbacks(); ?>
    • <?php } ?>

      <?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
      <p>You are currently browsing the "><?php echo bloginfo('name'); ?> weblog archives.</p>

      <?php } ?>

      <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>

    • <h2>Archives</h2>
        <?php wp_get_archives('type=monthly'); ?>
    • <h2>Categories</h2>
        <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
    • <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
      <?php get_links_list(); ?>

    • <h2>Meta</h2>
    • <?php } ?>
      <?php endif; ?>

    </div>

Topic Closed

This topic has been closed to new replies.

About this Topic