This repository has been archived on 2021-10-26. You can view files and clone it, but cannot push or open issues or pull requests.
2021-10-22 13:23:45 +02:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* Template Name: Home page 2021
|
|
|
|
* The template for displaying text on the left side
|
|
|
|
* and an image gallery on the right side
|
|
|
|
*
|
|
|
|
* @package Biofriction
|
|
|
|
* @since Biofriction 1.0.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
get_header(); ?>
|
|
|
|
|
|
|
|
<div class="main-container homepage-2021">
|
|
|
|
<div class="main-grid">
|
|
|
|
<main class="main-content">
|
|
|
|
<?php if ( have_posts() ) : ?>
|
|
|
|
|
|
|
|
<?php /* Start the Loop */ ?>
|
|
|
|
<?php while ( have_posts() ) : the_post(); ?>
|
2021-10-22 13:52:24 +02:00
|
|
|
<?php //get_template_part( 'template-parts/content', get_post_format() ); ?>
|
|
|
|
<?php //begin part homepage-2021 ?>
|
|
|
|
|
|
|
|
<article id="content-homepage-2021 post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
|
|
<header>
|
2021-10-22 21:19:15 +02:00
|
|
|
<h1 class="entry-title"><?php //the_title(); ?></h1>
|
2021-10-22 13:52:24 +02:00
|
|
|
</header>
|
|
|
|
<div class="entry-content">
|
|
|
|
<?php the_content(); ?>
|
|
|
|
</div>
|
|
|
|
<footer>
|
|
|
|
<?php get_template_part( 'template-parts/navigation', 'prevnext' ); ?>
|
|
|
|
<?php $tag = get_the_tags(); if ( $tag ) { ?><p><?php the_tags(); ?></p><?php } ?>
|
|
|
|
</footer>
|
|
|
|
</article>
|
|
|
|
|
|
|
|
<?php //end part homepage-2021 ?>
|
2021-10-22 13:23:45 +02:00
|
|
|
<?php endwhile; ?>
|
|
|
|
|
|
|
|
<?php else : ?>
|
|
|
|
<?php get_template_part( 'template-parts/content', 'none' ); ?>
|
|
|
|
|
|
|
|
<?php endif; // End have_posts() check. ?>
|
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php get_footer();
|