• Resolved upandrunningdesign

    (@upandrunningdesign)


    Is there a way to display the Month and the Day separated.
    I know this displays the Date (Both together) but I would like to display them in different places.

    #_EVENTDATES

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    How exactly are you trying to separate them? If you know your ideal placement, this would help in seeing the best method of achieving what you need.

    I am not part of support just some dude…

    If you are in settings… for “Single Event” or, “Events List”…
    you can display the Months and Days like this…
    #l #j #M #Y #@_{ \u\n\t\i\l j M Y}<br/ >#_EVENTTIMES

    Here is link that shows you how to use for example Wednesday or Wed..
    October or Oct… etc etc…
    https://php.net/manual/en/function.date.php

    You can play around with this code below on a post or page to see what I mean.

    [events_list]
    <table class="events-table" cellspacing="0" cellpadding="0">
    <thead>
    <tr>
    <th class="event-time" width="150">Date/Time</th>
    <th class="event-description" width="*">Event</th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td><strong>#l #j #M #Y #@_{ \u\n\t\i\l j M Y}</strong><br/ >#_EVENTTIMES</td>
    <td>
    <h3>#_EVENTLINK</h3>
    #_EVENTEXCERPT
    <h4 style="margin: 10px 0 5px;">Venue:</h4>
    <strong> ********** SEE HOW I PUT THE MONTH AND YEAR DOWN HERE *******</strong><br />
    #M #Y #@_{ \u\n\t\i\l j M Y}<br />
    {has_location}<em>#_LOCATIONLINK, #_LOCATIONFULLLINE</em>{/has_location}</td>
    </tr>
    </tbody>
    </table>
    [/events_list]

    Don’t forget that you have to use the “text” editor not visual editor on a post or page.

    • This reply was modified 7 years, 5 months ago by Robswaimea.
    Thread Starter upandrunningdesign

    (@upandrunningdesign)

    Here is a link to what I’m trying to accomplish.
    https://www.dropbox.com/s/pv9cv3m8rljygch/Capture.JPG?dl=0

    Thread Starter upandrunningdesign

    (@upandrunningdesign)

    So would this work or am I doing it wrong?

    
    [events_list limit="3"]
    <li><span class="dates"><span class="day">#j</span><span class="month">#M</span></span><span class="event-content"><span class="loc-title">#_EVENTNAME</span><span class="event-info">#_EVENTEXCERPT</span></span></li>
    [/events_list]
    

    That looks like it should work.

    Thread Starter upandrunningdesign

    (@upandrunningdesign)

    Thanks, didn’t know that you could place #j and #M into the shortcode.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Display List’ is closed to new replies.