Hey everyone. I have created a very basic page template. The code is below:
<?php
/*
Template Name: apage
*/
?>
<?php
get_header();
?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a> </h1>
<h3><?php edit_post_link(__('Edit This')); ?></h3>
<p>
<?php the_content(__('(more...)')); ?>
</p>
</div>
<?php get_footer(); ?>
When I drop that page in my theme folder and chose to use it as a page template with one of pages I get a parsing error!
Parse error: syntax error, unexpected $end in /mnt/gs01/herd02/4483/domains/snfguild.com/html/wp-content/themes/Soundfury/apage.php on line 23
Can someone help me understand what's happening here?