| Line | |
|---|
| 1 | <?php |
|---|
| 2 | |
|---|
| 3 | /** |
|---|
| 4 | * The template for displaying all pages |
|---|
| 5 | * |
|---|
| 6 | * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ |
|---|
| 7 | * |
|---|
| 8 | * @package bridal_jewelry_store |
|---|
| 9 | */ |
|---|
| 10 | |
|---|
| 11 | get_header(); |
|---|
| 12 | ?> |
|---|
| 13 | |
|---|
| 14 | <main id="primary" class="site-main"> |
|---|
| 15 | |
|---|
| 16 | <?php |
|---|
| 17 | while ( have_posts() ) : |
|---|
| 18 | the_post(); |
|---|
| 19 | |
|---|
| 20 | get_template_part( 'template-parts/content', 'page' ); |
|---|
| 21 | |
|---|
| 22 | if ( comments_open() || get_comments_number() ) : |
|---|
| 23 | comments_template(); |
|---|
| 24 | endif; |
|---|
| 25 | |
|---|
| 26 | endwhile; // End of the loop. |
|---|
| 27 | ?> |
|---|
| 28 | |
|---|
| 29 | </main> |
|---|
| 30 | |
|---|
| 31 | <?php |
|---|
| 32 | if ( bridal_jewelry_store_is_sidebar_enabled() ) { |
|---|
| 33 | get_sidebar(); |
|---|
| 34 | } |
|---|
| 35 | get_footer(); |
|---|
Note: See
TracBrowser
for help on using the repository browser.