• 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

How to remove author box on one blog post only

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 › How to remove author box on one blog post only

This topic is: resolved

Tagged: author box, genesis_do_author_box_single

  • This topic has 6 replies, 3 voices, and was last updated 8 years, 2 months ago by Centurino.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • December 28, 2017 at 7:51 am #214874
    Centurino
    Participant

    I found the below CSS on this page: https://my.studiopress.com/documentation/snippets/author-box/remove-the-author-box-on-single-posts/

    //* Remove the author box on single posts HTML5 Themes
    remove_action( 'genesis_after_entry', 'genesis_do_author_box_single', 8 );

    Once added to the functions.php how do I then link the CSS to the one specific blog post to hide the author box? Do I enter the blog post ID somewhere in the code?

    Thank You

    December 28, 2017 at 8:30 am #214877
    Victor Font
    Moderator

    First, that not CSS. It is PHP. CSS doesn't even come into play with what you are asking.

    To use the above PHP snippet for a single post, you have to wrap it in the WordPress is_single() conditional. Details can be found here: https://codex.wordpress.org/Conditional_Tags


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    December 28, 2017 at 8:32 am #214878
    Brad Dalton
    Participant

    Use code like this with the is_single('slug') conditional tag.

    Where slug is the slug of the post you want to exclude.


    Tutorials for StudioPress Themes.

    December 28, 2017 at 8:43 am #214882
    Centurino
    Participant

    Anyone have the time to post the code I should use so I can paste it. Confused.com

    StudioPress, this page doesn't help me personally at all with regards how to use the php you have given.

    Remove the Author Box on Single Posts

    Appreciate it.

    December 28, 2017 at 8:53 am #214884
    Brad Dalton
    Participant

    https://wpsites.net/web-design/remove-genesis-author-box-from-single-post/


    Tutorials for StudioPress Themes.

    December 28, 2017 at 10:02 am #214890
    Centurino
    Participant

    Sorted. Support sent me this code below to post in the style.css. Simply change the post id for the specific post you wish to hide the author box on. Simples! Quantum physics not required.

    .postid-9001 .author-box {
    display: none;
    }

    All the best.

    December 28, 2017 at 10:09 am #214891
    Centurino
    Participant

    Thanks Brad, missed your post. Incidentally, I'd emailed support yesterday and needed to get cracking.

    I guess either option is good.

    Cheers!

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘How to remove author box on one blog post only’ 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

© 2026 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