Home page, posts separate in date

I want to know how I can separate my posts by date on the homepage, like in this site> http://www.novelupdates.com/

Follow my index.php /

if ( have_posts() ) :

if ( is_home() && ! is_front_page() ) : ?>
<h1 class="page-title screen-reader-text"><?php single_post_title(); ?>/h1>

?><h1 class="posts_section___">Últimos capítulos postados</h1>

/* Start the Loop */
while ( have_posts() ) : the_post();

 * Include the Post-Format-specific template for the content.
 * If you want to override this in a child theme, then include a file
 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
get_template_part( 'template-parts/content', get_post_format() );



else :

get_template_part( 'template-parts/content', 'none' );

My site: http://walkerfield.com.br/

Read more here: Home page, posts separate in date

Leave a Reply

Your email address will not be published. Required fields are marked *