mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-15 11:28:14 +08:00
30 lines
640 B
PHP
30 lines
640 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* The main template file
|
||
|
*
|
||
|
* This is the most generic template file in a WordPress theme
|
||
|
* and one of the two required files for a theme (the other being style.css).
|
||
|
* It is used to display a page when nothing more specific matches a query.
|
||
|
* E.g., it puts together the home page when no home.php file exists.
|
||
|
*
|
||
|
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||
|
*
|
||
|
* @package WordPress
|
||
|
* @subpackage Twenty_Twenty_One
|
||
|
* @since 1.0.0
|
||
|
*/
|
||
|
|
||
|
get_header();
|
||
|
|
||
|
if (have_posts()) {
|
||
|
|
||
|
// Load posts loop.
|
||
|
while (have_posts()) {
|
||
|
the_post();
|
||
|
}
|
||
|
|
||
|
// Previous/next page navigation.
|
||
|
}
|
||
|
|
||
|
get_footer();
|