12345678910111213141516171819202122232425262728293031323334353637 |
- <?php get_header(); ?>
- <div id="content" class="site-content">
- <div class="container">
- <div class="row">
- <section id="primary" class="content-area col-sm-12 col-md-12 col-lg-10 offset-lg-1">
- <div id="main" class="site-main" role="main">
- <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <header class="entry-header">
- <?php the_title( '<h1 class="entry-title">', '</h1>' );?>
- <div class="entry-meta">
- <time datetime="<?php echo get_the_date('c'); ?>" itemprop="datePublished"><i class="bi bi-calendar-date mr-1"></i> <?php echo get_the_date(); ?></time>
- </div>
- </header>
- <div class="entry-content">
- <?php the_content();?>
- </div>
- <footer class="entry-footer">
- <div class="meta text-end mb-5">
- <small><i class="bi-alarm"></i> <?php the_modified_time('Y/m/d'); edit_post_link( __( 'edit', 'textdomain' ), ' ( ', ' )' );?></small>
- </div>
- </footer>
- </article>
- <?php
- the_post_navigation( array(
- 'prev_text' => __( ' %title' ),
- 'next_text' => __( ' %title' )
- ));
- ?>
- <?php endwhile;?>
- </div>
- </section>
- <!-- get_sidebar(); -->
- </div>
- </div>
- </div>
- <?php get_footer(); ?>
|