[Resolved] Display more posts where custom date field is around current displayed post
This thread is resolved. Here is a description of the problem and solution.
Problem:
The essential issue here was that the user had some custom shortcode, however they wanted to use this shortcode to provide a value for a view parameter.
Solution:
In order for custom shortcodes to work in our Views shortcodes you will need to add it to the views third party shortcode arguments in Toolset > Settings > Frontend.
This support ticket is created 5 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.
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.
On the right side of this view, I would need to display all "incidents" where the "date" value is between 3 days before and 3 days after the current incident in the loop.
In order to do this, I've created a new view with a custom field filter based on "date" field with settings : "number" / "between" / shortcode attribute "avant" and shortcode attribute "apres".