I generated links from a query and when I’m hovering over them, I can see that it’s got the right page id, but when I click the link it gives me a fatal error.
Here’s the code:
<?php
/* Template name: Event Calender */
?>
<?php get_header();?>
<div id=”calenderList”>
<span class=”newsHeader”>Events Calender</span>
<?php query_posts(‘category_name=eventCalender’);?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post();?>
<table width=”325px”>
<tr>
<td width=”200px”><b>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title();?></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(); ?></div>
<?php get_footer();?>