Links not pulling up posts
-
This code starts with a query to grab all of the posts with the specific category of ‘eventCalender’. I’ve got them blued and underlined — links — but when I click on one, it pukes. I can’t seem to get any of the posts to come up. What am I missing?
<?php /* Template name: Event Calender */ ?> <?php get_header();?> <div id="calenderList"> <span class="newsHeader">Events Calender</span><br /><br /> <?php query_posts('category_name=eventCalender');?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post();?> <table width="325px"> <tr> <td width="200px"><b><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title();?></a></b></td> <td class="alignRight"><?php the_meta();?></td> </tr> </table> <div class="divider"></div> <?php endwhile; else:?> <p> nothing doing</p> <?php endif; ?> <?php wp_reset_query(); ?> </div> <div class="eventCalendarHolder"><?php the_content('Read the rest of this entry »'); ?></div> <?php get_footer();?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Links not pulling up posts’ is closed to new replies.