<?php /** * The template for displaying all single posts * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post * * @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 // Start the Loop. while ( have_posts() ) : the_post(); get_template_part( 'template-parts/content/content', 'single' ); if ( is_singular( 'attachment' ) ) { // Parent post navigation. the_post_navigation( array( /* translators: %s: Parent post link. */ 'prev_text' => sprintf( __( '<span class="meta-nav">Published in</span><span class="post-title">%s</span>', 'twentynineteen' ), '%title' ), ) ); } elseif ( is_singular( 'post' ) ) { // Previous/next post navigation. the_post_navigation( array( 'next_text' => '<span class="meta-nav" aria-hidden="true">' . __( 'Next Post', 'twentynineteen' ) . '</span> ' . /* translators: Hidden accessibility text. */ '<span class="screen-reader-text">' . __( 'Next post:', 'twentynineteen' ) . '</span> <br/>' . '<span class="post-title">%title</span>', 'prev_text' => '<span class="meta-nav" aria-hidden="true">' . __( 'Previous Post', 'twentynineteen' ) . '</span> ' . /* translators: Hidden accessibility text. */ '<span class="screen-reader-text">' . __( 'Previous post:', 'twentynineteen' ) . '</span> <br/>' . '<span class="post-title">%title</span>', ) ); } // If comments are open or we have at least one comment, load up the comment template. if ( comments_open() || get_comments_number() ) { comments_template(); } endwhile; // End the loop. ?> </main><!-- #main --> </div><!-- #primary --> <?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 |
|