Viewing 1 replies (of 1 total)
  • That November date is hardcoded in the theme’s index.php file.

    You want to use the template tag, the_time(), to display the date for both the Recent News and to replace that November date.

    The WordPress Default theme’s wp-content/themes/default/index.php file has an example of using ‘the_time’.

Viewing 1 replies (of 1 total)

The topic ‘Adding/changing post date in theme’ is closed to new replies.