The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 7 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
Hi,
I am trying to filter the posts published in the last 3 months. I set "date condition" in the view this way:
Select posts with => "published date", "after or equal to". Year =>, I tried all of these: Constant (input field empty); CURRENT_ONE; Month =>: PAST_ONE = 3.
I expected to see my last posts instead the view is showing nothing.
Reading other threads in the forum I saw Minesh suggested to set Year => PAST_ONE = 1, but this way I'm getting also the posts of the past year, even if month was PAST_ONE = 3.
I tried even Year => PAST_ONE = 0 but this way I had no results.
Hello. Thank you for contacting the Toolset support.
As I understand you want exactly 90 days old posts from today's date. If that is correct - you need to add following code to your current theme's functios.php file.