• 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

Any theme – How to show post modified date?

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 › Any theme – How to show post modified date?

This topic is: not resolved

Tagged: date, last updated on, modified, php

  • This topic has 1 reply, 2 voices, and was last updated 12 years, 3 months ago by Robin.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • August 21, 2013 at 10:06 am #57950
    Dan B
    Participant

    I'm wondering how I can show the modified date for my blog posts in a Genesis theme. I currently am messing around with both Minimum and Metro themes, and this should apply to both.

    In a typical WP theme, I can simply drop in the following code which will pull the last date updated

    <?php the_modified_date(); ?>

    However, this does nothing to the Genesis Functions.php file, except break it.

    Anybody know how I can pull this info in a (any) Genesis theme?


    Dan @ ZindaMedia
    Marketing, Fundraising and Social Media strategies for non-profits.

    August 22, 2013 at 11:11 am #58229
    Robin
    Member

    You want to use hooks here. Maybe something like this if you're using HTML5 (not tested)?
    remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
    add_action( 'genesis_entry_header', 'new_info' );
    function new_info() {
    the_modified_date();
    }

    If you're not HTML5, do 'genesis_before_post_content' instead of 'genesis_entry_header' ... again, not sure if this would work but hopefully it's a start.

    One tool you might like to try is this Genesis custom PHP builder from Cobalt Apps. If I don't know where to start, I'm usually able to get some ideas there. HTH


    I do the best I can with what I’ve got. (say hey on twitter)

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Design Tips and Tricks’ 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

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