added switch on off for server console log
This commit is contained in:
7
plugins/wp_model_plugin/html/index.html
Normal file
7
plugins/wp_model_plugin/html/index.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<p>i am a new p</p>
|
||||
<p class="first_el_to_change">to change</p>
|
||||
<?php
|
||||
foreach($names as $name) {
|
||||
include($html_dir."templates/presentation.html");
|
||||
}
|
||||
?>
|
||||
9
plugins/wp_model_plugin/html/index2.html
Normal file
9
plugins/wp_model_plugin/html/index2.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
foreach($ages as $age) {
|
||||
?>
|
||||
<p>age <?php echo esc_html($age); ?></p>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<p class="third_el_to_change">to change</p>
|
||||
<p>aaaaaand this is the end</p>
|
||||
2
plugins/wp_model_plugin/html/templates/presentation.html
Normal file
2
plugins/wp_model_plugin/html/templates/presentation.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<p>hello <?php echo esc_html($name); ?></p>
|
||||
<p class="second_el_to_change">to change</p>
|
||||
Reference in New Issue
Block a user