Rev 7 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3 | iacchi | 1 | <?php |
2 | /* |
||
3 | * The template for displaying content in the single.php template |
||
4 | */ |
||
5 | ?> |
||
6 | <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
||
7 | <header class="entry-header"> |
||
8 | <h1 id="post-title"><?php the_title(); ?></h1> |
||
9 | <span class="entry-meta-top"><?php |
||
10 | // Show the author's name if the blog has more than one author |
||
11 | if (sdt_count_authors() > 1) { |
||
12 | the_author(); echo ' • '; |
||
13 | } |
||
14 | ?><?php the_date() ?> <?php the_time() ?> <?php edit_post_link(__('Edit', 'sdt'), ' • ', ''); ?></span> |
||
15 | </header> |
||
16 | <div class="entry-content"> |
||
17 | <?php the_content(__('Continue reading ⇾', 'sdt')); ?> |
||
18 | <?php wp_link_pages(array( 'before' => '<div class="page-link">'.__('Pages:', 'sdt'), 'after' => '</div>')); ?> |
||
19 | </div><!-- .entry-content --> |
||
20 | <footer class="entry-meta-bottom"> |
||
21 | <?php _e('categories: ', 'sdt'); the_category(', '); ?><br /> |
||
22 | <?php _e('tags: ', 'sdt'); the_tags('', ', ', ''); ?><br /> |
||
23 | <a href="<?php the_permalink(); ?>" title="<?php printf(esc_attr__('Permalink to %s', 'sdt'), the_title_attribute('echo=0')); ?>" rel="bookmark"><?php _e('permalink', 'sdt'); ?></a> |
||
24 | <? if (comments_open()) { ?> • <a href="#respond" title="<?php _e('Write a comment', 'sdt'); ?>"><?php _e('reply', 'sdt'); ?></a><?php } ?> |
||
25 | <? if (pings_open()) { ?> • <a href="<?php trackback_url() ?>" title="<?php _e('Trackback URL', 'sdt'); ?>"><?php _e('trackback', 'sdt'); ?></a><?php } ?> |
||
26 | • <?php post_comments_feed_link(__('comments RSS', 'sdt')) ?> |
||
27 | </footer> |
||
28 | </article> |