Skip to content

Commit 7042a5d

Browse files
committed
Initial commit
0 parents  commit 7042a5d

File tree

4 files changed

+169
-0
lines changed

4 files changed

+169
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/vendor

composer.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "level-level/twig-loader",
3+
"type": "wordpress-plugin",
4+
"authors": [
5+
{
6+
"name": "Coen Jacobs",
7+
"email": "coen@level-level.com"
8+
}
9+
],
10+
"minimum-stability": "dev",
11+
"prefer-stable": true,
12+
"require": {
13+
"twig/twig": "^1.42"
14+
}
15+
}

composer.lock

+142
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

twig-loader.php

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
3+
/**
4+
* Plugin Name: Twig Loader
5+
* Description: Loads the Twig template engine where it hasn't been included by the theme.
6+
* Version: 1.0.0
7+
* Author: Level Level
8+
* Author URI: https://www.level-level.com
9+
*/
10+
11+
require_once(dirname(__FILE__ ). '/vendor/autoload.php');

0 commit comments

Comments
 (0)