mirror of
https://git.sindominio.net/estibadores/wordpress.git
synced 2024-11-23 02:51:06 +01:00
36 lines
1.3 KiB
PHP
36 lines
1.3 KiB
PHP
<?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="post-date"><span class="post-month"><?php the_time('M') ?></span> <span class="post-day"><?php the_time('d') ?></span></div>
|
|
<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-comments"><?php comments_popup_link('Sin comentarios »', '1 comentario »', '% comentarios »'); ?></span>
|
|
<div class="post-content">
|
|
<?php the_content('Leer más »'); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php endwhile; ?>
|
|
|
|
<div class="navigation">
|
|
<span class="previous-entries"><?php next_posts_link('Previous Entries') ?></span> <span class="next-entries"><?php previous_posts_link('Next Entries') ?></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(); ?>
|