Title: Editor for Timber
Author: dweipert
Published: <strong>29 Ottobre 2020</strong>
Last modified: 16 Dicembre 2020

---

Ricerca i plugin

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

Questo plugin **non è stato testato con le ultime 3 versioni principali (major releases)
di WordPress**. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare
problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

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

# Editor for Timber

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

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

 * [Dettagli](https://it.wordpress.org/plugins/editor-for-timber/#description)
 * [Recensioni](https://it.wordpress.org/plugins/editor-for-timber/#reviews)
 * [Sviluppo](https://it.wordpress.org/plugins/editor-for-timber/#developers)

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

## Descrizione

### 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
    ```

## Recensioni

Non ci sono recensioni per questo plugin.

## Contributi e sviluppo

“Editor for Timber” è un software open source. Le persone che hanno contribuito 
allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

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

“Editor for Timber” è stato tradotto in 1 lingua. Grazie a [chi traduce](https://translate.wordpress.org/projects/wp-plugins/editor-for-timber/contributors)
per il contributo.

[Traduci “Editor for Timber” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/editor-for-timber)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/editor-for-timber/)
segui il [repository SVN](https://plugins.svn.wordpress.org/editor-for-timber/),
segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/editor-for-timber/)
tramite [RSS](https://plugins.trac.wordpress.org/log/editor-for-timber/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versione **1.0.2**
 *  Ultimo aggiornamento **5 anni fa**
 *  Installazioni attive **50+**
 *  Versione WordPress ** 5.5 o superiore **
 *  Testato fino alla versione **5.5.18**
 *  Versione PHP ** 7.4 o superiore **
 *  Lingue
 * [English (US)](https://wordpress.org/plugins/editor-for-timber/) e [German](https://de.wordpress.org/plugins/editor-for-timber/).
 *  [Traduci nella tua lingua](https://translate.wordpress.org/projects/wp-plugins/editor-for-timber)
 * Tag
 * [templates](https://it.wordpress.org/plugins/tags/templates/)[Timber](https://it.wordpress.org/plugins/tags/timber/)
   [twig](https://it.wordpress.org/plugins/tags/twig/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/editor-for-timber/advanced/)

## Valutazioni

Non sono state ancora inviate recensioni.

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

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/editor-for-timber/reviews/)

## Collaboratori

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

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/editor-for-timber/)