Changes to site
-
Website: https://www.shoottothrill.co.uk
So, was making a few changes to my website and seem to have messed it up a little bit. The posts used to appear on the homepage, but I decided to create a dedicated page for them called ‘Updates’ and have a little info about me on the homepage instead. My problem is that the posts aren’t appearing on it. I created a template with the following code..
<?php
/*
Template Name: Updates
*/
?><?php get_header(); ?>
<div id=”content”>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”entry”>
<h1 id=”post-<?php the_ID(); ?>”>” rel=”bookmark”><?php the_title(); ?></h1>
<?php the_content(‘More »’); ?>
<div class=”info”>
</div>
<?php if ( comments_open() ) comments_template(); ?>
</div>
<?php endwhile; else: ?>
<div class=”entry”>
<p><b>Sorry, but you are looking for something that isn’t here.</b></p>
</div>
<?php endif; ?>
<div class=”entry”>
<p><?php next_posts_link(‘« Older Entries’) ?> <?php previous_posts_link(‘Newer Entries »’) ?></p>
</div>
</div>Also, on my portfolio page, my Flash portfolio has disappeared. The template code for it is..
<?php get_header(); ?>
<div id=”content” style=”width:975px; padding-right:0px; border-right:0px;”>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”entry”>
<h1 id=”post-<?php the_ID(); ?>”>” rel=”bookmark”><?php the_title(); ?></h1>
<?php the_content(‘Read the rest of this entry »’); ?><br clear=”all” />
<?php endwhile; else: ?>
<div class=”entry”>
<p><b>Sorry, but you are looking for something that isn’t here.</b></p>
</div>
<?php endif; ?>
<div class=”entry”>
<p><?php next_posts_link(‘« Older Entries’) ?> <?php previous_posts_link(‘Newer Entries »’) ?></p>
</div>
</div><?php get_footer(); ?>
Thanks in advance for your help!
- The topic ‘Changes to site’ is closed to new replies.