WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] End date format (4 posts)

  1. saavedrajj
    Member
    Posted 1 year ago #

    Hi i want to know how to show the end date of a event in the widget:

    Example:
    #j/#m/#y | #_TOWN
    #_LINKEDNAME

    The #j/#m/#y is for the start date

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 1 year ago #

    you can try this tutorial -> http://wp-events-plugin.com/tutorials/create-a-custom-placeholder-for-event-formatting/ then used $EM_Event->event_end_date then $replace = date(get_option('dbem_time_format'), strtotime($EM_Event->event_end_date));

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    actually, you don't need to add a custom placeholder. you'd use e.g. #@j

    more info - http://wp-events-plugin.com/documentation/placeholders/

  4. saavedrajj
    Member
    Posted 1 year ago #

    That´s what i want Marcus.

    Thanks to everyone!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic