Category Posts in Custom Menu
[resolved] Can post_date show name of day/month instead of numbers? (4 posts)

  1. Diane Bourque
    Posted 3 years ago #

    Thanks for the great plugin. Is it possible to show the post_date as this:
    February 14th, 2012
    instead of
    2012-02-14 18:30:51

    Both post_date and post_date_gmt show the date and the time in numbers -yerk!

    I don't want the time and I want the date to be shown with letters - not numbers.

    I've really looked everywhere and have tried all possible combinations with no luck.

    Any help will be greatly appreciated for post_date.


  2. Diana Koenraadt
    Plugin Author

    Posted 3 years ago #

    Hi, the plug-in currently does not support that, but thank you for this great suggestion! As indicated in the other thread, I'm a bit busy right now, but I'll gladly extend the plug-in with this functionality. I'll mark this thread as resolved as soon as I've implemented it.

  3. Diana Koenraadt
    Plugin Author

    Posted 3 years ago #

    Version 0.7 will allow you to pass in a desired format for the post date wildcards. I'm working on fixing a few bugs as well, I'm hoping to release it tonight.

  4. Diana Koenraadt
    Plugin Author

    Posted 3 years ago #

    Version 0.7 has been released.

    You can now use

    • %post_date for the unformatted post date: 2012-11-10 18:14:23
    • %post_date() for a formatted post date with the following default formatting: November 10th, 2012
    • %post_date(<your formatting here>) for custom date formatting. Example: %post_date(l jS \of F Y, h:i:s A). See http://codex.wordpress.org/Formatting_Date_and_Time for formatting options.

    The same options have been added to:

    • %post_date_gmt
    • %post_modified
    • %post_modified_gmt

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Category Posts in Custom Menu
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic