<?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_Nineteen * @since Twenty Nineteen 1.0 */ get_header(); ?> <div id="primary" class="content-area"> <main id="main" class="site-main"> <?php if ( have_posts() ) { // Load posts loop. while ( have_posts() ) { the_post(); get_template_part( 'template-parts/content/content' ); } // Previous/next page navigation. twentynineteen_the_posts_navigation(); } else { // If no content, include the "No posts found" template. get_template_part( 'template-parts/content/content', 'none' ); } ?> </main><!-- .site-main --> </div><!-- .content-area --> <?php get_footer();
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
classes | Folder | 0755 |
|
|
fonts | Folder | 0755 |
|
|
images | Folder | 0755 |
|
|
inc | Folder | 0755 |
|
|
js | Folder | 0755 |
|
|
sass | Folder | 0755 |
|
|
template-parts | Folder | 0755 |
|
|
.htaccess | File | 420 B | 0644 |
|
404.php | File | 846 B | 0644 |
|
archive.php | File | 1.21 KB | 0644 |
|
comments.php | File | 3.98 KB | 0644 |
|
footer.php | File | 1.58 KB | 0644 |
|
functions.php | File | 11.29 KB | 0644 |
|
header.php | File | 1.9 KB | 0644 |
|
image.php | File | 2.92 KB | 0644 |
|
index.php | File | 1.04 KB | 0644 |
|
package-lock.json | File | 259.58 KB | 0644 |
|
package.json | File | 1.52 KB | 0644 |
|
page.php | File | 766 B | 0644 |
|
postcss.config.js | File | 255 B | 0644 |
|
print.css | File | 3.86 KB | 0644 |
|
print.scss | File | 3.24 KB | 0644 |
|
readme.txt | File | 4.65 KB | 0644 |
|
screenshot.png | File | 171.42 KB | 0644 |
|
search.php | File | 1.33 KB | 0644 |
|
single.php | File | 1.85 KB | 0644 |
|
style-editor-customizer.css | File | 159 B | 0644 |
|
style-editor-customizer.scss | File | 158 B | 0644 |
|
style-editor.css | File | 78.02 KB | 0644 |
|
style-editor.scss | File | 18.77 KB | 0644 |
|
style-rtl.css | File | 221.79 KB | 0644 |
|
style.css | File | 221.98 KB | 0644 |
|
style.css.map | File | 15.35 KB | 0644 |
|
style.scss | File | 3.18 KB | 0644 |
|