• Resolved firehold

    (@firehold)


    Hello,

    for the event output list i want to change the Dateformat from 01/01/2016 to 01.01.2016. But how i can do that, when im just able to give “#_EVENTDATES”?

    Thank you very much in advance ??

    <tr>
        <td>
                    #_EVENTDATES<br/>
                    #_EVENTTIMES
                </td>
                <td>#_EVENTLINK
                    {has_location}<br/><i>#_LOCATIONNAME, #_LOCATIONTOWN #_LOCATIONSTATE</i>{/has_location}
                </td>
            </tr>

    https://www.ads-software.com/plugins/events-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    you can try under Events > Settings > Formatting > Date/Time section > Date Format

    If you want to change the date format for all places on your website, you can customize what the #_EVENTDATES placeholder outputs (see post above). Basically you need to just replace the “/” separators with “.” separators.

    However, if you want your date to have full control over how your date is displayed – and to display it differently in e.g. the sidebar widget than on the events page you will need to stop using the #_EVENTDATES placeholder and instead use directly the standard WordPress Date/Time format strings.

    For instance, you could create a shortcode to use in a page/post:

    [events_list scope="future" orderby="event_start_date,?event_name" order="ASC" limit="6"]
    <div class="eventWrapper">
    <div class="eventImage"><a href="#_EVENTURL">#_EVENTIMAGE{600,450}</a></div>
    <div class="eventDate">#_1gwpiim.#_{m}.#_{Y}
    #_EVENTTIMES</div>
    <div class="eventCategory">#_CATEGORYNAME
    #_LOCATIONTOWN, #_LOCATIONCOUNTRY</div>
    <div class="eventTitle"><a href="#_EVENTURL">#_EVENTNAME</a></div>
    <div class="eventExcerpt">#_EVENTEXCERPT{25,...}</div>
    <div class="eventExcerptReadmore"><a href="#_EVENTURL">Read more</a></div></div>
    [/events_list]

    For a full list of all possible Format Strings for Date and Time, go here:
    https://codex.www.ads-software.com/Formatting_Date_and_Time

    Thread Starter firehold

    (@firehold)

    you can try under Events > Settings > Formatting > Date/Time section > Date Format

    That was exactly what i wanted, thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Event List – Date Format’ is closed to new replies.