• 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 &raquo;'); ?></div>
    
    <?php get_footer();?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bnther

    (@bnther)

    I’m not sure but it might not be a code issue. When I go to ‘Edit Posts’ and then ‘View Posts’ for any of my posts, it pukes out, (it falls back to index) which is actually kind of weird because all of the other posts display properly.

    Any thoughts?

    Thread Starter bnther

    (@bnther)

    I’m going to retract that last post. When I hover over the link, it will display the target page in the lower left hand corner, so it’s reading the right link…it just won’t go there. There’s got to be something screwed up with my code.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Links not pulling up posts’ is closed to new replies.