wordpress/php-fpm/wordpress_files/themes/rules/search.php

31 lines
842 B
PHP
Raw Normal View History

2020-05-22 03:40:23 +02:00
<?php get_header(); ?>
<div id="content">
<div class="post">
<h2>Resultados de la búsqueda</h2>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post-content" id="post-<?php the_ID(); ?>">
<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
<?php the_excerpt(); ?>
</div>
<?php endwhile; ?>
<div class="navigation">
<span class="previous-entries"><?php next_posts_link('Anteriores') ?></span> <span class="next-entries"><?php previous_posts_link('Posteriores') ?></span>
</div>
<?php else : ?>
<h3>Sorry, nothing found.</h3>
<?php endif; ?>
</div><!--/content -->
</div><!--/content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>