mirror of https://github.com/IoTcat/sakura2.git
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.
45 lines
835 B
45 lines
835 B
<?php /* Template Name: Demo Page Template */ get_header(); ?> |
|
|
|
<main role="main" aria-label="Content"> |
|
<!-- section --> |
|
<section> |
|
|
|
<h1><?php the_title(); ?></h1> |
|
|
|
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> |
|
|
|
<!-- article --> |
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
|
|
|
<?php the_content(); ?> |
|
|
|
<?php comments_template( '', true ); // Remove if you don't want comments. ?> |
|
|
|
<br class="clear"> |
|
|
|
<?php edit_post_link(); ?> |
|
|
|
</article> |
|
<!-- /article --> |
|
|
|
<?php endwhile; ?> |
|
|
|
<?php else : ?> |
|
|
|
<!-- article --> |
|
<article> |
|
|
|
<h2><?php esc_html_e( 'Sorry, nothing to display.', 'html5blank' ); ?></h2> |
|
|
|
</article> |
|
<!-- /article --> |
|
|
|
<?php endif; ?> |
|
|
|
</section> |
|
<!-- /section --> |
|
</main> |
|
|
|
<?php get_sidebar(); ?> |
|
|
|
<?php get_footer(); ?>
|
|
|