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

36 lines
1.2 KiB
PHP
Raw Normal View History

2020-05-22 03:40:23 +02:00
<?php get_header(); ?>
<div id="content">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="entry">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<span class="post-cat"><?php the_category(', ') ?></span> <span class="post-calendar"><?php the_time('jMy') ?></span>
<span class="post-comments"><?php comments_popup_link('Sin comentarios &#187;', '1 comentario &#187;', '% comentarios &#187;'); ?></span>
<div class="post-content">
<?php the_content('Leer m&aacute;s &raquo;'); ?>
</div>
</div>
</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 : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php endif; ?>
</div><!--/content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>