-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
52 lines (36 loc) · 2.11 KB
/
single.php
File metadata and controls
52 lines (36 loc) · 2.11 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php get_header(); ?>
<div id="edukia-osoa" role="main">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<h2><?php the_title(); ?></h2>
<p class="post-meta-head"><?php the_time(__('Y-m-d', 'librezale')) ?> / <?php the_tags('', ', ', '<br />'); ?> <!-- by <?php the_author() ?> --></p>
<div class="post-gorputza">
<?php the_content(__('read the rest of this entry »', 'librezale')); ?>
</div>
<p class="post-meta-foot clear">
<?php if ( comments_open() && pings_open() ) {
// Both Comments and Pings are open
printf(__('You can <a href="#respond">leave a response</a>, or <a href="%s" rel="trackback">trackback</a> from your own site.', 'librezale'), trackback_url(false));
} elseif ( !comments_open() && pings_open() ) {
// Only Pings are Open
printf(__('Responses are currently closed, but you can <a href="%s" rel="trackback">trackback</a> from your own site.', 'librezale'), trackback_url(false) );
} elseif ( comments_open() && !pings_open() ) {
// Comments are open, Pings are not
_e('You can skip to the end and leave a response. Pinging is currently not allowed.', 'librezale');
} elseif ( !comments_open() && !pings_open() ) {
// Neither Comments, nor Pings are open
_e('Both comments and pings are currently closed.', 'librezale');
} ?>
<?php edit_post_link(__('Edit this entry', 'librezale'), '', '.'); ?>
</p>
</div>
<div class="nabigazioa">
<div class="ezkerrean"><?php previous_post_link() ?></div>
<div class="eskuinean"><?php next_post_link() ?></div>
</div>
<?php comments_template(); ?>
<?php endwhile; else: ?>
<p><?php __('Sorry, no posts matched your criteria.', 'librezale') ?></p>
<?php endif; ?>
</div>
<?php get_footer(); ?>