• That’s not “every fifth” of “every third” different post template. There are the first and the last, 1 and 10. I have no idea.

    the pic

    Without plugins please.

    • This topic was modified 3 years, 9 months ago by alexiusgrey. Reason: link will look better then bb code
Viewing 2 replies - 1 through 2 (of 2 total)
  • I don’t understand your description but you might find what you’re looking for if you search for “masonry grid layout” themes.

    Thread Starter alexiusgrey

    (@alexiusgrey)

    I’ll search about ”masonry grid”, thanks!
    I don’t want to use ready themes, I prefer to learn how to make that thing manually.
    Every fifth or third different post – is about counter, like that.

    
    <?php if ( have_posts() ) : $ir = 0; while ( have_posts() ) : the_post();
    
      if ( $ir % 3 !== 0 ) {
        get_template_part( 'template-parts/article-big' );
      } else {
        get_template_part( 'template-parts/article' );
      }
    
    $ir++; endwhile; endif; ?>
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to make blog look like this?’ is closed to new replies.