Restructure theme, use autoloader
This commit is contained in:
10
templates/template-custom.php
Normal file
10
templates/template-custom.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* Template Name: Custom Template
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
<?php App\template_part('partials/page-header'); ?>
|
||||
<?php App\template_part('partials/content-page'); ?>
|
||||
<?php endwhile; ?>
|
||||
Reference in New Issue
Block a user