| Server IP : 89.248.107.232 / Your IP : 216.73.217.70 Web Server : Apache System : Linux host2.kasilh.com 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64 User : seg ( 10005) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/seg-sa.es/peyco.es/wp-content/themes/StoreFront/ |
Upload File : |
<?php
/**
*
* Search page
*
**/
global $gk_tpl;
gk_load('header');
gk_load('before');
?>
<section id="gk-mainbody" class="search-page">
<?php if ( have_posts() ) : ?>
<h1 class="page-title">
<?php printf( __( 'Search Results for: %s', GKTPLNAME ), '<em>' . get_search_query() . '</em>' ); ?>
</h1>
<?php
get_search_form();
$founded = false;
?>
<?php do_action('gavernwp_before_loop'); ?>
<?php
$iter = 0;
while ( have_posts() ) : the_post();
?>
<?php $iter++; ?>
<?php
get_template_part( 'content', get_post_format() );
$founded = true;
?>
<?php if($iter > 0 && $iter % 2 == 0) : ?>
<hr />
<?php endif; ?>
<?php endwhile; ?>
<?php gk_content_nav(); ?>
<?php do_action('gavernwp_after_loop'); ?>
<?php if(!$founded) : ?>
<h2>
<?php _e( 'Nothing Found', GKTPLNAME ); ?>
</h2>
<section class="intro">
<?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', GKTPLNAME ); ?>
</section>
<?php endif; ?>
<?php else : ?>
<h1 class="page-title">
<?php _e( 'Nothing Found', GKTPLNAME ); ?>
</h1>
<?php get_search_form(); ?>
<section class="intro">
<p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', GKTPLNAME ); ?></p>
</section>
<?php endif; ?>
</section>
<?php
gk_load('after');
gk_load('footer');
// EOF