Query events and exclude past events?

Support reply may delay for 3 weeks due to corona virus outbreak, please send us email to support@pickplugins.com
0
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
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
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://www.pickplugins.com/documentation/post-grid/filter-hooks/filters-post_grid_filter_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

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

Please use https://imgur.com/upload to upload your screenshot and share url here.
You can't upload any files or attachment to our server directly for security reason, you can use 3rd party website and share file url here. here is the top file sharing website you can use.

Please login to see your tickets