<?php /** * The template for displaying search results pages * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result * * @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() ) : ?> <header class="page-header"> <h1 class="page-title"> <?php _e( 'Search results for: ', 'twentynineteen' ); ?> <span class="page-description"><?php echo get_search_query(); ?></span> </h1> </header><!-- .page-header --> <?php // Start the Loop. while ( have_posts() ) : the_post(); /* * Include the Post-Format-specific template for the content. * If you want to override this in a child theme, then include a file * called content-___.php (where ___ is the Post Format name) and that * will be used instead. */ get_template_part( 'template-parts/content/content', 'excerpt' ); // End the loop. endwhile; // Previous/next page navigation. twentynineteen_the_posts_navigation(); // If no content, include the "No posts found" template. else : get_template_part( 'template-parts/content/content', 'none' ); endif; ?> </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 |
|