Place the_time function before the title function in your loop.
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php the_time('j F, Y') ?>
<?php the_title(); ?>
<?php the_content(); ?>
<?php endwhile; endif; ?>
Checkout the loop functions here:
https://codex.wordpress.org/The_Loop
And the time function here:
http://codex.wordpress.org/Function_Reference/the_time
I don’t know where to place it?
I use the Twenty Eleven theme.
Do not edit the theme itself. First create a child theme for your changes.
Agreed with esmi. After creating the child theme, you want to edit your index.php file for the home page or the content-single.php for your post loops.
How do I create a child theme?
– I’m new at WP!
Please see the page at the link I posted above.
Am I going to create it through my ftp server or where else?
You create it on your own computer using a plain text editor and then upload the new child theme’s folder using FTP.
I have created a child theme.
How can I move the date above the post title?