initial commit
This commit is contained in:
45
page.php
Executable file
45
page.php
Executable file
@@ -0,0 +1,45 @@
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main role="main">
|
||||
<!-- section -->
|
||||
<section>
|
||||
|
||||
|
||||
|
||||
<?php if (have_posts()): while (have_posts()) : the_post(); ?>
|
||||
|
||||
<!-- article -->
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
|
||||
<?php the_content(); ?>
|
||||
|
||||
|
||||
|
||||
<!-- <br class="clear"> -->
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
<!-- /article -->
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php else: ?>
|
||||
|
||||
<!-- article -->
|
||||
<article>
|
||||
|
||||
<h2><?php _e( 'Sorry, nothing to display.', 'iotheme' ); ?></h2>
|
||||
|
||||
</article>
|
||||
<!-- /article -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
</section>
|
||||
<!-- /section -->
|
||||
</main>
|
||||
|
||||
|
||||
<?php get_footer(); ?>
|
||||
Reference in New Issue
Block a user