wp-73k/front-page.php

37 lines
776 B
PHP
Raw Normal View History

2021-07-06 14:57:45 -04:00
<?php
/**
* The 73k theme static front page style
2021-07-06 14:57:45 -04:00
*
* @author Adam Piontek
2021-07-06 14:57:45 -04:00
* @since 1.0.0
*/
namespace WP_73k;
2021-07-06 23:31:20 -04:00
get_header('', array('fixednav'=>true)); ?>
<main class="container-fluid h-100 d-flex justify-content-center align-items-center">
<div class="d-flex flex-column-reverse flex-lg-row align-items-lg-end mt-5" id="tek-front-page">
2021-07-06 14:57:45 -04:00
<?php
if ( have_posts() ) {
while ( have_posts() ) {
the_post(); ?>
2021-07-06 14:57:45 -04:00
<div class="col-auto mt-3 mt-lg-0">
<?php echo get_the_post_thumbnail( get_the_ID(), 'large' ); ?>
2021-07-06 14:57:45 -04:00
</div>
<!-- the_content(); -->
2021-07-06 14:57:45 -04:00
<div class="col-auto justify-content-start ms-lg-3">
<?php the_content(); ?>
2021-07-06 14:57:45 -04:00
</div>
<?php }
}
?>
2021-07-06 14:57:45 -04:00
</div>
</main>
<?php
get_footer('', array('frontpage'=>true));