WordPress.org

Ready to get started?Download WordPress

Forums

Include "Date and time" in mini-loop ... (1 post)

  1. selder2
    Member
    Posted 9 years ago #

    I'm using this code on my index.php file:

    [code]printf ("

  2. %s
  3. ", $np->ID,$np->post_title);
    [/code]

    from http://codex.wordpress.org/Creating_a_Static_Front_Page

    the result is here: http://www.damn.be (recent articles)

    It displayes a list of the most recent posts made on the weblog. I would like to include the date and time in that list when a post was made ...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.