Initiate the loop for template-custom.php
Just as #1056 added a loop-start to page.php, this adds a loop-start to template-custom.php.
This commit is contained in:
@@ -4,5 +4,7 @@ Template Name: Custom Template
|
|||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php get_template_part('templates/page', 'header'); ?>
|
<?php while (have_posts()) : the_post(); ?>
|
||||||
<?php get_template_part('templates/content', 'page'); ?>
|
<?php get_template_part('templates/page', 'header'); ?>
|
||||||
|
<?php get_template_part('templates/content', 'page'); ?>
|
||||||
|
<?php endwhile; ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user