Template Total Override Not Accepting Shortcodes
-
Hi Kevin,
I found today that the template total override option doesn’t accept shortcodes. I had a Gravity Forms shortcode in my wBounce popup. It works fine as the default pop up, but doesn’t work as a total override.
In the wbounce/frontend/class-frontend.php file I changed
printf( __( '%s', WBOUNCE_TD ), $totalOverrideText );
to this:
printf( __( '%s', WBOUNCE_TD ), do_shortcode( stripslashes($totalOverrideText)) );
And it now accepts and displays shortcodes correctly. Could this be added as an easy update?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Template Total Override Not Accepting Shortcodes’ is closed to new replies.