Support » Plugin: WP Ultimate Post Grid » Create advanced conditions on the template editor

  • Hey,

    I created a grid using your really amazing tool.
    I want to create a block in each item on the grid that will have a complex condition.

    My grid shows a sequence of events that have start_date and end_date ACF’s. I want to add a block that will have the following features:
    1. It will present “Upcoming” if the current date is less then the start_date.
    2. It will present “Ongoing” if the current date is greater then the start_date and lest then end_date.
    3. It will present “Expired” if the current date is greater then the end_date.

    Is it possible to do it somehow from the code?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Create advanced conditions on the template editor’ is closed to new replies.