• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Monochrome Pro: remove avatar image in post header?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Monochrome Pro: remove avatar image in post header?

This topic is: resolved

Tagged: author avatar, header image, monochrome pro

  • This topic has 3 replies, 3 voices, and was last updated 4 years, 4 months ago by practicum.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • August 8, 2017 at 8:50 am #210117
    colkav
    Member

    Hi there,

    Is there an easy way to remove the avatar of the post author, displayed at the top of each blog post, in the Monochrome Pro theme?

    Many thanks,

    Col

    http://client.macthing.co.uk/personal/back-from-eternity/
    August 8, 2017 at 8:57 am #210118
    Brad Dalton
    Participant

    Col

    Remove this code from single.php

    // Output Gravatar before entry title.
    add_action( 'genesis_entry_header', 'monochrome_gravatar_post', 7 );
    function monochrome_gravatar_post() {
    
    echo '<div class="entry-avatar">';
    echo get_avatar( get_the_author_meta( 'user_email' ), 110 );
    echo '</div>';
    }
    

    Get Help – Book Consultation.

    August 8, 2017 at 9:48 am #210122
    colkav
    Member

    Perfect, worked like a charm! Thanks Brad!

    September 26, 2018 at 9:09 am #223411
    practicum
    Member

    Is it also possible to remove the header image at the top of the posts? I tried removing more code from single.php but also lost the title.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Monochrome Pro: remove avatar image in post header?’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble