Time stamp on theme without one (2 posts)

  1. j9barber
    Posted 4 years ago #

    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.


  2. idesignd
    Posted 4 years ago #

    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.


    Hope that helps!

Topic Closed

This topic has been closed to new replies.

About this Topic