<?php /** * The template for displaying search results pages * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result * * @package Education_LMS */ get_header(); ?> <section id="primary" class="content-area"> <div class="container"> <div class="row"> <main id="main" class="site-main col-md-9"> <div class="blog-content"> <?php if ( have_posts() ) : ?> <header class="page-header"> <h1 class="page-title"> <?php /* translators: %s: search query. */ printf( esc_html__( 'Search Results for: %s', 'education-lms' ), '<span>' . get_search_query() . '</span>' ); ?> </h1> </header><!-- .page-header --> <?php /* Start the Loop */ while ( have_posts() ) : the_post(); /** * Run the loop for the search to output the results. * If you want to overload this in a child theme then include a file * called content-search.php and that will be used instead. */ get_template_part( 'template-parts/content', get_post_format() ); endwhile; the_posts_navigation(); else : get_template_part( 'template-parts/content', 'none' ); endif; ?> </div> </main><!-- #main --> <?php get_sidebar(); ?> </div> </div> </section><!-- #primary --> <?php get_footer();
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
assets | Folder | 0755 |
|
|
inc | Folder | 0755 |
|
|
learnpress | Folder | 0755 |
|
|
template-parts | Folder | 0755 |
|
|
404.php | File | 898 B | 0644 |
|
archive.php | File | 1.32 KB | 0644 |
|
comments.php | File | 2.01 KB | 0644 |
|
footer.php | File | 2.72 KB | 0644 |
|
fullwidth-template.php | File | 531 B | 0644 |
|
functions.php | File | 9.64 KB | 0644 |
|
header.php | File | 1.7 KB | 0644 |
|
index.php | File | 1.57 KB | 0644 |
|
page.php | File | 1.22 KB | 0644 |
|
readme.txt | File | 3.84 KB | 0644 |
|
rtl.css | File | 2.13 KB | 0644 |
|
screenshot.png | File | 57.04 KB | 0644 |
|
search.php | File | 1.77 KB | 0644 |
|
sidebar.php | File | 448 B | 0644 |
|
single.php | File | 1.51 KB | 0644 |
|
style.css | File | 283.76 KB | 0644 |
|
woocommerce.php | File | 408 B | 0644 |
|