Support » Plugin: Pods - Custom Content Types and Fields » Events, sort by date

  • Resolved dennisp93

    (@dennisp93)


    I cannot figure out how to sort my pods by date. I have a pod called events. It has a title and a date. Now i want them to be sorted by month so I can lay them out as following:

    January. <h2>
    Pods event january
    Pods event january

    February <h2>
    Pods event february

    March<h2: not showing because of no events>

    April <h2>
    Pods event April

    So what i’m looking for is something like:
    If (date => startdate && date <= enddate){
    display events
    }

    Is there a way to do this with Pods? How to select the variables date for in an if statement?
    If anybody could help me that would be great!
    Thanks!

    http://wordpress.org/extend/plugins/pods/

  • The topic ‘Events, sort by date’ is closed to new replies.