Query events and exclude past events?

0
Query events and exclude past events? 1
dannywiser
Nov 13, 2018 08:17 AM 1 Answers General
Member Since Nov 2018
Subscribed Subscribe Not subscribe
Flag(0)

I am making some updates for a client. I've used Post Grid in the past, and loved it, so I wanted to use it again on this project. In this case, the client has a club and regularly has events. Without forcing him to go in and delete events that have passed, I was hoping to simply use the date parameter. Unfortunately, it looks like the date range is extremely specific. Is there any easy way to just exclude dates that are basically older than "today"?

2 Subscribers
Query events and exclude past events? 1
Query events and exclude past events? 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
Query events and exclude past events? 4
PickPlugins
Nov 13, 2018
Flag(0)

Welcome to our forum.

there is some limitation to display advanced options for query post parameter, although you can filter query arguments.

Please see the documentation here

https://pickplugins.com/documentation/post-grid/filter-hooks/post_grid_query_args/

you can add your own query arguments via this filter hook. in pro version, there is post grid id parameter so you can apply query arguments by post grid id. i hope you understand.

Regards

Query events and exclude past events? 5
PickPlugins
- Nov 13, 2018 08:18 AM
Flag (0)
0

Please do not forget to check WP_Query class arguments references
https://codex.wordpress.org/Class_Reference/WP_Query

Regards

Sign in to Reply
Replying as Submit