I have placed the following Blog Loop into my 'index.php' file:
<?php
if ( have_posts() ):
while( have_posts() ): the_post();
?>
<h3><?php the_title(); ?></h3>
<p><?php the_content(); ?></p>
<small>This entry was posted on: <?php the_date('l, jS F Y'); ?> at <?php the_time('g:i a'); ?> and is filed under <?php the_category(); ?></small>
<?php
endwhile;
endif;
?>
On my Home page, the above code does not call any Blog Posts as I have appointed a 'Blog' page for my Blogs. That said, the above <small>This entry was posted on: <?php the_date('l, jS F Y'); ?> at <?php the_time('g:i a'); ?> and is filed under <?php the_category(); ?></small>
is appearing on my Home page as well as other pages. I realise that this is because I have hard coded it into my index.php but how do I remove this. If I simply remove it from my code, it does not appear on my appointed Blog page.
Any suggestions?