Subversion Repositories ZenDark

Compare Revisions

Ignore whitespace Rev 26 → Rev 27

/content.php
5,7 → 5,7
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf(esc_attr__('Permalink to %s', 'sdt'), the_title_attribute('echo=0')); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf(esc_attr__('Permalink to %s', 'zendark'), the_title_attribute('echo=0')); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<?php
/* display the meta infos only if it's not a page, otherwise pages
* get the infos during searches.
13,10 → 13,10
if ($post->post_type != 'page') : ?>
<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() ?> &bull; <?php comments_popup_link(__('0 comments', 'sdt'),__('1 comment', 'sdt'),__('% comments', 'sdt'),'',__('Comments closed', 'sdt')); ?> <?php edit_post_link(__('Edit', 'sdt'), ' &bull; ', ''); ?></span>
?><?php the_date() ?> <?php the_time() ?> &bull; <?php comments_popup_link(__('0 comments', 'zendark'),__('1 comment', 'zendark'),__('% comments', 'zendark'),'',__('Comments closed', 'zendark')); ?> <?php edit_post_link(__('Edit', 'zendark'), ' &bull; ', ''); ?></span>
<?php endif; ?>
</header>
<?php if (!is_home()) : // Display the entire post only in the index ?>
25,8 → 25,8
</div><!-- .entry-summary -->
<?php else : ?>
<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 style="clear:both"></div>
</div><!-- .entry-content -->
<?php endif; ?>
36,8 → 36,8
*/
if ($post->post_type != 'page') : ?>
<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('', ', ', ''); ?>
<?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('', ', ', ''); ?>
</footer>
<?php endif; ?>
</article>