• Okay, I can’t possibly get the Home Without Slider template to do what I want. Basically, the twitter widget that I need to put on the right side of the page is showing up on top of the content, hiding previous blog posts. Below is my home-without-slider.php

    <?php /*Template Name: Home without Slider*/ ?>
    <?php get_header(); ?>

    <div id=”content” class=”clearfix”>

    <div id=”main” class=”no-slider clearfix” role=”main”>

    <?php

    $paged = get_query_var(‘page’);
    $temp = $wp_query;
    $wp_query= null;
    $wp_query = new WP_Query();
    $wp_query->query(‘post_type=post&paged=’ . $paged);

    ?>

    <?php if ( $wp_query->have_posts() ) : ?>

    <div id=”grid-wrap-2″ class=”clearfix”>
    <?php /* Start the Loop */ ?>
    <?php while ( $wp_query->have_posts() ) : $wp_query->the_post(); ?>

    <div class=”grid-box”>
    <?php
    /* Include the Post-Format-specific template for the content.
    * If you want to overload this in a child theme then include a file
    * called content-___.php (where ___ is the Post Format name) and that will be used instead.
    */
    get_template_part( ‘content’, get_post_format() );

    ?>

    </div>

    <?php endwhile; ?>
    <div id=”sidebar” class=”widget-area-wrap”>
    <?php if ( ! dynamic_sidebar( ‘sidebar-home’ ) ) : ?>

    <aside id=”categories” class=”widget”>
    <div class=”widget-title”><?php _e( ‘Categories’, ‘newswire’ ); ?></div>

      <?php wp_list_categories( array(
      ‘title_li’ => ”,
      ‘hierarchical’ => 1
      ) ); ?>

    </aside>

    <aside id=”recent-posts” class=”widget”>
    <div class=”widget-title”><?php _e( ‘Latest Posts’, ‘newswire’ ); ?></div>

      <?php
      $args = array( ‘numberposts’ => ’10’, ‘post_status’ => ‘publish’ );
      $recent_posts = wp_get_recent_posts( $args );

      foreach( $recent_posts as $recent ){
      if ($recent[“post_title”] == ”) {
      $recent[“post_title”] = __(‘Untitled’, ‘newswire’);
      }
      echo ‘

    • ‘ . $recent[“post_title”] .’
    • ‘;
      }
      ?>

    </aside>

    <aside id=”archives” class=”widget”>
    <div class=”widget-title”><?php _e( ‘Archives’, ‘newswire’ ); ?></div>

      <?php wp_get_archives( array( ‘type’ => ‘monthly’ ) ); ?>

    </aside>

    <?php endif; // end sidebar widget area ?>
    </div>
    <div class=”gutter-sizer”></div>
    </div>
    <?php if (function_exists(“newswire_pagination”)) {
    newswire_pagination();
    } elseif (function_exists(“newswire_content_nav”)) {
    newswire_content_nav( ‘nav-below’ );
    }?>

    <?php else : ?>

    <article id=”post-0″ class=”post no-results not-found”>
    <header class=”entry-header”>
    <h1 class=”entry-title”><?php _e( ‘Nothing Found’, ‘newswire’ ); ?></h1>
    </header><!– .entry-header –>

    <div class=”entry-content post-content”>
    <p><?php _e( ‘It seems we can’t find what you’re looking for. Perhaps searching can help.’, ‘newswire’ ); ?></p>
    <?php get_search_form(); ?>
    </div><!– .entry-content –>
    </article><!– #post-0 –>

    <?php endif; ?>

    <?php wp_reset_postdata(); ?>

    </div> <!– end #main –>

    </div> <!– end #content –>

    <?php get_footer(); ?>

    Yes, I have created my own template trying to get rid of the widget even populating. There are default widgets that show up even if you have nothing. In addition, just space-barring the text in a text widget makes an ugly grey box appear.

    I would LOVE for the content to stay to the left of the widget so I can show the widget, but I am more than willing to have no widgets at all, but everything I have tried has resulted in error. Maybe one of you can help me with this.

    Thanks.

  • The topic ‘HELP! Newswire Widgets overlapping content’ is closed to new replies.