• 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

Remove Author's Name and Comment Count from Post / Archives / etc..

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 › General Discussion › Remove Author's Name and Comment Count from Post / Archives / etc..

This topic is: not resolved

Tagged: genesis_post_info

  • This topic has 2 replies, 3 voices, and was last updated 7 years, 2 months ago by whatsappfree.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 1, 2016 at 12:10 pm #188728
    nathanj1023
    Member

    I'd like to hide the author's name and comments count / word from all my posts...

    trying to hide this, everywhere it might show up:
    by Nathan Johnson 2 Comments (Edit)

    I found the below code in the forums to hide the date, which worked great...is there any easy addition to this to also hide the author's name and comment / comment count.

    code to remove date I've already added to functions.php:

    //* Removes the date from the entry meta
    //* Customize the entry meta in the entry header (requires HTML5 theme support)
    add_filter( 'genesis_post_info', 'sp_post_info_filter' );
    function sp_post_info_filter($post_info) {
    $post_info = 'by [post_author_posts_link] [post_comments] [post_edit]';
    return $post_info;
    }

    thanks

    http://betterbibleteachers.com/
    July 1, 2016 at 12:41 pm #188731
    Brad Dalton
    Participant

    Remove this from the code

    by [post_author_posts_link] [post_comments]

    Tutorials for StudioPress Themes & WooCommerce.

    July 3, 2016 at 6:20 am #188797
    whatsappfree
    Member

    Same Doubt For Me too that for your Explanation


    All is Well

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ is closed to new topics and 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