php - WordPress blog dates are displaying the current date for every post -


my wordpress blog, running custom theme, displays date each entry post same date: today. display last 3 posts on main home page, dates fine. main blog page shows current date every post.

i able ftp site, , have access php files, problem don't know file error might in, whether index.php, page.php, single.php, have no idea. if can suggest problem might be, can sharing code.

here index.php

<?php  get_header(); ?> <div class="wrap blog"> <h1>blog</h1> <div class="blog-left"> <div id="main-content" class="main-content">  <?php if ( is_front_page() && twentyfourteen_has_featured_posts() ) {     // include featured content template.     get_template_part( 'featured-content' ); } ?>  <div id="primary" class="content-area">     <div id="content" class="site-content" role="main">      <?php         if ( have_posts() ) :             // start loop.             while ( have_posts() ) : the_post();                  /*                  * include post format-specific template content. if want                  * use in child theme, include file called called content-___.php                  * (where ___ post format) , used instead.                  */                 get_template_part( 'content', get_post_format() );              endwhile;             // previous/next post navigation.             twentyfourteen_paging_nav();          else :             // if no content, include "no posts found" template.             get_template_part( 'content', 'none' );          endif;     ?>       </div><!-- #content --> </div><!-- #primary --> <?php get_sidebar( 'content' ); ?> </div><!-- #main-content --> </div>  <div class="blog-right"> <?php get_sidebar(); ?> </div> </div> <?php get_footer(); 

have @ template hierarchy chart figure out file used display posts. might archive.php, front-page.php, home.php, index.php depending on theme , setup. there, you'll see function or file loaded display each post's content.

considering sample code, in content.php or in case it's special post format, in content-{format}.php


Comments