Subversion Repositories ZenDark

Compare Revisions

Ignore whitespace Rev 26 → Rev 27

/content-single.php
8,21 → 8,21
<h1 id="post-title"><?php the_title(); ?></h1>
<span class="entry-meta-top"><?php
// Show the author's name if the blog has more than one author
if (sdt_count_authors() > 1) {
if (zendark_count_authors() > 1) {
the_author(); echo ' &bull; ';
}
?><?php the_date() ?> <?php the_time() ?> <?php edit_post_link(__('Edit', 'sdt'), ' &bull; ', ''); ?></span>
?><?php the_date() ?> <?php the_time() ?> <?php edit_post_link(__('Edit', 'zendark'), ' &bull; ', ''); ?></span>
</header>
<div class="entry-content">
<?php the_content(__('Continue reading ⇾', 'sdt')); ?>
<?php wp_link_pages(array( 'before' => '<div class="page-link">'.__('Pages:', 'sdt'), 'after' => '</div>')); ?>
<?php the_content(__('Continue reading ⇾', 'zendark')); ?>
<?php wp_link_pages(array( 'before' => '<div class="page-link">'.__('Pages:', 'zendark'), 'after' => '</div>')); ?>
</div><!-- .entry-content -->
<footer class="entry-meta-bottom">
<?php printf(_n("category: ", "categories: ", count(get_the_category()), 'sdt')); the_category(', '); ?><br />
<?php printf(_n("tag: ", "tags: ", count(get_the_tags()), 'sdt')); the_tags('', ', ', ''); ?><br />
<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>
<?php if (comments_open()) { ?> &bull; <a href="#respond" title="<?php _e('Write a comment', 'sdt'); ?>"><?php _e('reply', 'sdt'); ?></a><?php } ?>
<?php if (pings_open()) { ?> &bull; <a href="<?php trackback_url() ?>" title="<?php _e('Trackback URL', 'sdt'); ?>"><?php _e('trackback', 'sdt'); ?></a><?php } ?>
&bull; <?php post_comments_feed_link(__('comments RSS', 'sdt')) ?>
<?php printf(_n("category: ", "categories: ", count(get_the_category()), 'zendark')); the_category(', '); ?><br />
<?php printf(_n("tag: ", "tags: ", count(get_the_tags()), 'zendark')); the_tags('', ', ', ''); ?><br />
<a href="<?php the_permalink(); ?>" title="<?php printf(esc_attr__('Permalink to %s', 'zendark'), the_title_attribute('echo=0')); ?>" rel="bookmark"><?php _e('permalink', 'zendark'); ?></a>
<?php if (comments_open()) { ?> &bull; <a href="#respond" title="<?php _e('Write a comment', 'zendark'); ?>"><?php _e('reply', 'zendark'); ?></a><?php } ?>
<?php if (pings_open()) { ?> &bull; <a href="<?php trackback_url() ?>" title="<?php _e('Trackback URL', 'zendark'); ?>"><?php _e('trackback', 'zendark'); ?></a><?php } ?>
&bull; <?php post_comments_feed_link(__('comments RSS', 'zendark')) ?>
</footer>
</article>