Horje
Helps you create themes faster with sustainable code. With Timber, you write HTML using Twig Templates http://www.upstatement.com/timber/ Wordpress Tutorial

Noted That:

  • To install correctly this timber-library.zip .
  • Fisrt Download the timber-library.zip to your computer
  • Extract/Open timber-library.zip to Your Computer.
  • Then, Find readme.txt file inside timber-library.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.

Start the Tips:

1. First Download " timber-library.zip " Plugin to your Local Computer. (Click Download)

2. Then, Login to your " yourdomain.com/wp-admin " Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse " timber-library.zip "  Downloaded plugin from your computer, Where you downloaded timber-library.zip According to Step – 1 Above then, click on " Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on " Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. " Timber " folder is added on left sidemenu. Now, Click on " Timber " folder.

   Noted that: If you do not see " Timber " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ".

8. Now you configure yourself oR Watch video tutorial below about  Timber Configurtions and Settings or How to work " Timber " in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " Timber " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Timber
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide
  1. Activate the plugin through the ‘Plugins’ menu in WordPress
  2. For an example, try modifying your home.php or index.php with something like this:

    $context = array();
    $context[‘message’] = ‘Hello Timber!’;
    Timber::render( ‘welcome.twig’, $context );

Then create a subdirectory called views in your theme folder. Then create a file views/welcome.twig with these contents:


{{ message }}

When you visit this page, you’ll see both the data from PHP come through as you’ve marked it up. For more, continue with the official Getting Started Guide


Name

Read Article
https://develop.horje.com/learn/1434/reference