Hi,
I have an about page that uses a template I have created. The template is called about.php
For some reason, the template isn't outputting the whole page (my test page).
Here's my about.php file:
<?php
/*
Template Name: About
*/
?>
<?php get_header(); ?>
<?php while (have_posts()) : the_post(); ?>
<?php $banner_text = get_post_meta($post->ID, 'banner_text', true); ?>
<div id="leader">
<h2><?php echo $banner_text; ?></h2>
</div>
<div id="content">
<?php the_content(); ?>
<?php endwhile; ?>
<div id="extras">
<h3>From the blog</h3>
<h3>Stuff from the web I've bookmarked</h3>
</div>
</div>
<?php get_footer(); ?>
As you can see, the content of the extras div isn't being displayed. The extras div is separate because I'm going to use a couple of plugins there.
Thanks,
Leon