19 lines
577 B
PHP
19 lines
577 B
PHP
<?php
|
|
/**
|
|
* Third party plugins that hijack the theme will call wp_head() to get the header template.
|
|
* We use this to start our output buffer and render into the view/page-plugin.twig template in footer.php
|
|
*
|
|
* If you're not using a plugin that requries this behavior (ones that do include Events Calendar Pro and
|
|
* WooCommerce) you can delete this file and footer.php
|
|
*/
|
|
|
|
global $params;
|
|
$templates = array('header.twig');
|
|
|
|
$context = Timber::get_context();
|
|
//$GLOBALS['timberContext'] = Timber::get_context();
|
|
//ob_start();
|
|
|
|
|
|
Timber::render( $templates, $context );
|