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

---

Cari plugin

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

Plugin ini **belum teruji dangan 3 rilis besar WordPress**. Kemungkinan tidak lagi
dipelihara atau didukung, dan mungkin menghadapi masalah kompatibilitas bila digunakan
dengan versi WordPress yang lebih baru.

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

# Editor for Timber

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

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

 * [Detail](https://id.wordpress.org/plugins/editor-for-timber/#description)
 * [Ulasan](https://id.wordpress.org/plugins/editor-for-timber/#reviews)
 * [Pengembangan](https://id.wordpress.org/plugins/editor-for-timber/#developers)

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

## Deskripsi

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

## Ulasan

Belum ada ulasan untuk plugin ini.

## Kontributor & Pengembang

“Editor for Timber” adalah perangkat lunak open source. Berikut ini mereka yang 
sudah berkontribusi pada plugin ini.

Kontributor

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

“Editor for Timber” telah diterjemahkan dalam 1 bahasa. Terima kasih kepada [para penerjemah](https://translate.wordpress.org/projects/wp-plugins/editor-for-timber/contributors)
untuk kontribusi-nya.

[Terjemahkan “Editor for Timber” dalam bahasa Anda.](https://translate.wordpress.org/projects/wp-plugins/editor-for-timber)

### Tertarik mengembangkan?

[Lihat kode](https://plugins.trac.wordpress.org/browser/editor-for-timber/), periksa
[repositori SVN ](https://plugins.svn.wordpress.org/editor-for-timber/), atau mendaftar
ke [log pengembangan](https://plugins.trac.wordpress.org/log/editor-for-timber/)
melalui [RSS](https://plugins.trac.wordpress.org/log/editor-for-timber/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versi **1.0.2**
 *  Diperbarui **6 tahun yang lalu**
 *  Instalasi Aktif **50+**
 *  Versi WordPress ** 5.5 atau yang terbaru **
 *  Diuji hingga **5.5.23**
 *  Versi PHP ** 7.4 atau yang terbaru **
 *  Bahasa
 * [English (US)](https://wordpress.org/plugins/editor-for-timber/) dan [German](https://de.wordpress.org/plugins/editor-for-timber/).
 *  [Terjemahkan dalam bahasa Anda](https://translate.wordpress.org/projects/wp-plugins/editor-for-timber)
 * Tag
 * [templates](https://id.wordpress.org/plugins/tags/templates/)[Timber](https://id.wordpress.org/plugins/tags/timber/)
   [twig](https://id.wordpress.org/plugins/tags/twig/)
 *  [Tampilan lanjut](https://id.wordpress.org/plugins/editor-for-timber/advanced/)

## Rating

No reviews have been submitted yet.

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

[Lihat semua ulasan](https://wordpress.org/support/plugin/editor-for-timber/reviews/)

## Kontributor

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

## Bantuan

Ada yang ingin dikatakan? Butuh bantuan?

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