Pods - Custom Content Types and Fields
[resolved] Events, sort by date (1 post)

  1. dennisp93
    Posted 3 years ago #

    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!


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic