wp-73k/front-page.php

37 lines
758 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;
get_header(); ?>
<main class="container d-flex justify-content-center">
<div class="d-flex flex-column-reverse flex-lg-row align-items-lg-end mt-sm-3 mt-md-4 pt-md-4 mt-lg-5 pt-lg-5 pb-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));