123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php get_header();?>
- <div id="content" class="site-content">
- <div class="container">
- <div class="row">
- <div class="col-lg-3">
- <div class="hp-sidenav navbar sticky-md-top pt-sm-3" role="navigation">
- <div class="navbars-collapse">
- <div class="flex-column list-group-flush">
- <li class="<?php if ( is_page() && !$post->post_parent ) echo 'current_nav-item'; ?> nav-item list-group-item py-1 p-0">
- <a href="<?php echo get_permalink( $post->post_parent ); ?>" >
- <?php echo get_the_title( $post->post_parent ); ?>
- </a>
- </li>
- <?php echo boot23_list_child_pages(); ?>
- </div>
- </div>
- </div>
- </div>
- <section id="primary" class="content-area col-lg-9 col-md-12">
- <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>' ); ?>
- </header>
- <div class="post-thumbnail">
- <?php the_post_thumbnail(); ?>
- </div>
- <div class="entry-content">
- <?php the_content(); ?>
- </div>
- <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>
- </article>
- <?php endwhile; ?>
- </div>
- </section>
- </div>
- </div>
- </div>
- <?php get_footer();?>
|