Shortcake Bakery Plugin Offers a Suite of Useful Shortcodes for WordPress Publishers

photo credit: Panettiere - (license)
photo credit: Panettiere(license)

In March, the Shortcake project officially began its journey as a feature plugin with regular meetings for contributors working to make it ready to propose for inclusion in WordPress core. The plugin provides a friendly UI for adding shortcodes and transforms them to render a nice preview in the visual editor.


Last week, Daniel Bachhuber and the engineering team at Fusion released Shortcake Bakery, a plugin that extends the Shortcake project to supply a suite of handy shortcodes for publishers. The plugin currently includes the following:

  • Image Comparison (powered by JuxtaposeJS)
  • Facebook embeds
  • iFrames (require whitelisted hostnames)
  • Infogram embeds
  • PDF’s (powered by PDF.js)
  • Playbuzz embeds
  • Rap Genius annotations
  • Scribd embeds
  • Scripts (require whitelisted hostnames)

“We’ve been steadily making shortcodes for use by the Fusion newsroom since we launched Shortcake in November, and by releasing these universally useful patterns to the world, we hope to create a large repository of structured post elements for use by the WordPress community,” Bachhuber said.

For example, Shortcake Bakery supplies a friendly UI for embedding an infographic from The author selects the post element and then pastes in the URL to the infographic. It instantly appears in the post editor with a TinyMCE preview.

Shortcake Bakery also makes it easy to embed a single Facebook post, PDF, image comparison, and other content types that might otherwise prove troublesome to include in WordPress. Each content type is optimized for instant visual preview in the editor.


Version 0.1.0 includes nine useful post elements that make it easy to embed content from external services commonly referenced by publishers. Shortcodes for Instagram, Tubmlr, and Silk are listed as possible upcoming enhancements on the project’s GitHub issues queue. Shortcake Bakery is an open source plugin and is now available on It works best when combined with the Shortcake plugin.


  1. I’m excited to try this one out! Every shortcode plugin I’ve ever tried has always had a bunch of duds in it. Some codes will work perfectly, sometimes even most of them, but there are always enough that do either nothing, or something terrible, that I end up uninstalling them completely. Really excited about the Facebook post and PDF embeds. Those are two things that should be easier on WordPress.

    Thanks for the heads up on this cool plugin!


  2. This is what I looking for! It will make writing easier.


  3. I’m concerned and excited most about the facebook shortcode. Facebook changes their API all the time and the subsequent broken links in every post with a fb shortcode.


  4. Amazing! I just wondering why this plugin doesn’t add common shortcodes like alert box, toggle, accordion. These are quite popular shortcodes and used widely. Currently it seems to focus only on rich media shortcodes.


Comments are closed.