Dear Sir/Madam,
I have a View including custom shortcode, after I modify the shortcode, is it must to save the View again to take effective? How can I know which View use the custom shortcode?
Best regards,
Kelvin.
Hi Kelvin,
Thank you for contacting us and I'd be happy to assist.
If you've set the view to use views cache then, yes, you'll have to save the view again or clear that view's cache for the change in the shortcode's output to take effect, on the front-end.
To disable the view's cache, you can disable the option "Cache View" in the "View" block settings, if you've added the view using this block.
If you've added the view using the view's shortcode, then you can include the attribute cached="off", so that the view's cache is not used and always up-to-date output is used:
( ref: https://toolset.com/documentation/programmer-reference/views/views-shortcodes/ )
[wpv-view name="view-1" cached="off"]
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar