CodePen is a ‘playground for the front end web’ where you can write public-facing HTML/CSS/JS demos, called pens. It’s a fountain of inspiration for web designers and a useful resource for those learning to write, organize, and share front end code.
WordPen by Ginger Soul Records is an effort to bring the best of CodePen to WordPress, with minimal code work. Simply paste a CodePen URL, save your WordPen, and embed a shortcode in your layout.
HTML, CSS, and JS code will be editable, and all connected resources linked to the pen will be included with the shortcode.
Not all pens were designed to be featured with WordPen, so you may wish to start with background- and foreground-friendly pens, which are collected here.
- Upload the plugin files to the
/wp-content/plugins/wordpendirectory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the
WP Admin -> WordPens > Add Newscreen import new pens
- How do I make this plugin work?
WP Admin > WordPens > Add newand import a new pen from Codepen. Then use the shorcode provided there, to insert the pen into any WordPress post/page/custom post type.
- first version to be submitted to wordpress.org