brashrat
Member
Posted 1 year ago #
I found this topic in other threads, but none seem to work quite right in the Twenty Ten theme.
Can't find where the edit needs to happen in page.php. I tried a few things in single.php to no avail.
I don't want the post author to display at all.
Using the new Twenty Ten theme.
remove this code 'by <?php the_author()?> '
brashrat
Member
Posted 1 year ago #
From what page? I can't find it. I've checked a few places, but none seem to be exactly what I'm looking for.
On function.php, I have:
[Code moderated as per the Forum Rules. Please use the pastebin]
in function.php file comment this code
sprintf( '<span class="author vcard">%3$s</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()
)
Single.php file :
<?php printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'twentyten' ), get_the_author() ); ?>