removed templates in path to include html
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
<p class="first_el_to_change">to change</p>
|
||||
<?php
|
||||
foreach($names as $name) {
|
||||
include($template_dir."presentation.html");
|
||||
include($html_dir."templates/presentation.html");
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
# a list of variables to make available to this files
|
||||
function create_html($files, $vars) {
|
||||
$html_dir = plugin_dir_path(__DIR__).'html/';
|
||||
$template_dir = plugin_dir_path(__DIR__).'html/templates/';
|
||||
extract($vars);
|
||||
|
||||
ob_start();
|
||||
|
||||
Reference in New Issue
Block a user