• 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

Essence Pro – remove post byline under title

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 › Essence Pro – remove post byline under title

This topic is: resolved

Tagged: .post-info, entry-header, Essence Pro

  • This topic has 4 replies, 3 voices, and was last updated 5 years ago by thinkmedia.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • June 3, 2018 at 11:43 am #220495
    thinkmedia
    Member

    Hi,

    I have tried all variations of code snippets I can find and short of a hack solution, I can't figure out how to remove the (category - date - author - comments) from under the post title in Essence Pro

    //* 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 = '';
    	return $post_info;
    }

    This hack works but I might as well just use css to hide it. Can anyone point me in the right direction for the proper code to remove the post info?

    Thanks in advance.

    Mitch

    https://lifeundone.com/perfection/
    June 3, 2018 at 5:33 pm #220497
    Brad Dalton
    Participant

    Try the code snippets under the Entry Header section https://my.studiopress.com/documentation/snippets/


    Tutorials for StudioPress Themes & WooCommerce.

    June 3, 2018 at 7:40 pm #220501
    thinkmedia
    Member

    As I said, I’ve tried all the code snippets with nothing, other than my hack, working.

    June 4, 2018 at 7:49 pm #220555
    Anita
    Keymaster

    The code link Brad gave you would normally work, however, the theme developer has added a file called title-function.php which includes the post info. The snippets will not work, at least they don't for me no matter where I place the code in functions.php.

    So if you go to Appearance > Editor (if the editor is available), click the /lib link on the right. Then click the title-function.php file.

    Go to line 105 and delete it. I would recommend making changes via FTP versus the Dashboard.


    Love coffee, chocolate and my Bella!

    June 4, 2018 at 8:00 pm #220558
    thinkmedia
    Member

    Thank you Anita 🙂

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Essence Pro – remove post byline under title’ 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