• Resolved iantresman

    (@iantresman)


    Am developing a site which uses a Toolset Types date field (wpcf-date). CCS correctly displays the field (link), but does not order them correctly. The last upcoming event should be shown in April, suggesting the ordering is carried out on the published date field? Here is my shortcode block:

    [raw]<div class=”eventscoming”>
    [loop type=event count=12 field=wpcf-date value=future-time in=timestamp order=asc offset=1]
    <div class=”eventbox”>
    <h3>[field title-link]</h3>
    <date>[field wpcf-date in=timestamp date_format=”D j M Y @ g:ia”]</date>
    <div class=”eventimage”>[field image-link size=medium]</div>
    [link url]More…[/link]
    </div>
    [/loop]
    </div>[/raw]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom date field sorting bug?’ is closed to new replies.