Support » Fixing WordPress » Time stamp on theme without one

  • Hi,
    I’m using Brand New Day as my theme and noticed that it doesn’t allow a time stamp to appear on my entries. I’ve tried to add one using the General Settings and creating a custom date/time, but the time stamp still won’t appear.

    Obviously, I’m a total novice and have no clue what I’m doing, so any help is greatly appreciated!

    Thank you.

    Janine

Viewing 1 replies (of 1 total)
  • If you are trying to place the timestamp of your post, within the post. Complete the following:

    1) Include this within your functions.php file.

    // [date]
    function displaydate(){
    return date('l, F jS, Y');
    }
    add_shortcode('date', 'displaydate');
    // end date

    2) Include this shortcode where you would like it within the post.

    [date]

    Hope that helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Time stamp on theme without one’ is closed to new replies.