CodePen Embed Block


CodePen is an online code editor for front-end development. You build things (we call them Pens) with HTML, CSS, and JavaScript, and the languages and libraries that go along with those. Any Pen can be embedded on another site, making them useful for blog posts, documentation, forums, etc.

This Gutenberg block makes it easy to embed them. While oEmbed (just paste in a Pen URL!) also works for CodePen embeds in Gutenberg, this plugin allows for much more control, like setting the the height, theme, and default tabs.

سکرین شاٹاں

  • Adding a CodePen Embed block.
  • The block with all the options.


This plugin provides 2 blocks.

  • CodePen Embed
  • CodePen Embed Block

انسٹال کرݨ

Install from the WordPress Plugin Directory.

ہرہک دے سوال

Why is this useful?

It’s helpful for embedding Pens you build (or others have built) on CodePen on your own WordPress site.


جنوری 20, 2022
I write web development tutorials in my blog and have tried many syntax highlighter options for code snippets in the past. I recently decided to give Codepen a try and this plugin is surely the best way to embed and configure those!
سارے 2 ریویو پڑھو

Contributors & Developers

“CodePen Embed Block” is open source software. The following people have contributed to this plugin.

حصہ پاوݨ آلے

“CodePen Embed Block” has been translated into 1 locale. Thank you to the translators for their contributions.

“CodePen Embed Block&#8221 دا آپݨی زبان وچ ترجمہ کرو۔

ڈیویلپمنٹ وچ دلچسپی ہے؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

تبدیلی لاگ


  • Initial release


  • Added editable option


  • Tested up to WordPress 6.3.1


  • Added new setting for default theme ID