Adding date, time, and…
-
Howdy. I’m working on creating a static front page using this 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.