I’m having issues trying to display content from blog posts in WordPress. I’ve stripped back the code to the following:
<?php get_header(); ?> <div class="content-container"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <?php the_title(); ?> <?php the_content(); ?> <?php endwhile;?> <?php endif;?> </div> <?php get_footer(); ?>
The title displays fine (http://edwardmanson.com/films-by-ben/) but for some reason the content won’t. I’ve made no adjustments to my functions.php file and have never had an issue like this before.
Any help would be massively appreciated.
Read more here: WordPress post content not displaying