• Hello and thanks in advance. What I want to do is get rid of the home them and just have it start with the man post or whatever post was last post. Right now I think it has a feature post on the home page which is looking for a feature image. I want to remove this and just have it start with the first post. Below is the code for the main index page/ home page and I;ve tried messing with it the last day or two, but now I’m totally lost. Please help

    http://qawker.linkbouncr.com/

    http://skattertech.com/2011/02/introducing-qawker-for-wordpress/

    <?php get_header(); ?>
    
    <div id="livepost" class="featuredpost">
    <?php $args = array('posts_per_page' => 1); global $first_exclude; $first_exclude = array(); ?>
    <?php $first_one = new WP_Query($args); ?>
    <?php if ( $first_one->have_posts() ) : ?>
    <?php while ( $first_one->have_posts() ) : $first_one->the_post(); ?>
    <?php array_push($first_exclude, $post->ID); ?>
    
    <div class="image"><a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'main' ); ?></a></div>
    <h2 class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
    
    <div class="meta"><?php echo get_avatar( get_the_author_meta('email'), 20 ); ?><span><?php the_author_posts_link(); ?> -- <a href="<?php the_permalink(); ?>"><?php the_date("m/d/Y h:i A"); ?></a> —</span></div>
    <div class="text">
    <?php the_excerpt(); ?>
    <a href="<?php the_permalink(); ?>">Continue Reading &raquo;</a>
    </div>
    
    <?php endwhile; ?>
    <?php endif; ?>
    </div>
    
    <div id="homepreviews">
    <?php $args = array('posts_per_page' => 3,'post__not_in' => $first_exclude); ?>
    <?php $three_recent = new WP_Query($args); ?>
    <?php if ( $three_recent->have_posts() ) : ?>
    <?php while ( $three_recent->have_posts() ) : $three_recent->the_post(); ?>
    
    <div class="thethree">
    <div class="image"><a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'side' ); ?></a></div>
    <h2 class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
    </div>
    
    <?php endwhile; ?>
    <?php endif; ?>
    </div>
    
    <div class="hidden"><?php posts_nav_link(); ?></div>
    
    <?php get_footer(); ?>

The topic ‘Help With Qawker theme’ is closed to new replies.