• Resolved brashrat

    (@brashrat)


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • remove this code ‘by <?php the_author()?> ‘

    Thread Starter brashrat

    (@brashrat)

    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() ); ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove Author under title in posts (but keep date posted) in Twenty Ten theme’ is closed to new replies.