Title: Adding date, time, and&#8230;
Last modified: August 19, 2016

---

# Adding date, time, and…

 *  [cyberworm](https://wordpress.org/support/users/cyberworm/)
 * (@cyberworm)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/adding-date-time-and/)
 * Howdy. I’m working on creating a static front page using [this](http://codex.wordpress.org/Creating_a_Static_Front_Page)
   as an example. So far so good, but there are a couple of things I would like 
   to add to the “printf” string.
 * Ideally, I’d like for it to be an unordered list, that shows the date, then under
   that the post title, and under that a short quote from that post.
 * Looking at this line `printf ("<li><a href=\"index.php?p=%s\">%s</a></li>", $
   np->ID,$np->post_title);`
 * It looks like I need to add a couple of wordpress specific variables, but I don’t
   know what they are, what to search for to find them (or even a complete listing).
 * Can anyone help?

The topic ‘Adding date, time, and…’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [cyberworm](https://wordpress.org/support/users/cyberworm/)
 * Last activity: [17 years, 8 months ago](https://wordpress.org/support/topic/adding-date-time-and/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
