You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
41 lines
1.1 KiB
2 years ago
|
<?php get_header(); ?>
|
||
|
<div hidden>
|
||
|
<h1><?php bloginfo( 'name' ); ?></h1>
|
||
|
<h2><?php bloginfo( 'description' ); ?></h2>
|
||
|
</div>
|
||
|
|
||
|
<main id="main">
|
||
|
<section class="section wrapper">
|
||
|
<article class="article content fade-in-left delay_03">
|
||
|
<?php
|
||
|
$slug = 'intro-left';
|
||
|
$post = get_page_by_path( $slug, OBJECT, 'post' );
|
||
|
|
||
|
if ( $post ) :
|
||
|
setup_postdata( $post );
|
||
|
the_content();
|
||
|
wp_reset_postdata();
|
||
|
else :
|
||
|
echo "<p>No post.</p>";
|
||
|
endif;
|
||
|
?>
|
||
|
</article>
|
||
|
<article class="article media fade-in-right delay_04">
|
||
|
<div class="availability-checker">
|
||
|
<?php
|
||
|
$slug = 'intro-right';
|
||
|
$post = get_page_by_path( $slug, OBJECT, 'post' );
|
||
|
|
||
|
if ( $post ) :
|
||
|
setup_postdata( $post );
|
||
|
the_content();
|
||
|
wp_reset_postdata();
|
||
|
else :
|
||
|
echo "<p>No post.</p>";
|
||
|
endif;
|
||
|
?>
|
||
|
</div>
|
||
|
</article>
|
||
|
</section>
|
||
|
</main>
|
||
|
<?php get_footer(); ?>
|