Skip Navigation

[Resolved] Conditional to show post title for posts within a week

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by Christopher Amirian 1 year, 3 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2651853

jum

Conditional to show post title for posts within a week

#2651885

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.

Make sure you set the next reply as private.

Also please yell me which view I need to check to see ethe conditional you used.

Thanks

#2653137

Christopher Amirian
Supporter

Languages: English (English )

Screenshot 2023-10-16 at 11.13.24.png

Hi Kaviya,

Thank you for the login info. It seems that you already have a function for that called "calculate_past_date" and it works ok.

If you check the screenshot attached, that is the condition which will show only items within the current 7 days. And the other one will show the outside boundary and it worked:

hidden link

Thanks,

#2653717

jum

Thanks for the support