Event post
Event post // Date format (4 posts)

  1. noecl
    Posted 1 year ago #

    I'd like to change the way the date is displayed on the widget.
    For example : 01 NOV instead of 11 novembre 2013.

    I tried to use this on the settings page field : d M, but it doesn't work.

    Any ideas ?

    Merci en tous les cas pour ce plugin, simple et d'une grande aide, même si plusieurs fonctionnalités m'échappent.


  2. mtstudios
    Posted 1 year ago #

    As the default is "F j, Y" try swapping around those letters, rather than adding d M.

    As the default is 24 May, 2014 and you want just the day and the month, try removing the ",Y" so it's just "F j"

    I'm unsure how to abbreviate the month...

  3. Manuel Schmalstieg
    Posted 1 year ago #

    Those date codes are a basic (and super useful) PHP function: date().

    As you can see there, the code for "01 NOV" would be: d M

    To display "NOV" all uppercase, you should use some CSS, with the "text-transform: uppercase" property.

  4. Bastien Ho
    Plugin Author

    Posted 1 year ago #


    @noecl did the 2 previous answers solved your problem ?

    I did'nt understoud if you changed the date format in the general setting page or the one specific to event posts.
    Date format for events can be changed in the "events settings" page.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Event post
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic