We created a view and we need to filter the posts only with publishing date only after the last 4 months.
We already created a filter using the parameters in the enclosed screenshot but what happen when we will have the last 4 months in between 2 years (i.e. in January the 4 latest months will spread also in the former year).
The best way to resolve this is by using a date query as our date query filters can be inconsistent at times. Add the following to the Toolset custom code settings at Toolset -> Settings-> Custom Code and activate it. This should ensure that you're only getting the posts that were published after 4 months ago.
Hi Shane, I did what you suggested but the filter seems not working, I enclose a JPG with all settings and script that I created and as you see the ticker shows posts with a date previous than 4 months from today
Hi Shane, you can login to the admin area of the website with the following credentials
Please do not update plugins or themes since we do not have a backup copy of the website ( checked the backup checkbox just because it is the only way to send you the message).
Hi Shane,
if you look at the following URL hidden link
you notice that the ticker elements appear also before 4 months from today (I still see posts from June 24 and earlier (see screenshot). those post shall not appear at all since the ticker shall display only the latest 4 months posts