| Server IP : 213.142.137.24 / Your IP : 216.73.216.122 Web Server : Apache System : Linux ns1.medyayapim.net 3.10.0-1160.11.1.el7.x86_64 #1 SMP Fri Dec 18 16:34:56 UTC 2020 x86_64 User : dgpilates.com_ooz9p0tadyh ( 10028) PHP Version : 8.0.30 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/dgpilates.com/httpdocs/wp-content/themes/bosa/ |
Upload File : |
<?php
/**
* The template for displaying search results pages
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result
*
* @package Bosa
*/
get_header();
?>
<div id="content" class="site-content">
<div class="container">
<div class="wrap-detail-page">
<?php
bosa_blog_page_title();
if( !get_theme_mod( 'breadcrumbs_controls', 'show_in_all_page_post' ) == 'disable_in_all_pages' || get_theme_mod( 'breadcrumbs_controls', 'show_in_all_page_post' ) == 'show_in_all_page_post' ){
bosa_breadcrumb_wrap();
}
?>
<div class="search-post-wrap">
<?php if ( have_posts() ) : ?>
<div class="row masonry-wrapper">
<?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', 'search' );
endwhile; ?>
</div>
<?php
if( !get_theme_mod( 'disable_pagination', false ) ):
the_posts_pagination( array(
'next_text' => '<span>'.esc_html__( 'Next', 'bosa' ) .'</span><span class="screen-reader-text">' . esc_html__( 'Next page', 'bosa' ) . '</span>',
'prev_text' => '<span>'.esc_html__( 'Prev', 'bosa' ) .'</span><span class="screen-reader-text">' . esc_html__( 'Previous page', 'bosa' ) . '</span>',
'before_page_number' => '<span class="meta-nav screen-reader-text">' . esc_html__( 'Page', 'bosa' ) . ' </span>',
) );
endif;
?>
<?php
else :
get_template_part( 'template-parts/content', 'none' );
endif;
?>
</div>
</div>
</div><!-- #container -->
</div><!-- #content -->
<?php
get_footer();