complete rewrite of theme options, based on twentyeleven (in progress)

This commit is contained in:
Ben Word
2011-05-30 01:33:28 -06:00
parent 251e17bdb0
commit 91d81ddb6e
12 changed files with 198 additions and 210 deletions

View File

@@ -14,18 +14,14 @@
<header>
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<time pubdate datetime="<?php the_time('c'); ?>"><?php printf( __('Posted on %s at %s.','roots'), get_the_time('l, F jS, Y'), get_the_time()) ?></time>
<?php if (get_option('roots_post_author') == 'checked') { ?>
<p class="byline author vcard">
<?php _e('Written by', 'roots');?> <span class="fn"><?php the_author(); ?></span>
</p>
<?php } ?>
<p class="byline author vcard"><span class="fn"><?php the_author(); ?></span></p>
</header>
<div class="entry-content">
<?php if (is_archive() || is_search()) : // Only display excerpts for archives and search ?>
<?php if (is_archive() || is_search()) : // Only display excerpts for archives and search ?>
<?php the_excerpt(); ?>
<?php else : ?>
<?php else : ?>
<?php the_content(); ?>
<?php endif; ?>
<?php endif; ?>
</div>
<footer>
<?php $tag = get_the_tags(); if (!$tag) { } else { ?><p><?php the_tags(); ?></p><?php } ?>