Title: Editor for Timber
Author: dweipert
Published: <strong>29 de octubre de 2020</strong>
Last modified: 16 de diciembre de 2020

---

Buscar plugins

![](https://ps.w.org/editor-for-timber/assets/banner-772x250.jpg?rev=2411861)

Este plugin **no se ha probado con las últimas 3 versiones mayores de WordPress**.
Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas 
de compatibilidad cuando se usa con las versiones más recientes de WordPress.

![](https://ps.w.org/editor-for-timber/assets/icon-128x128.png?rev=2411861)

# Editor for Timber

 Por [dweipert](https://profiles.wordpress.org/drogueronin/)

[Descargar](https://downloads.wordpress.org/plugin/editor-for-timber.1.0.2.zip)

 * [Detalles](https://es.wordpress.org/plugins/editor-for-timber/#description)
 * [Valoraciones](https://es.wordpress.org/plugins/editor-for-timber/#reviews)
 * [Desarrollo](https://es.wordpress.org/plugins/editor-for-timber/#developers)

 [Soporte](https://wordpress.org/support/plugin/editor-for-timber/)

## Descripción

### Features

 * adds a metabox to configurable Post-Types to create and edit Twig templates
 * adds Twig support to the WP Theme & Plugin editors
    - you can even customize the CodeMirror theme

### Plugin Dependencies

 * https://wordpress.org/plugins/timber-library/
 * https://wordpress.org/plugins/classic-editor/

### How to use the MetaBox Feature

The plugin uses the path defined in `Timber::$locations` as the templates path or
falls back to the uploads folder if none is provided.

Either adjust your `Timber::render('page.twig', $context)`-functions like this:

    ```
    $filenames = [TimberEditor::getTemplateFilename(), 'page.twig'];
    Timber::render($filenames, $context);
    ```

like this

    ```
    TimberEditor::render('page.twig', $context);
    # 'page.twig' serves as a fallback if the current posts's template doesn't exist
    ```

or like this

    ```
    TimberEditor::renderPost('page.twig', $context);
    # renderPost() automatically adds ['post' => new Timber\Post()] to the $context
    ```

## Reseñas

No hay valoraciones para este plugin.

## Colaboradores y desarrolladores

«Editor for Timber» es un software de código abierto. Las siguientes personas han
colaborado con este plugin.

Colaboradores

 *   [ dweipert ](https://profiles.wordpress.org/drogueronin/)

«Editor for Timber» está traducido en 1 idioma. Gracias a [los traductores](https://translate.wordpress.org/projects/wp-plugins/editor-for-timber/contributors)
por sus contribuciones.

[Traduce «Editor for Timber» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/editor-for-timber)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/editor-for-timber/),
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/editor-for-timber/)
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/editor-for-timber/)
por [RSS](https://plugins.trac.wordpress.org/log/editor-for-timber/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versión **1.0.2**
 *  Última actualización **hace 5 años**
 *  Instalaciones activas **50+**
 *  Versión de WordPress ** 5.5 o superior **
 *  Probado hasta **5.5.18**
 *  Versión de PHP ** 7.4 o superior **
 *  Idiomas
 * [English (US)](https://wordpress.org/plugins/editor-for-timber/) y [German](https://de.wordpress.org/plugins/editor-for-timber/).
 *  [Traducir a tu idioma](https://translate.wordpress.org/projects/wp-plugins/editor-for-timber)
 * Etiquetas:
 * [templates](https://es.wordpress.org/plugins/tags/templates/)[Timber](https://es.wordpress.org/plugins/tags/timber/)
   [twig](https://es.wordpress.org/plugins/tags/twig/)
 *  [Vista avanzada](https://es.wordpress.org/plugins/editor-for-timber/advanced/)

## Valoraciones

Aún no se han enviado valoraciones.

[Your review](https://wordpress.org/support/plugin/editor-for-timber/reviews/#new-post)

[Ver todas las valoraciones](https://wordpress.org/support/plugin/editor-for-timber/reviews/)

## Colaboradores

 *   [ dweipert ](https://profiles.wordpress.org/drogueronin/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/editor-for-timber/)