page.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php get_header();?>
  2. <div id="content" class="site-content">
  3. <div class="container">
  4. <div class="row">
  5. <div class="col-md-3 ">
  6. <div class="hp-sidenav is_stuck" role="navigation">
  7. <ul class="nav flex-column list-group-flush">
  8. <?php echo hp_list_child_pages(); ?>
  9. </ul>
  10. </div>
  11. </div>
  12. <section id="primary" class="content-area col-sm-12 col-md-9">
  13. <div id="main" class="site-main" role="main">
  14. <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
  15. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  16. <header class="entry-header">
  17. <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
  18. </header>
  19. <div class="post-thumbnail">
  20. <?php the_post_thumbnail(); ?>
  21. </div>
  22. <div class="entry-content">
  23. <?php the_content(); ?>
  24. </div>
  25. <div class="meta text-right mb-5">
  26. <small><i class="bi-alarm"></i> Last Updated: <?php the_modified_time('F jS, Y'); edit_post_link( __( 'edit', 'textdomain' ), ' ( ', ' )' );?></small>
  27. </div>
  28. </article>
  29. <?php endwhile; ?>
  30. </div>
  31. </section>
  32. </div>
  33. </div>
  34. </div>
  35. <?php get_footer();?>