page.php 1.4 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-lg-3">
  6. <div class="hp-sidenav navbar sticky-md-top pt-sm-3" role="navigation">
  7. <div class="navbars-collapse">
  8. <div class="flex-column list-group-flush">
  9. <?php echo hp_list_child_pages(); ?>
  10. </div>
  11. </div>
  12. </div>
  13. </div>
  14. <section id="primary" class="content-area col-lg-9 col-md-12">
  15. <div id="main" class="site-main" role="main">
  16. <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
  17. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  18. <header class="entry-header">
  19. <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
  20. </header>
  21. <div class="post-thumbnail">
  22. <?php the_post_thumbnail(); ?>
  23. </div>
  24. <div class="entry-content">
  25. <?php the_content(); ?>
  26. </div>
  27. <div class="meta text-end mb-5">
  28. <small><i class="bi-alarm"></i> Last Updated: <?php the_modified_time('F jS, Y'); edit_post_link( __( 'edit', 'textdomain' ), ' ( ', ' )' );?></small>
  29. </div>
  30. </article>
  31. <?php endwhile; ?>
  32. </div>
  33. </section>
  34. </div>
  35. </div>
  36. </div>
  37. <?php get_footer();?>