I created a custom date tag in the 'genesis_before_post_content'
by unhooking genesis_post_info and adding this
<div class="postmonth"><?php the_time('M') ?></div>
<div class="postday"><?php the_time('d') ?></div>
But now that date is showing up on all pages..because it is after the post content. Is there a way to remove it or place it elsewhere so my custom pages do not have the date showing up?
Use the Genesis Simple Hooks plugin and conditional tags.
Volunteer who’s written 1814 tutorials & 3000+ Code Snippets for members – Not For Hire.
Not completely sure what you mean, I am using the simple hooks plugin. That is where I placed that code into (genesis_before_post_content). I'm just not sure if I am putting it in the wrong hook, or if there is a way to remove from certain pages.
I'm sorry I hope this makes sense!
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!