i just installed a new wordpress template that has a preview on the homepage but the problem is it only shows the preview and not the title of the post
i just want the title to appear on the top of the preview
here's the screenshot
and here's the index code of the template
hope you can help me
thank you
i just want the title to appear on the top of the preview
here's the screenshot
and here's the index code of the template
Code:
<?php
get_header();
?>
<?php $count = 0;?>
<?php query_posts('showposts=16'); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="postindex" id="post-<?php the_ID(); ?>">
<div class="entry">
<a href="<?php the_permalink() ?>" rel="bookmark">
<img src="<?php $values = get_post_custom_values("poster"); echo $values[0]; ?>" alt="<?php the_title(); ?>" /></a>
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
<?php if(function_exists('the_views')) { the_views(); } ?>
</div>
</div>
<?php endwhile; else: ?>
<h2>Not Found</h2>
<p>Sorry, but you are looking for something that isn't here.</p>
<?php endif; ?>
<div class="alignleft"><?php next_posts_link('« previous') ?></div>
<div class="alignright"><?php previous_posts_link('next »') ?></div>
<?php get_footer(); ?>
thank you