Revision: 45351
Updated Code
at May 8, 2011 06:04 by psteinweber
Updated Code
/*--------------------------------------------------*/
/* change teaser & post byline */
/*--------------------------------------------------*/
/* --- switch of bylines in thesis! ---*/
function custom_byline_teaser() {
?>
<div class="byline">von <?php the_author_posts_link(); ?> am <?php echo get_the_time(get_option('date_format')); ?> <?php edit_post_link(__('edit', 'thesis'), '<span class="edit_post">[', ']</span>'); ?> </div>
<?php
}
add_action('thesis_hook_before_post', 'custom_byline_teaser');
add_action('thesis_hook_before_teaser', 'custom_byline_teaser');
Revision: 45350
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 28, 2011 19:59 by psteinweber
Initial Code
/*--------------------------------------------------*/
/* change teaser & post byline */
/*--------------------------------------------------*/
function custom_byline_teaser() {
?>
<div class="headline_meta"><?php the_author_posts_link(); ?>, <?php echo get_the_time(get_option('date_format')); ?> <?php edit_post_link(__('edit', 'thesis'), '<span class="edit_post">[', ']</span>'); ?> </div>
<?php
}
add_action('thesis_hook_before_post', 'custom_byline_teaser');
add_action('thesis_hook_before_teaser', 'custom_byline_teaser');
Initial URL
Initial Description
Initial Title
Thesis: change teaser and post byline
Initial Tags
post, wordpress
Initial Language
PHP