-
Notifications
You must be signed in to change notification settings - Fork 10
/
content.php
32 lines (26 loc) · 1.12 KB
/
content.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<article <?php post_class(); ?>>
<?php if ('' != get_the_post_thumbnail()) { ?>
<figure class="entry__image">
<?php the_post_thumbnail('large'); ?>
<?php cultural_thumb_caption() ?>
</figure>
<?php } ?>
<header class="entry-header">
<?php cultural_categories(); ?>
<?php cultural_the_format(); ?>
<?php the_title(sprintf('<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url(get_permalink())), '</a></h1>'); ?>
<?php cultural_the_time(); ?>
<?php cultural_the_post_author(); ?>
</header><!-- /entry-header -->
<?php if (!is_singular()) : ?>
<div class="entry-summary">
<?php the_excerpt(); ?>
</div><!-- /entry-summary -->
<?php else : ?>
<div class="entry__content">
<?php the_content(__('Continua…', 'cultural')); ?>
<?php wp_link_pages('before=<div class="page-link">' . __('Páginas:', 'cultural') . '&after=</div>') ?>
</div><!-- /entry-content -->
<?php endif; ?>
<?php cultural_entry_footer(); ?>
</article><!-- /post-<?php the_ID(); ?> -->