Title: CodePen Embed Block
Author: Chris Coyier
Published: <strong>17 Janeiro, 2020</strong>
Last modified: 21 Agosto, 2026

---

Procurar plugins

Este plugin **não foi testado com as 3 últimas grandes versões do WordPress**. Pode
já não ser suportado e pode ter problemas de compatibilidade quando usado com versões
mais recentes do WordPress.

![](https://ps.w.org/codepen-embed-block/assets/icon-256x256.jpg?rev=2471014)

# CodePen Embed Block

 Por [Chris Coyier](https://profiles.wordpress.org/chriscoyier/)

[Descarregar](https://downloads.wordpress.org/plugin/codepen-embed-block.zip)

 * [Detalhes](https://pt.wordpress.org/plugins/codepen-embed-block/#description)
 * [Avaliações](https://pt.wordpress.org/plugins/codepen-embed-block/#reviews)
 *  [Instalação](https://pt.wordpress.org/plugins/codepen-embed-block/#installation)
 * [Desenvolvimento](https://pt.wordpress.org/plugins/codepen-embed-block/#developers)

 [Suporte](https://wordpress.org/support/plugin/codepen-embed-block/)

## Descrição

[CodePen](https://codepen.io) 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 block makes it easy to embed them. While oEmbed (just paste in a Pen URL!) 
also works for CodePen embeds in the block editor, this plugin allows for much more
control, like setting the the height, theme, and default tabs.

## Ecrãs

[⌊Adding a CodePen Embed block.⌉⌊Adding a CodePen Embed block.⌉[

Adding a CodePen Embed block.

[⌊The block with all the options.⌉⌊The block with all the options.⌉[

The block with all the options.

## Blocos

Este plugin inclui 1 bloco.

 *   CodePen Embed Embeds CodePen pens

## Instalação

Install from the WordPress Plugin Directory.

## Perguntas frequentes

### Why is this useful?

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

## Avaliações

![](https://secure.gravatar.com/avatar/d1a79b946f31874fa60f2b234b9ac8add41a2049281523e8a96698354406f8e6?
s=60&d=retro&r=g)

### 󠀁[Super for custom code embeds](https://wordpress.org/support/topic/super-for-custom-code-embeds/)󠁿

 [Deniss](https://profiles.wordpress.org/cms24/) 4 Maio, 2022

Good module for custom code embeds from CodePen.

![](https://secure.gravatar.com/avatar/3d03ea1bfb9ecee0ee6ec90857c2e62be4dbc83d9e2f9e1ee24618e9dde6a3bb?
s=60&d=retro&r=g)

### 󠀁[Great tutorial tool](https://wordpress.org/support/topic/great-tutorial-tool/)󠁿

 [Georgi Popov](https://profiles.wordpress.org/magadanski_uchen/) 20 Janeiro, 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!

 [ Ler todas as 2 avaliações ](https://wordpress.org/support/plugin/codepen-embed-block/reviews/)

## Contribuidores e programadores

“CodePen Embed Block” é software de código aberto. As seguintes pessoas contribuíram
para este plugin:

Contribuidores

 *   [ Chris Coyier ](https://profiles.wordpress.org/chriscoyier/)
 *   [ Andrew Taylor ](https://profiles.wordpress.org/andrewtaylor-1/)

“CodePen Embed Block” foi traduzido para 2 locales. Obrigado aos [tradutores](https://translate.wordpress.org/projects/wp-plugins/codepen-embed-block/contributors)
pelas suas contribuições.

[Traduza o “CodePen Embed Block” para o seu idioma.](https://translate.wordpress.org/projects/wp-plugins/codepen-embed-block)

### Interessado no desenvolvimento?

[Consulte o código](https://plugins.trac.wordpress.org/browser/codepen-embed-block/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/codepen-embed-block/),
ou subscreva o [registo de alterações](https://plugins.trac.wordpress.org/log/codepen-embed-block/)
por [RSS](https://plugins.trac.wordpress.org/log/codepen-embed-block/?limit=100&mode=stop_on_copy&format=rss).

## Registo de alterações

#### 1.0

 * Initial release

#### 1.0.2

 * Added editable option

#### 1.0.3

 * Tested up to WordPress 6.3.1

#### 1.1.0

 * Added new setting for default theme ID

#### 1.2.0

 * Rewritten using @wordpress/blocks builder
 * Update RegEx to support 2.0 editor URLs

#### 1.2.1

 * Sanitize and escape the default theme ID setting to prevent stored cross-site
   scripting.

## Metadados

 *  Versão **1.2.1**
 *  Última actualização **Há 2 meses**
 *  Instalações activas **600+**
 *  Versão do WordPress ** 5.1 ou superior **
 *  Testado até **6.7.10**
 *  Versão do PHP ** 7.2 ou superior **
 *  Idiomas
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/codepen-embed-block/), [English (US)](https://wordpress.org/plugins/codepen-embed-block/)
   e [French (France)](https://fr.wordpress.org/plugins/codepen-embed-block/).
 *  [Traduza para o seu idioma](https://translate.wordpress.org/projects/wp-plugins/codepen-embed-block)
 * Etiquetas
 * [code](https://pt.wordpress.org/plugins/tags/code/)[codepen](https://pt.wordpress.org/plugins/tags/codepen/)
   [embed](https://pt.wordpress.org/plugins/tags/embed/)[gutenberg](https://pt.wordpress.org/plugins/tags/gutenberg/)
 *  [Visualização avançada](https://pt.wordpress.org/plugins/codepen-embed-block/advanced/)

## Classificações

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/codepen-embed-block/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/codepen-embed-block/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/codepen-embed-block/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/codepen-embed-block/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/codepen-embed-block/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/codepen-embed-block/reviews/#new-post)

[Ver todas as revisões](https://wordpress.org/support/plugin/codepen-embed-block/reviews/)

## Contribuidores

 *   [ Chris Coyier ](https://profiles.wordpress.org/chriscoyier/)
 *   [ Andrew Taylor ](https://profiles.wordpress.org/andrewtaylor-1/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/codepen-embed-block/)