/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/*--------------------------------------------------*/ /* 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');
Comments
