add theme
This commit is contained in:
16
wp/wp-content/themes/medicalalert/tlp-flexpage.php
Normal file
16
wp/wp-content/themes/medicalalert/tlp-flexpage.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
/** Template Name: Flex Page */
|
||||
|
||||
get_header();
|
||||
|
||||
|
||||
foreach(get_field('flex_content') as $flex) {
|
||||
echo site()->render($flex['acf_fc_layout'], $flex);
|
||||
}
|
||||
|
||||
|
||||
|
||||
// take it away from here!
|
||||
|
||||
get_footer();
|
||||
Reference in New Issue
Block a user