Just as #1056 added a loop-start to page.php, this adds a loop-start to template-custom.php.
11 lines
227 B
PHP
11 lines
227 B
PHP
<?php
|
|
/*
|
|
Template Name: Custom Template
|
|
*/
|
|
?>
|
|
|
|
<?php while (have_posts()) : the_post(); ?>
|
|
<?php get_template_part('templates/page', 'header'); ?>
|
|
<?php get_template_part('templates/content', 'page'); ?>
|
|
<?php endwhile; ?>
|