I am talking about this: http://www.christianmontoya.com/2006/07/03/hot-dates-with-css/
I got problem, where to add this code:
The first step in making these dates was to generate the right markup. I use the following code within “the loop” in WordPress to build the markup I need:
$time = get_the_time(‘M d’);
list($mo, $da) = explode(” “, $time);
title=”<?php the_time(‘Y-m-d\TG:i:sO’); ?>”>
<span class=”pub-month”><?php echo($mo); ?></span>
<span class=”pub-date”><?php echo($da); ?></span>
In which php file, where ?
- The topic ‘Small problem with this plugin’ is closed to new replies.