| Server IP : 159.69.118.108 / Your IP : 216.73.216.200 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu-4gb-fsn1-1 6.8.0-90-generic #91-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 18 13:53:54 UTC 2025 aarch64 User : root ( 0) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/clients/deborahrobinson.net/wp-content/themes/debbie/ |
Upload File : |
<?php
/**
* The template for displaying search results pages.
*
* @package WordPress
* @subpackage Debbie
* @since Debbie 1.0
*/
get_header(); ?>
<!--container-->
<div class="container">
<?php
// Include the page nav.
get_template_part( 'nav-topmenu', 'nav' );
?>
<div class="divider-box"><hr class="line-divider"/></div>
<!-- body-box -->
<div class="body-box">
<!-- article-box -->
<div class="col-md-9">
<h2 class="article-title"><?php printf( __( 'Search Results for: %s', 'debbie' ), get_search_query() ); ?></h2>
<?php if ( have_posts() ) : ?>
<?php
// Start the loop.
while ( have_posts() ) : the_post(); ?>
<?php
/*
* 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( 'content-search', 'search' );
// End the loop.
endwhile;
// Previous/next page navigation.
the_posts_pagination( array(
'prev_text' => __( 'Previous page', 'debbie' ),
'next_text' => __( 'Next page', 'debbie' ),
'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'debbie' ) . ' </span>',
) );
// If no content, include the "No posts found" template.
else :
echo '<p>Sorry, no content found! Please search another keyword.</p>';
endif;
?>
</div>
<!-- article-box -->
<?php
// Include the page sider.
get_template_part( 'nav-sidebar', 'nav' );
?>
</div>
<!-- body-box -->
</div>
<!--container-->
<?php get_footer(); ?>