WordPress.org

Forums

[resolved] Small problem with this plugin (1 post)

  1. piotr82
    Member
    Posted 9 years ago #

    Hey.
    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:

    <?php
    $time = get_the_time('M d');
    list($mo, $da) = explode(" ", $time);
    ?>
    <acronym class="published"
    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 ?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.