#1 Get header
| 1 | <?php get_header(); ?> | 
#2 Loop
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |  <?php                 // Start the Loop.                 while ( have_posts() ) : the_post();                  ?>                     <div id="post-<?php the_ID(); ?>" <?php post_class('post-holder border-bottom mb-4'); ?>>                         <div class="text-white post-wrapper" style="background-image: url(<?php the_post_thumbnail_url('full-page'); ?>);">                             <div class="text-left mt-5 pt-5">                                 <?php                                 the_title( sprintf( '<h2 class="p-3 py-4 text-uppercase category-post-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );                                 ?>                             </div>                         </div>                          <div class="px-3 py-2 text-left ">                             <?php /* translators: %s: Name of current post */                                 the_excerpt(); ?>                         </div>                     </div>                 <?php endwhile; ?> | 
#2.1 Pagination
| 1 2 | <?php previous_posts_link( '« Starsze', 0 ); ?> <?php next_posts_link( 'Nowsze »', 0 ); ?> | 
#2.2 – End Loop
| 1 2 3 4 5 6 | <?php else : get_template_part( 'content', 'none' );?>                 <div class="mb-4 py-3 text-uppercase border-top border-bottom">                 <h1 class="page-title"><?php printf( __( 'Brak wyników dla: %s', 'twentyfifteen' ), get_search_query() ); ?></h1>                 </div>         <?php endif; ?> | 
#3 Get footer
| 1 |  <?php get_footer(); ?> | 
#4 Searchform
| 1 2 3 4 5 6 | <form method="get" action="<?php echo esc_attr( home_url() ); ?>" id="searchbar" class="mt-5 searchform"> <div class="input-group">   <input type="text" class="form-control" id="searchinput" name="s" placeholder="Suchen..."  action="<?php echo esc_url(home_url('/'));?>">  <button class="btn" type="submit"> <i class="fa fa-search" value="Search"></i></button> </div> </form> |