• 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 Byline / Post Meta on Pages *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 › Design Tips and Tricks › Remove Byline / Post Meta on Pages *Only*

This topic is: not resolved

Tagged: Agency, post meta

  • This topic has 5 replies, 2 voices, and was last updated 10 years, 9 months ago by nickthegeek.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • December 23, 2012 at 8:40 am #7142
    wendymv
    Member

    I've been researching for the past hour on how to remove the byline / post meta from pages only.  Everything I'm finding is related to "posts" - I'm using the Agency theme.  I tried modifying the [post_date] [post_time] in the hooks, but nada...

    I have a feeling it has something to do with this code here in the Theme Functions file....?

    /** Customize the post info function */
    add_filter( 'genesis_post_info', 'post_info_filter' );
    function post_info_filter($post_info) {
    if (!is_page()) {
    $post_info = '[post_date] by [post_author_posts_link] · [post_comments] [post_edit]';
    return $post_info;
    }}

    Thank you 🙂

    December 23, 2012 at 9:08 am #7144
    nickthegeek
    Member

    IT shouldn't output on pages by default. Please post a link to your site

    December 23, 2012 at 9:18 am #7152
    wendymv
    Member

    it's  http://www.lacewingpaper.com/

    December 23, 2012 at 9:57 am #7161
    nickthegeek
    Member

    The code output on your page is not part of the post info. Are you adding the date via a hook such as Genesis Simple Hooks?

    December 23, 2012 at 1:54 pm #7205
    wendymv
    Member

    Ahhh.... yes, I was using SH....  I figured it out.   🙂  I had [post_date] [post_time] in there -  I had mistaken that I was modifying the post byline, didn't realize I was adding that *to* the pages...

     

    🙂

     

    December 23, 2012 at 3:39 pm #7212
    nickthegeek
    Member

    cheers

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Remove Byline / Post Meta on Pages *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

© 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