Advertisement
Guest User

functions.php

a guest
Sep 13th, 2010
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.43 KB | None | 0 0
  1. <?php
  2. /* I want the Posted On date to show, but not the author. */
  3. function twentyten_posted_on() {
  4.     printf( __( '<span class="%1$s">Posted on</span> %2$s <span class="meta-sep"></span> %3$s', 'twentyten' ),
  5.         'meta-prep meta-prep-author',
  6.         sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a>',
  7.             get_permalink(),
  8.             esc_attr( get_the_time() ),
  9.             get_the_date()
  10.         ),
  11.         sprintf('')
  12.     );
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement