ThemeShaper Forums » Thematic

Change output of date/time and entry-date

(4 posts)
  • Started 15 years ago by rayk
  • Latest reply from Ian Stewart
  • This topic is resolved
  1. What would I need to write in functions.php file to have the date be outputted in such format:

    <div class=”post-date”>
    <div class=”month”><?php the_time(’M') ?></div>
    <div class=”day”><?php the_time(’d') ?></div>
    </div>

    And also in front of the entry title. I need this to create a little date button on each entry.

    Thank you

    Pavel

    Posted 15 years ago #
  2. /bump

    I just want to style thematic with something like this - http://www.wpdesigner.com/2007/06/04/wordpress-date-button/.

    My php knowledge is nearly 0 and the functions.php guide is made for those who can already write their own php.

    Posted 15 years ago #
  3. Check out the code in Custom WordPress Hooks and Filters in Thematic 0.6. There's an example there that you can copy paste into your Child Theme functions.php and modify with the code above. No need to be a programmer.

    Posted 15 years ago #
  4. Just make sure you do something like this:

    <?php
    // put your code between these two tags
    ?>

    Everybody seems to forget about those tags.

    Posted 15 years ago #

RSS feed for this topic

Reply

You must log in to post.