page-full.php 1.1 KB

1234567891011121314151617181920212223242526272829
  1. <?php /* Template Name: Page Full-Width */ get_header();?>
  2. <div id="content" class="site-content">
  3. <div class="container">
  4. <div class="row">
  5. <section id="primary" class="content-area col-sm-12 col-md-12">
  6. <div id="main" class="site-main" role="main">
  7. <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
  8. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  9. <header class="entry-header">
  10. <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
  11. </header>
  12. <div class="post-thumbnail">
  13. <?php the_post_thumbnail(); ?>
  14. </div>
  15. <div class="entry-content">
  16. <?php the_content(); ?>
  17. </div>
  18. <div class="meta text-end mb-5">
  19. <small><i class="bi-alarm"></i> Last Updated: <?php the_modified_time('F jS, Y'); edit_post_link( __( 'edit', 'textdomain' ), ' ( ', ' )' );?></small>
  20. </div>
  21. </article>
  22. <?php endwhile; ?>
  23. </div>
  24. </section>
  25. </div>
  26. </div>
  27. </div>
  28. <?php get_footer();?>