The code was working absolutely great on my simple view. When I make a new view with custom filter with AJAX result display. the actual shortcode appears instead of. the values that short code should produce.
Could you tweak the code to make it work on Ajax refresh?
Hello. Thank you for contacting the Toolset support.
I do not see the filter "Make" you added to the view currently with the reference URL you shared:
- hidden link
Can you please share where I can see the filter you added as well as where you added the shortcode that is shared by Waqar?
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
I'm not sure why you disable the custom code snippet added at:
=> Toolset => Settings => Custom code tab => show_year_to_from snippet
(I have corrected this snippet by adding following lines at top of the snippet)
- hidden link
/**
* New custom code snippet (replace this with snippet description).
*/
toolset_snippet_security_check() or die( 'Direct access is not allowed' );
// Put the code of your snippet below this comment.
Then I've also disable the code snippet you added "Adding shortened year range custom short code " using code snippet plugin here:
- hidden link
I've then changed the view's "Custom Search Setting" to "AJAX results update when visitors change any filter values" and removed the submit button.
=> hidden link
Can you please confirm it works as expected now:
- hidden link