Date on Advance Query

Ticket for: Combo Blocks
Date on Advance Query 1
Matus Michael
Oct 05, 2020 11:09 AM 1 Answers
Member Since Sep 2020
Subscribed Subscribe Not subscribe

How can I enter a valid date that will be calculated. I tried to put this in page template:

$today = getdate();
$args = array(
'date_query' => array(
'year' => $today['year'],
'month' => $today['mon'],
'day' => $today['mday'],

$actual_date1 = date("Y-m-d",mktime(0, 0, 0, $today['mon'], $today['mday']-7, $today['year']));

and use in "Value" - $actual_date1  or $args, but not works.

2 Subscribers
Date on Advance Query 1
Date on Advance Query 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
Date on Advance Query 4
Oct 05, 2020

Welcome to our forum.

I am not sure what are you trying to do and how your code will work with our plugin, could you please explain little more, hope i can help you.


Date on Advance Query 5
Matus Michael
- Oct 06, 2020 02:26 PM
Flag (0)

Advance Query

I have this on advance query settings:

Group Query
Relation: AND
Key: _EventEndDate;
Value: 2020-10-05 -> now as string. I want to put here $actual_date1 or $args if needs array
Compare: >;
Type: -> nothing

I used the shortcode (

You may already notice "Post Grid by PickPlugins" is now showing "Post Grid Combo" on your plugin list. Just don't
WooCommerce Custom Notification Plugins
A WooCommerce custom notification plugin can boost your site and send or help you receive notifications for product sales and
WooCommerce Booking and Appointment plugins
This WooCommerce Booking and Appointment article will help you find the most user-friendly and highly advanced features plugin for your
Wholesale Plugins For WooCommerce
To assist you in finding the best wholesale plugin at an affordable price for your shop, this article will examine
Monetize Blog On WordPress
If you open a website then your ultimate goal is how to monetize blog on WordPress. Every person dreams who
Increase Security of WordPress Website
The WordPress security issue is very important because WordPress is the most popular CMS. So, it's very essential to increase
WooCommerce Product Designer Plugins
We'll show you what product designer plugin will be best for your WooCommerce store and the top 10 WooCommerce product
WooCommerce PDF Invoice Plugins
If you are looking for the best WooCommerce pdf invoice plugin for your WooCommerce site, then these 10 PDF invoice
WooCommerce Floating cart plugins
If you search for the best floating cart plugin to make your WooCommerce website more impressive, these ten plugins may
WooCommerce Abandoned Cart Recovery Plugins
Check this list of 10 Best WooCommerce Abandoned Cart Recovery Plugins that can help you to retrieve abandoned shopping carts.
) in the page.

Thank you

Sign in to Reply
Replying as Submit