WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. dennisp93
    Member
    Posted 1 year 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!
    Thanks!

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic