SHOW:
|
|
- or go back to the newest paste.
| 1 | /** | |
| 2 | * Prints HTML with meta information for the current post-date/time and author. | |
| 3 | * Create your own twentyeleven_posted_on to override in a child theme | |
| 4 | * | |
| 5 | * @since Twenty Eleven 1.0 | |
| 6 | */ | |
| 7 | function twentyeleven_posted_on() {
| |
| 8 | - | printf( __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a>', 'twentyeleven' ), |
| 8 | + | printf( __( '<span class="sep">Posted on </span><time class="entry-date" datetime="%1$s" pubdate>%2$s</time>', 'twentyeleven' ), |
| 9 | - | esc_url( get_permalink() ), |
| 9 | + | |
| 10 | - | esc_attr( get_the_time() ), |
| 10 | + | |
| 11 | ); | |
| 12 | } | |
| 13 | ||
| 14 | - | } |
| 14 | + |