Hello,
I'm really confused about this problem I found in my custom template. single.php and page.php have the same content. Posts show correctly, but pages don't, for some reason. Pages only show index.php, that is, the template.
This is the code:
<?php get_header();?>
<div class="title">
<?php $slogan = get_option('nf_title'); echo $title; ?>
</div>
<div class="content">
<p><span class="postTitle"><?php the_title(); ?></span></p><span class="postDate">Written on <?php the_time('j \d\e\ F \d\e\ Y') ?> at<?php the_time() ?> by <?php the_author(); ?></span></p>
<span class="post"><?php the_content(); ?>
<?php comments_template(); ?>
<?php endwhile; ?>
</span></div>
<?php get_footer();?>
Has anyone had this problem? Is there anything I'm missing?
Thanks a lot!