Title: Editor for Timber
Author: dweipert
Published: <strong>2020-10-29</strong>
Last modified: 2020-12-16

---

Szukaj wtyczek

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

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

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

# Editor for Timber

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

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

 * [Szczegóły](https://pl.wordpress.org/plugins/editor-for-timber/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/editor-for-timber/#reviews)
 * [Rozwój](https://pl.wordpress.org/plugins/editor-for-timber/#developers)

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

## Opis

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

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„Editor for Timber” jest oprogramowaniem open source. Poniższe osoby miały wkład
w rozwój wtyczki.

Zaangażowani

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

Wtyczka „Editor for Timber” została przetłumaczona na 1 język. Podziękuj [tłumaczom](https://translate.wordpress.org/projects/wp-plugins/editor-for-timber/contributors)
za ich wkład.

[Przetłumacz wtyczkę “Editor for Timber” na swój język.](https://translate.wordpress.org/projects/wp-plugins/editor-for-timber)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/editor-for-timber/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/editor-for-timber/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/editor-for-timber/)
przez [RSS](https://plugins.trac.wordpress.org/log/editor-for-timber/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Wersja **1.0.2**
 *  Ostatnia aktualizacja **6 lat temu**
 *  Włączone instalacje **50+**
 *  Wersja WordPressa ** 5.5 lub nowszej **
 *  Testowano do **5.5.24**
 *  Wersja PHP ** 7.4 lub nowszej **
 *  Języki
 * [English (US)](https://wordpress.org/plugins/editor-for-timber/) i [German](https://de.wordpress.org/plugins/editor-for-timber/).
 *  [Przetłumacz na swój język](https://translate.wordpress.org/projects/wp-plugins/editor-for-timber)
 * Tagi
 * [templates](https://pl.wordpress.org/plugins/tags/templates/)[Timber](https://pl.wordpress.org/plugins/tags/timber/)
   [twig](https://pl.wordpress.org/plugins/tags/twig/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/editor-for-timber/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

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

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

## Zaangażowani

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

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

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