• 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

post code into function.php

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 › post code into function.php

This topic is: resolved

Tagged: function.php post info shortcodes simple edits

  • This topic has 6 replies, 3 voices, and was last updated 12 years, 10 months ago by nunotmp.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • December 18, 2013 at 5:53 pm #80070
    Onizuki
    Member

    hallo
    this

    remove_action( 'genesis_before_post_content', 'genesis_post_info' );

    inside function.php makes no difference.

    changing shortcodes inside simple edit plugin works.

    December 18, 2013 at 7:58 pm #80078
    nutsandbolts
    Member

    If you're using one of the HTML5 themes, you'd want to use this instead:

    remove_action( 'genesis_entry_footer', 'genesis_post_meta' );

    The HTML5 themes use different hooks.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    December 18, 2013 at 8:09 pm #80080
    Onizuki
    Member

    Hi nutsandbolts
    thank you for your answer

    I didnt know that. I am using the genesis base with html5 option selected.
    Activate Genesis HTML5 Markup [?] from genesis extender.
    Where can I see a list of the html5 hooks?
    Besides is it a good idea to activate the html5 markup?

    Anyway even with this new code I still see the date and author at the top of the post.

    December 18, 2013 at 11:24 pm #80106
    nutsandbolts
    Member

    That's very odd that it wouldn't work - you might try opening a support ticket with Cobalt Apps to see if you need to use a different method with Extender. Activating HTML5 markup is generally considered a good idea, but it's not necessary - that's up to you. Here's an article that explains more about HTML5: http://www.web-savvy-marketing.com/2013/10/marriage-html5-genesis/

    And here's more information about the new hooks: http://www.carriedils.com/genesis-2-0-hooks/


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    December 19, 2013 at 2:23 am #80147
    nunotmp
    Member

    Try using remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );

    This will target the post info and not the post meta.


    Genesis Child Themes – Follow Me

    December 19, 2013 at 9:24 am #80204
    Onizuki
    Member

    worked perfectly 😉

    December 19, 2013 at 3:41 pm #80322
    nunotmp
    Member

    Great. 🙂


    Genesis Child Themes – Follow Me

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 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

© 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