Compare commits
2 commits
330c19d0f1
...
3f612dfd98
Author | SHA1 | Date | |
---|---|---|---|
|
3f612dfd98 | ||
|
73e56e81b2 |
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
biofriction-docker
|
||||
biofriction-weblamp-rsync
|
|
@ -231,7 +231,7 @@ function server(done) {
|
|||
proxy: BROWSERSYNC.url,
|
||||
|
||||
ui: {
|
||||
port: 8080
|
||||
port: 808080
|
||||
},
|
||||
|
||||
});
|
||||
|
|
33
biofriction-theme/page-templates/homepage2021.php
Normal file
33
biofriction-theme/page-templates/homepage2021.php
Normal file
|
@ -0,0 +1,33 @@
|
|||
<?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(); ?>
|
||||
<?php get_template_part( 'template-parts/content', get_post_format() ); ?>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php else : ?>
|
||||
<?php get_template_part( 'template-parts/content', 'none' ); ?>
|
||||
|
||||
<?php endif; // End have_posts() check. ?>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php get_footer();
|
Reference in a new issue