• Hi all,

    Bit of a newb here, sorry, I have modified enough templates for minor changes, but would sincerely appreciate a heads up.

    I wish to add the post date & time to my iteration of Kubrick. Which file do I edit, what code gets inserted, and where?

    Thanks!

    -kj-

    kj99gt

Viewing 4 replies - 1 through 4 (of 4 total)
  • KJ,

    If you look through the “index.php” file in the “default” theme directory and find “the time” funtion just under the title you can edit it to: <?php the_time('l F jS, Y at g:i a') ?>

    That will give you the day, date and time. You can also copy the whole line from the index.php and add it to the “single.php” just under the title.

    Thread Starter kjarrett

    (@kjarrett)

    Superb! Thanks!

    KJ, I just noticed in the php code I posted, the “at” was rendered wrong…. you will need to precede the ‘a’ and the ‘t’ each with a backslash ‘\’ .

    How about the default theme of Kubrick, I see that it already shows you the date in format month day, year how do I add the time to it… as sometimes I do multiple posts a day and I want them to show what time of that day I did the post. Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add Post Date and Time to Kubrick?’ is closed to new replies.