Post Content Note Displaying
-
Example link shown.
After updating plugins the site no longer displays the site content.
<p><?php the_time(‘d m Y’);?></p> – Display
<?php the_content();?> – is not displayingI have inherited the website from another developer.
single.php file code below:
<?php /* Template for displaying single posts */
get_header();?><section class=”fullwidth”>
<div class=”container”>
<div class=”row”>
<?php get_sidebar(‘blog’);?>
<main class=”col-sm-9″>
<?php
if(has_post_thumbnail()) :
the_post_thumbnail(‘page-thumbnail’, array(‘class’ => ‘page-thumbnail’));
echo “<hr class=’dbline’/>”;
endif;?>
<h3 class=”green”><?php the_title();?></h3>
<p><?php the_time(‘d m Y’);?></p>
<?php the_content();?>
<div class=”get-in-touch”>
<ul id=”get-in-touch-icons”>
<li class=”header-tel”>
“><?php echo ot_get_option(‘telephone_number’);?><li class=”header-email”>
“><?php echo ot_get_option(‘header_email’);?></div>
<hr class=”sline”/>
<div class=”nav-previous”>
“>Back
</div>
</main>
</div>
</div>
</section><?php get_footer();?>
The page I need help with: [log in to see the link]
- The topic ‘Post Content Note Displaying’ is closed to new replies.