custom single.php post showing up twice

Thanks for the help again 🙂 Love this place!

The issues was on the single.php page. I have this if statement:

<?php

$post = $wp_query->post;

if ( in_category('latest-news') ) {

include(TEMPLATEPATH . '/single-latest-news.php'); } 

elseif ( in_category('latest-sermons') ) {

include(TEMPLATEPATH . '/single-latest-sermons.php'); } 

elseif ( in_category('sunday-service') ) {

include(TEMPLATEPATH . '/single-sunday-service.php'); } 

elseif ( in_category('events') ) {

include(TEMPLATEPATH . '/events.php'); } 

elseif ( in_category('blog') ) {

include(TEMPLATEPATH . '/single-blog.php'); } 

else {

include(TEMPLATEPATH . '/single.php');

}

?>

but it should be like this without the slash!

<?php

$post = $wp_query->post;

if ( in_category('latest-news') ) {

include(TEMPLATEPATH . 'single-latest-news.php'); } 

elseif ( in_category('latest-sermons') ) {

include(TEMPLATEPATH . 'single-latest-sermons.php'); } 

elseif ( in_category('sunday-service') ) {

include(TEMPLATEPATH . 'single-sunday-service.php'); } 

elseif ( in_category('events') ) {

include(TEMPLATEPATH . 'events.php'); } 

elseif ( in_category('blog') ) {

include(TEMPLATEPATH . 'single-blog.php'); } 

else {

include(TEMPLATEPATH . 'single.php');

}

?>

Now it does not duplicate the post after the footer and now I can stop sweating in panic! I have used this method before but not come across this issue. Hope this answer can help someone else out in the future!

Cheers,

Ben.