| Server IP : 217.160.0.251 / Your IP : 216.73.216.183 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : u94981163 ( 8991765) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /homepages/15/d754908516/htdocs/wp-content/themes/_est-project/ |
Upload File : |
<?php
/**
* The archive template file
*
* This is the most generic template file in a WordPress theme and one
* of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query,
* e.g., it puts together the home page when no home.php file exists.
*
* @link http://codex.wordpress.org/Template_Hierarchy
*/
?>
<?php get_header(); ?>
<div class="main-block">
<div class="archive__post js-posts-wrapper">
<h1><?php printf( __( 'Search Results for: %s', 'es-project' ), get_search_query() ); ?></h1>
<?php if ( have_posts() ): ?>
<div class="archive__grid js-archive">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part('templates/content-post-archive');?>
<?php endwhile; ?>
</div>
<?php the_posts_pagination( array(
'prev_next' => __( 'Previous', 'es-project' ),
'show_all' => __( 'Next', 'es-project' ),
'end_size' => 1,
'mid_size' => 1,
'screen_reader_text' => ' ',
'type' => 'list'
) ); ?>
<?php else: ?>
<p><?php _e( 'Hoy no tenemos pisos y casas que coincidan con tu búsqueda, aunque cada día nos llegan muchos nuevos inmuebles.', 'es-project' ); ?></p>
<?php endif; ?>
</div>
</div>
<?php get_footer();