• Hi

    I have been working in a customized template and I just realized that after some changes the date displayed at the top of each post is not working. I have a customized page called News where I assign all the posts. This page News displays a small part of each post, and between the title of the post and the text of it, I display the date of the post. Before changes, it used to work properly, displaying, for example: 30 January, 2012. Right now, what I get is this: %A %B %e%q, %Y. What is the reason of this and what can I do to fix it? The code I’m using to display the date is:

    <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
    								<div class="x">
    									<div class="x1"><?php echo get_the_date(); ?></div>
    																		<!-- something more -->
    																	</div>

    I didn’t modify the code of get_the_date() as far as I’m concerned.

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to display the posts date well?’ is closed to new replies.