Title: GenerateWP Embed
Author: Rami Yushuvaev
Published: <strong>20 de Febreiro de 2015</strong>
Last modified: 6 de Xullo de 2019

---

Buscar plugins

![](https://ps.w.org/generatewp-oembed/assets/banner-772x250.png?rev=1341756)

Este plugin **non se actualizou en máis de 2 anos**. É posible que xa non sexa compatible
ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con
novas versións de WordPress.

![](https://ps.w.org/generatewp-oembed/assets/icon-256x256.png?rev=1197081)

# GenerateWP Embed

 Por [Rami Yushuvaev](https://profiles.wordpress.org/ramiy/)

[Descargar](https://downloads.wordpress.org/plugin/generatewp-oembed.1.5.zip)

 * [Detalles](https://gl.wordpress.org/plugins/generatewp-oembed/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/generatewp-oembed/#reviews)
 *  [Instalación](https://gl.wordpress.org/plugins/generatewp-oembed/#installation)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/generatewp-oembed/#developers)

 [Soporte](https://wordpress.org/support/plugin/generatewp-oembed/)

## Descrición

Create code snippets and showcase them to your users.

#### About GenerateWP

[GenerateWP](https://generatewp.com) provides user-friendly tools for developers
to create advanced applications built on top of WordPress. With simple code generators,
developers can create custom and high quality code using the latest WordPress coding
standards and API’s.

#### GenerateWP WordPress Plugin

Using this plugin you can showcase your code snippets from [GenerateWP.com](https://generatewp.com)
in your WordPress site, using the snippet URL or snippet ID.

Choose any public snippet from your [dashboard](https://generatewp.com/dashboard/)
or from the sites public [snippet library](https://generatewp.com/snippet/), or 
create your own! Copy the snippet URL and paste it into your text editor. Then simply
click over to the visual editor to confirm that it loads properly.

Alternatively, you can embed snippets to your content using the `[generatewp id=""]`
shortcode with the following attributes:

 * **id** – Snippet ID (required).
 * **theme** – The embedded snippet theme. Accepted themes: `github`, `geonyx`, `
   kimono`, `paradise`, `soft`, `zenophilia`, `md` (material design), `luminous_dark`(
   dark theme), `luminous_light` (light theme). Default is ‘github’.
 * **lang** – Cod syntax language. Accepted languages: `php`, `html`, `css`, `javascript`.
   Default ‘php’.
 * **ln** – Line numbers are turned on by default but you can turn it off using 
   the ln parameter and set it to zero (0).
 * **sl** – Starting line number. Default 1, if line numbers turned on.
 * **al** – Auto-link links listed in the code. Default 0, no auto links.
 * **mh** – Max height for the embedded snippet to overwrite vertical scroll bars.
   Default 500 (pixels).

## Capturas

[⌊Pasting snippet URL to the text editor.⌉⌊Pasting snippet URL to the text editor
.⌉[

Pasting snippet URL to the text editor.

[⌊Pasting snippet URL to the visual editor.⌉⌊Pasting snippet URL to the visual editor
.⌉[

Pasting snippet URL to the visual editor.

## Instalación

#### Installation

 1. In your WordPress Dashboard go to “Plugins” -> “Add Plugin”.
 2. Search for “GenerateWP Embed”.
 3. Install the plugin by pressing the “Install” button.
 4. Activate the plugin by pressing the “Activate” button.

#### Minimum Requirements

 * WordPress version 3.5 or greater.
 * PHP version 5.2.4 or greater.
 * MySQL version 5.0 or greater.

#### Recommended Requirements

 * The latest WordPress version.
 * PHP version 7.0 or greater.
 * MySQL version 5.6 or greater.

## Preguntas frecuentes

  How do I embed snippets from GenerateWP?

With this plugin you can use the URL to embed snippets. Just paste the snippet URL
into your post editor:
 https://generatewp.com/snippet/0md9rdy/

  How do I set custom dimensions to my snippets?

Since WordPress 4.2, you can double click the embedded item to set max width and
max height. It will add the WordPress `[embed]` shortcode:
 [embed width=”600″ height
=”400″]https://generatewp.com/snippet/0md9rdy/[/embed]

**Note:** Doing it the WordPress way, using the `[embed]` shortcode, is backwards
and forward compatible, and it works with all the themes.

  Can I customize the embedded snippet?

For advanced customization, use `[generatewp id=""]` shortcode with the following
attributes:

 * **id** – Snippet ID (required).
 * **theme** – The embedded snippet theme. Accepted themes: `github`, `geonyx`, `
   kimono`, `paradise`, `soft`, `zenophilia`, `md` (material design), `luminous_dark`(
   dark theme), `luminous_light` (light theme). Default is ‘github’.
 * **lang** – Cod syntax language. Accepted languages: `php`, `html`, `css`, `javascript`.
   Default ‘php’.
 * **ln** – Line numbers are turned on by default but you can turn it off using 
   the ln parameter and set it to zero (0).
 * **sl** – Starting line number. Default 1, if line numbers turned on.
 * **al** – Auto-link links listed in the code. Default 0, no auto links.
 * **mh** – Max height for the embedded snippet to overwrite vertical scroll bars.
   Default 500 (pixels).

## Comentarios

Non hai recensións para este plugin.

## Colaboradores e desenvolvedores

“GenerateWP Embed” é un software de código aberto. As seguintes persoas colaboraron
con este plugin.

Colaboradores

 *   [ Rami Yushuvaev ](https://profiles.wordpress.org/ramiy/)
 *   [ GenerateWP ](https://profiles.wordpress.org/generatewp/)

“GenerateWP Embed” foi traducido a 8 idiomas. Grazas [aos desenvolvedores](https://translate.wordpress.org/projects/wp-plugins/generatewp-oembed/contributors)
polas súas contribucións.

[Traduce “GenerateWP Embed” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/generatewp-oembed)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/generatewp-oembed/),
bota unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/generatewp-oembed/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/generatewp-oembed/)
por [RSS](https://plugins.trac.wordpress.org/log/generatewp-oembed/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### 1.5 (2016-06-15)

 * Fix shortcode issue.
 * Add oEmbed handler for custom parameters.

#### 1.4 (2016-04-04)

 * Add shortcode.
 * Move plugin files to ‘includes’ directory.

#### 1.3 (2015-11-30)

 * Remove po/mo files from the plugin.
 * Use [translate.wordpress.org](https://translate.wordpress.org/) to translate 
   the plugin.

#### 1.2 (2015-03-28)

 * Prevent direct access to php files.
 * Prevent direct access to directories.

#### 1.1 (2015-03-02)

 * Add i18n support.
 * Add Hebrew (he_IL) translation.

#### 1.0 (2015-02-20)

 * Initial release.
 * Register oEmbed provider.

## Meta

 *  Versión **1.5**
 *  Última actualización **Fai 7 anos**
 *  Instalacións activas **40+**
 *  Versión de WordPress ** 3.5 ou superior **
 *  Probado ata **5.2.29**
 *  Versión de PHP ** 5.2.4 ou superior **
 *  Idiomas
 * [English (Australia)](https://en-au.wordpress.org/plugins/generatewp-oembed/),
   [English (Canada)](https://en-ca.wordpress.org/plugins/generatewp-oembed/), [English (New Zealand)](https://en-nz.wordpress.org/plugins/generatewp-oembed/),
   [English (South Africa)](https://en-za.wordpress.org/plugins/generatewp-oembed/),
   [English (UK)](https://en-gb.wordpress.org/plugins/generatewp-oembed/), [English (US)](https://wordpress.org/plugins/generatewp-oembed/),
   [Hebrew](https://he.wordpress.org/plugins/generatewp-oembed/), [Romanian](https://ro.wordpress.org/plugins/generatewp-oembed/),
   e [Swedish](https://sv.wordpress.org/plugins/generatewp-oembed/).
 *  [Traduce ao teu idioma](https://translate.wordpress.org/projects/wp-plugins/generatewp-oembed)
 * Etiquetas
 * [code](https://gl.wordpress.org/plugins/tags/code/)[embed](https://gl.wordpress.org/plugins/tags/embed/)
   [oembed](https://gl.wordpress.org/plugins/tags/oembed/)[shortcode](https://gl.wordpress.org/plugins/tags/shortcode/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/generatewp-oembed/advanced/)

## Valoracións

 5 de 5 estrelas

 *  [  1 valoración de 5 estrelas     ](https://wordpress.org/support/plugin/generatewp-oembed/reviews/?filter=5)
 *  [  0 valoracións de 4 estrelas     ](https://wordpress.org/support/plugin/generatewp-oembed/reviews/?filter=4)
 *  [  0 valoracións de 3 estrelas     ](https://wordpress.org/support/plugin/generatewp-oembed/reviews/?filter=3)
 *  [  0 valoracións de 2 estrelas     ](https://wordpress.org/support/plugin/generatewp-oembed/reviews/?filter=2)
 *  [  0 valoracións de 1 estrelas     ](https://wordpress.org/support/plugin/generatewp-oembed/reviews/?filter=1)

[A túa valoración](https://wordpress.org/support/plugin/generatewp-oembed/reviews/#new-post)

[Ver todas as valoracións](https://wordpress.org/support/plugin/generatewp-oembed/reviews/)

## Colaboradores

 *   [ Rami Yushuvaev ](https://profiles.wordpress.org/ramiy/)
 *   [ GenerateWP ](https://profiles.wordpress.org/generatewp/)

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/generatewp-oembed/)