Title: Where do you insert the date function?
Last modified: September 16, 2016

---

# Where do you insert the date function?

 *  [jackoslam](https://wordpress.org/support/users/jackoslam/)
 * (@jackoslam)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/where-do-you-insert-the-date-function/)
 * Wordpress.org tells us how to format the current date, such as “September 15,
   2016,” at [https://codex.wordpress.org/Formatting_Date_and_Time](https://codex.wordpress.org/Formatting_Date_and_Time).
   However, where does one insert code like the following?
 * <?php the_date( $format, $before, $after, $echo ); ?>
 * or
 * <F j, Y>
 * In the “Inspect Element” section? In a hook provided by the theme? Neither of
   these locations seems to work for me, unless I am failing to include a header
   or additional code which is above my technical understanding. All I want is shortcode
   or something like the above to paste into articles that I create. Please enlighten
   me.

The topic ‘Where do you insert the date function?’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [jackoslam](https://wordpress.org/support/users/jackoslam/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/where-do-you-insert-the-date-function/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
