Customizing Post Date

Community Forums Forums Design Tips and Tricks Customizing Post Date

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  NewSeasonDesign 2 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #22264


    I’m working on a new site  I would like to replace the calendar icon and date text so all this information shows up in a grey square.  I’ve been reading about the post date class so how to I incorporate this into my site?



    Here’s what I used the last time I did a custom date background. In the genesis_post_title hook, I added this:
    <div id=”datecode”><div id=”monthname”><?php the_time(‘F’) ?></div>
    <div id=”daydate”><?php the_time(‘jS’) ?></div>
    Then you would have to add CSS to style it and hide the old date.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.