Support » Themes and Templates » Yoko » [Theme: Yoko] How to remove author and comment count?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I too would like to know how to remove only the author from the Yoko theme. I am the only one who posts, so it is redundant to have everything say “by admin”. I have a child theme, but don’t know what code to delete/change. Hoping someone has an answer for you/us.

    @icup – can you please post a link to the coding you found to delete the timestamp?

    Thanks!

    @mavan Check it out:

    Go to Appearance, Editor, content.php

    Under <div class="entry-details"> turn off the author
    <!-- <?php _e( 'by', 'yoko' ); ?> <?php the_author() ?><br/> -->

    Update File

    That will turn it off on the Main Page. To turn it off at the bottom of a blog post go to content-single.php

    <!-- <div class="author-info">
    		<?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'yoko_author_bio_avatar_size', 70 ) ); ?>
    		<div class="author-description">
    		<h3><?php printf( __( 'Author: %s', 'yoko' ), "<a href='" . get_author_posts_url( get_the_author_meta( 'ID' ) ) . "' title='" . esc_attr( get_the_author() ) . "' rel='me'>" . get_the_author() . "</a>" ); ?></h3>
    		<p><?php the_author_meta( 'description' ); ?></p>
    		</div> -->

    I left the one on top of the blog post on to keep a signature.

    I just found out that you get there is an extra </div> that you need to erase at the end of content-single.php if you don’t, you will lose one of your sidebars

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Theme: Yoko] How to remove author and comment count?’ is closed to new replies.