Customize "twentyten_posted_on" function for Date
-
Hi everyone!
I’m trying to customize my first www.ads-software.com blog, and I’ve got a lot of things under control. In Blogger, I found a way to customize the position of the date, as well as add styling to each element of the date – the day, month, and year.
I have no idea how to do that in the Twentyten theme though. Any help?
Do I have to adjust the coding in function.php? Or just in loop.php?Here’s the ‘twentyten_posted_on’ function:
function twentyten_posted_on() { printf( __( '<span class="%1$s">Posted on</span> %2$s <span class="meta-sep">by</span> %3$s', 'twentyten' ), 'meta-prep meta-prep-author', sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a>', get_permalink(), esc_attr( get_the_time() ), get_the_date() ), sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>', get_author_posts_url( get_the_author_meta( 'ID' ) ), esc_attr( sprintf( __( 'View all posts by %s', 'twentyten' ), get_the_author() ) ), get_the_author() ) );
Thank you for any help!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Customize "twentyten_posted_on" function for Date’ is closed to new replies.