initial commit; POC dev based off wp-73k theme
This commit is contained in:
commit
7325162871
50 changed files with 19419 additions and 0 deletions
36
front-page.php
Normal file
36
front-page.php
Normal file
|
@ -0,0 +1,36 @@
|
|||
<?php
|
||||
/**
|
||||
* The 73k theme static front page style
|
||||
*
|
||||
* @author Recovery Dharma NYC
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
namespace WP_RDNYC;
|
||||
|
||||
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">
|
||||
|
||||
<?php
|
||||
if ( have_posts() ) {
|
||||
while ( have_posts() ) {
|
||||
the_post(); ?>
|
||||
|
||||
<div class="col-auto mt-3 mt-lg-0">
|
||||
<?php echo get_the_post_thumbnail( get_the_ID(), 'large' ); ?>
|
||||
</div>
|
||||
|
||||
<!-- the_content(); -->
|
||||
<div class="col-auto justify-content-start ms-lg-3">
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
|
||||
<?php }
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
<?php
|
||||
get_footer('', array('frontpage'=>true));
|
Loading…
Add table
Add a link
Reference in a new issue