Skip to content

Instantly share code, notes, and snippets.

@chasereeves
Created March 31, 2011 15:02
Show Gist options
  • Save chasereeves/896515 to your computer and use it in GitHub Desktop.
Save chasereeves/896515 to your computer and use it in GitHub Desktop.
Complete custom byline with author, date, categories, comments, tags
//========================================================== CUSTOM COMPLETE BYLINE
function custom_byline() { ?>
<p class="headline_meta">
<abbr class="published" title="<?php echo get_the_time('Y-m-d'); ?>"><?php echo get_the_time(get_option('date_format')); ?></abbr>
Posted <?php thesis_author(); ?> in <span><?php echo get_the_category_list(', '); ?></span>
&middot; <span><a href="<?php the_permalink(); ?>#comments" rel="nofollow">
<?php comments_number(__('0 comments', 'thesis'), __('1 comment', 'thesis'), __('% comments', 'thesis')); ?></a></span>
</p>
<p class="headline_meta"><?php the_tags('tagged as <span>', ', ', '</span>'); ?></p>
<?php } add_action('thesis_hook_after_headline', 'custom_byline');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment