In the comments section of How to remove Post info conditionally in Genesis, a user asked:
How do you remove post info based on post age? Say for posts older than 30 days?
WP Engineer has published a post with a handy function for checking if a post is older than a certain number of days here.
Here's how this function can be used to display post info (in all views like single and archives) in Genesis only if the post has been published in the last x number of days.
Add the following in child theme's functions.php:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.