My Wordpress site:
http://vex-i.com/sportimedia.com/wordpress/
Hey,
I've taken a free wordpress template and I'm trying to skin it for a website. The template includes a .minipost function, which is what I want to use instead of the normal post feed.
How would I go about simply getting rid of the post feed ONLY on the index.php?
I've considered putting some visibility:hidden codes in the CSS, but it hides all posts on every page.
----------------------------------------------
Here's the index.php:
<?php get_header(); ?>
<?php include (TEMPLATEPATH . '/slide.php'); ?>
<div id="content">
<?php include (TEMPLATEPATH . '/glide.php'); ?>
<?php include (TEMPLATEPATH . '/minipost.php'); ?>
<div class="clear"></div>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></h2>
<div class="date"><span class="clock"> <?php the_time('F - j - Y'); ?></span> <span class="author">Reporter: <?php the_author(); ?></span> <span class="com"><?php comments_popup_link('Respond', '1 Response', '% Responses'); ?></span>
</div>
<div class="cover">
<div class="entry">
<?php $screen = get_post_meta($post->ID,'screen', true); ?>
<img src="<?php echo ($screen); ?>" width="120" height="80" alt="" />
<?php the_excerpt(); ?>
<div class="clear"></div>
</div>
</div>
<div class="postinfo">
<div class="category"><?php the_category(', '); ?> </div>
</div>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
</div>
<?php else : ?>
<div class="post">
<h1 class="title">Not Found</h1>
<p>You are looking for something that isn't here.</p>
</div>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
----------------------------------------------
Thanks in advance!
Will