WordPress.org

Forums

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

  1. noecl
    Member
    Posted 1 year ago #

    Hi.
    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.

    http://wordpress.org/plugins/event-post/

  2. mtstudios
    Member
    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
    Member
    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
    Member
    Plugin Author

    Posted 11 months ago #

    Hi,

    @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