Meta query to limit the results by date

Ticket for: Combo Blocks
0
Meta query to limit the results by date 1
Jörg Hoewner
Jul 11, 2022 03:48 PM 1 Answers
Member Since Jun 2022
Subscribed Subscribe Not subscribe
Flag(0)

Hello, I try to limit query of custom post to current date and in future dates and use this shortcode for it:

View post on imgur.com

But shortcode is not working any other solution to add current date in Value field?

2 Subscribers
Meta query to limit the results by date 1
Meta query to limit the results by date 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
Meta query to limit the results by date 4
PickPlugins
Jul 11, 2022
Flag(0)

Welcome to our forum.

[post_grid_today] is dummy shortcode for example purpose, based on your meta key value you could create a new shortcode that provides same date format, so I would suggest you to create custom shortcode instead of using our shortcode.

Meta query to limit the results by date 5
Jörg Hoewner
- Jul 15, 2022 01:16 PM
Flag (0)
0

Thank you! Update of plugin solved my problem!

Meta query to limit the results by date 6
PickPlugins
- Jul 14, 2022 06:19 PM
Flag (0)
1

Could you please tell me which version are you using for pro version, I can see post-grid-pro version 3.2.36 support to shortcode for value parameters,
Could you please reinstall pro version by downloading from here https://pickplugins.com/my-account/downloads/

https://imgur.com/6sDGvKL

Meta query to limit the results by date 5
Jörg Hoewner
- Jul 13, 2022 06:30 PM
Flag (0)
0

I create such shortcode in function.php:
https://imgur.com/morjHoG
And here is how it renders in frontend:
https://imgur.com/oTUbF0t

Somehow this shortcode not working in plugin value field, but if I use static date in value field it is query perfectly.

Sign in to Reply
Replying as Submit