How Do Shortcodes Work with CircuPress?

In the latest version of CircuPress, we’ve added shortcode support so that your email isn’t delivered with the shortcode displayed within the content. That makes for some ugly emails and can also cause rendering issues with some email clients. We found this out with our own site.

A shortcode may appear like this within your editor:

[button color="blue" size="medium" link="https://marketingtechblog.com" icon="" target="true"]Check out our Blog![/button]

You don’t want it to render like that in your email so the shortcode is properly rendered as HMTL

<a href="http://www.marketingtechblog.com" target="_blank" class="shortc-button medium blue ">Check out our Blog!</a>

That said, keep in mind that you most likely have custom styles within your theme or the plugin you’re using that does some special rendering of the shortcode. Remember that email doesn’t work like a WordPress site. If you want your shortcodes to look as they do on your site, you’ll have to include any custom styling within the style tags of your email templates.

Was this article helpful?

Related Articles