WordPress.org

Ready to get started?Download WordPress

Forums

Help with time... (3 posts)

  1. t3hdavid
    Member
    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:

    POST TITLE
    By Author | Date
    CONTENT

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

    POST TITLE
    By Author | Date | Time
    CONTENT

    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
    Member
    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

Tags