I'm trying to display a custom loop with only certain elements in it.
My loop currently contains the title, creation date, author & content.
However I am trying to remove the content for each post in the loop as I do not want it displayed in this list with no luck.
I have even removed the_content() out of the loop & it still displays a listing of the post content under the looped section.
Any help would be greatly appreciated,
here is my code:
<?php query_posts('category_name=halloween &posts_per_page=6'); ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <!-- IF articles then display them --> <h6><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h6> <small><?php the_time('F jS, Y') ?> by <?php the_author_posts_link() ?></small> <?php endwhile; else: ?> <!-- IF no articles were created then show --> NO Posts Present <?php endif; ?>