Remove Author (But Leave Date) on TwentyTen Theme
-
I apologize, because I know this question has been asked a lot . . . I promise that I have reviewed every post in the “remove author” forum and have not been able to figure it out.
The question is fairly straightforward: How do I remove the author tag on each post but leave the date intact? I was successfully able to remove both by adding “//” to the posted_on code in loop, but I would like to maintain the date.
I also tried editing out this code from functions.php:
, 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' ) ), sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ), get_the_author() )
. . . but the result was a syntax error. If that didn’t frustrate me enough, when I tried other tidbits, I was given a “printf()[function.print]: Too few arguments . . . .” error message. I am not a coder, so any SPECIFIC help you can offer (i.e. telling what code to replace, remove, etc. and its location) would be very greatly appreciated.
Have a great day!
- The topic ‘Remove Author (But Leave Date) on TwentyTen Theme’ is closed to new replies.