sakura/app/index.php

30 lines
640 B
PHP
Raw Permalink Normal View History

2021-07-09 18:28:29 +08:00
<?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();