HEX
Server: LiteSpeed
System: Linux premium260.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User: aliazzsr (627)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/aliazzsr/trn2.mesegroup.de/wp-content/themes/best-shop/search.php
<?php
/**
 * The template for displaying search results pages
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result
 * @package Best_Shop
 */
get_header();
?>
	<div class="content-area" id="primary">
		<div class="container">
			<div class="page-grid">
				<div id="main" class="site-main">
                    
					<div class="content-wrap-main">
						<?php
							if ( have_posts() ) { 
                                
								/* 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', 'search' );

								}
                                
							}else{
								get_template_part( 'template-parts/content', 'none' );
							} 
                        ?>
					</div> 
                    
                    <?php 
                      best_shop_nav(); 
                      get_template_part( 'template-parts/pagination' );                       
                    ?>
                    
				</div>
                
				<?php get_sidebar(); ?>
                
			</div>
		</div>
	</div>

<?php
get_footer();