• Resolved Diane Bourque

    (@dianebourque)


    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.

    https://www.ads-software.com/extend/plugins/category-posts-in-custom-menu/

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    Plugin Author Diana van de Laarschot

    (@anaid)

    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.

    Plugin Author Diana van de Laarschot

    (@anaid)

    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 https://codex.www.ads-software.com/Formatting_Date_and_Time for formatting options.

    The same options have been added to:

    • %post_date_gmt
    • %post_modified
    • %post_modified_gmt
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Category Posts in Custom Menu] Can post_date show name of day/month instead of numbers?’ is closed to new replies.