Created
March 31, 2011 15:02
-
-
Save chasereeves/896515 to your computer and use it in GitHub Desktop.
Complete custom byline with author, date, categories, comments, tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//========================================================== 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> | |
· <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