WordPress.org

Ready to get started?Download WordPress

Plugin Directory

CodePen Embedded Pens Shortcode

Allows the use of a special shortcode [codepen_embed] for embedding Pens from CodePen.

Allows the use of a special shortcode [codepen_embed] for embedding Pens from CodePen.

You can learn more about CodePen here and about this plugin here.

Basic Usage

[codepen_embed height=300 theme_id=1 slug_hash='jwGBh' user='arasdesign' default_tab='html' animations='run']
  See the Pen <a href='http://codepen.io/arasdesign/pen/jwGBh'>Flat minion</a> by Amin Poursaied (<a href='http://codepen.io/arasdesign'>@arasdesign</a>) on <a href='http://codepen.io'>CodePen</a>
[/codepen_embed]

The Point

  1. You can use shortcodes in the "Visual" editor. CodePen Embeds are copy-and-paste HTML that don't work when using the editor that way. If you ever use the Visual editor in WordPress, you'll probably want to use this plugin.

  2. You can set a default theme, or override any theme set via Shortcode attribute.

  3. Hopefully eventually this plugin will have more functionality. Like have a fancy UI for picking Pens to embed and more control over the HTML output.

Requires: 2.6 or higher
Compatible up to: 3.8.3
Last Updated: 2014-1-21
Downloads: 780

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.