ThemeShaper Forums » Thematic

Change output of date/time and entry-date

(4 posts)
  • Started 12 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>

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

    Thank you


    Posted 12 years ago #
  2. /bump

    I just want to style thematic with something like this -

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

    Posted 12 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 12 years ago #
  4. Just make sure you do something like this:

    // put your code between these two tags

    Everybody seems to forget about those tags.

    Posted 12 years ago #

RSS feed for this topic


You must log in to post.