<?php get_template_part('template/header'); ?>
	<section class="section post post-content">

			<?php
      // Start the loop.
      while ( have_posts() ) : the_post();
      ?>
				<div class="row">

					<div class="small-12 large-8 large-offset-2 columns">
						<h1 class="title"><?php the_title(); ?></h1>
						<?php the_content(); ?>
					</div>
				</div>

	    	<?php
	         // End of the loop.
	        endwhile;
	        ?>

					<section class="recent-posts">
						<div class="row">
							<div class="small-12 columns">
								<h2><?php _e('See Also', 'czarogrody'); ?></h2>
							</div>
						</div>

						<div class="row">
							<div class="swiper-container swiper-lands">
								<div class="swiper-wrapper">

							<?php $args = array(
								'posts_per_page' => 999,
								'number_of_posts' => 999,
							);

							$myposts = get_posts( $args );

							foreach ( $myposts as $post ) : setup_postdata( $post ); ?>

									<div class="swiper-slide">
										<div class="post">
											<a href="<?php the_permalink(); ?>">
												<div class="thumb"><?php the_post_thumbnail('post-list'); ?></div>
												<h3><?php the_title(); ?></h3>
												<?php the_excerpt(); ?>
											</a>
										</div>
									</div>


								<?php
									endforeach;
									wp_reset_postdata();
								?>
							</div>
						</div>
							</div>
				</section>


		</div>
	</section>

<?php get_template_part('template/footer');
