Support » Theme: Minimize » How to remove "view more posts from this author" box from posts

  • Resolved Jason H

    (@jason-h)


    Where can I remove (or hide) the the block that appears just under each post showing my name, picture, and a link with the text “View more posts from this author”?

    Thanks!
    Jason

Viewing 3 replies - 1 through 3 (of 3 total)
  • sdavis2702

    (@sdavis2702)

    Member

    Create and activate a child theme and copy the loop.php file to the root of your child theme. Now in that file, find the following HTML and remove it (or comment it out).

    <section id="post-author">
    	<figure class="author-avatar">
    		<?php echo get_avatar( get_the_author_meta( 'ID' ), 148 ); ?>
    	</figure>
    	<h4><?php echo get_the_author_meta( 'display_name' ); ?></h4>
    	<p><?php echo get_the_author_meta( 'description' ); ?></p>
    	<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>"><?php _e( 'View more posts from this author', 'minimize' ); ?></a>
    </section>

    Fantastic – worked perfectly. Thanks!

    sdavis2702

    (@sdavis2702)

    Member

    No problem!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to remove "view more posts from this author" box from posts’ is closed to new replies.