Ready to get started?Download WordPress


Help with time... (3 posts)

  1. t3hdavid
    Posted 6 years ago #

    Hi, I'm really a newbie at PHP.
    I am messing around with the posting format.
    I would like to post the time right after the date.
    The theme is "thematic" http://wordpress.org/extend/themes/thematic

    Currently, the format is somewhat like this:

    By Author | Date

    I would like to add the time so that it would be

    By Author | Date | Time

    I see that in index.php, there is a <?php thematic_postheader(); ?>
    which calls all of those above. But I can't find the function anywhere.
    I'm thinking I should edit that function so that it can call the time as well.

    Does anyone know how I should go about this?

    Thanks in advance!

  2. scribu
    Posted 6 years ago #

    You could search the entire theme directory for the string 'function thematic_postheader' to find where the function is defined.

  3. Ian Stewart
    Theme Wrangler
    Posted 6 years ago #

    I wrote some instructions on how to do this in a post titled Custom WordPress Hooks and Filters in Thematic 0.6. The function is defined in library/functions/hooks-filter.php.

    In the post I show the exact same filter I use on ThemeShaper. Good luck.

Topic Closed

This topic has been closed to new replies.

About this Topic