html - wordpress footer.php will not appear in single.php -
my footer.php file pull every page except single.php, have no idea why occurring! ideas?
below single.php code
<?php get_header(); ?> <div class="page-content"> <div class="small-banner"> <h1><?php the_title(); ?></h1> <img src="http://www.quorngrangehotel.local/wp-content/uploads/2017/04/new-events-banner.jpg"> </div> <main role="main" class="maincontent"> <div id="inner-content" class="row"> <main id="main" class="large-8 medium-8 columns" role="main"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php get_template_part( 'parts/loop', 'single' ); ?> <?php endwhile; else : ?> <?php get_template_part( 'parts/content', 'missing' ); ?> <?php endif; ?> </main> <!-- end #main --> </div> <!-- end #inner-content --> </main><!-- end #content --> <?php get_footer(); ?>
i found out issue comments section being pulled in via single template part!
Comments
Post a Comment