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 /

<?php
if ( have_posts() ) :

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


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

/* 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() );

endwhile;

ajaira_paging_nav(); 

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 *