Template Help
-
Hello everyone,
Firstly this is a great forum, I have been using it loads for all my wordpress fun! Apologies if this question has been posted before, I did do a pretty good search and didn’t manage to find anything.
I am trying to create a wordpress skin for my companies Press Releases, what I really want to do is have two pages, a title page listing the story title and date, then, a page that displays the full story.
This could be the simplest template ever, but I am a complete php n00b I am afraid.
I am using the following code on the main template:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php the_date(”,'<h3>’,'</h3>’); ?><div class=”post” id=”post-<?php the_ID(); ?>”>
<h3 class=”storytitle”>/<?php the_permalink() ?>” rel=”bookmark”><?php the_title(); ?></h3>
</div><?php endwhile; else: ?>
<?php _e(‘Sorry, no posts matched your criteria.’); ?>
<?php endif; ?>which is displaying the titles, but how do I create a second page that displays the full story when the title is clicked?
Many thanks for all your help,
Ben
The topic ‘Template Help’ is closed to new replies.