mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-01 16:51:18 +03:00
34 lines
658 B
PHP
34 lines
658 B
PHP
![]() |
<?php
|
||
|
/**
|
||
|
* The template for displaying all pages.
|
||
|
*
|
||
|
* This is the template that displays all pages by default.
|
||
|
* Please note that this is the WordPress construct of pages
|
||
|
* and that other 'pages' on your WordPress site may use a
|
||
|
* different template.
|
||
|
*
|
||
|
* @link https://codex.wordpress.org/Template_Hierarchy
|
||
|
*
|
||
|
* @package WordPressdotorg\Theme
|
||
|
*/
|
||
|
|
||
|
namespace WordPressdotorg\Theme;
|
||
|
|
||
|
get_header();
|
||
|
?>
|
||
|
|
||
|
<main id="main" class="site-main col-12" role="main">
|
||
|
|
||
|
<?php
|
||
|
while ( have_posts() ) :
|
||
|
the_post();
|
||
|
|
||
|
get_template_part( 'template-parts/content', 'page' );
|
||
|
endwhile; // End of the loop.
|
||
|
?>
|
||
|
|
||
|
</main><!-- #main -->
|
||
|
|
||
|
<?php
|
||
|
get_footer();
|