Skip to content

Instantly share code, notes, and snippets.

@MaxMSuper
Created June 7, 2017 23:41
Show Gist options
  • Save MaxMSuper/c400bf20fe8f4d393f6a4233d9b57b8a to your computer and use it in GitHub Desktop.
Save MaxMSuper/c400bf20fe8f4d393f6a4233d9b57b8a to your computer and use it in GitHub Desktop.
To allow shortcodes please open the bloom.php file and search for:
? stripslashes( html_entity_decode( $details['custom_html'], ENT_QUOTES, 'UTF-8' ) )
Replace it with:
? do_shortcode(stripslashes( html_entity_decode( $details['custom_html'], ENT_QUOTES, 'UTF-8' ) ))
@iPankajKr
Copy link

@phaser32 Thanks a lot man. I was looking for something like this.

@marketingstarz
Copy link

You saved me! Thanks a lot. I had to use Gravity Forms there, and when I saw it didn't render the shortcode I started sweating. And then all searches about shortcodes and Bloom are about creating shortcodes to display Bloom. Not about displaying shortcodes within Bloom. I got lucky I found this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment