Couldn’t understand the Page Template creation.
I’m using a custom theme, I can share what my website’s home-template.php look like along with the custom template pages I’m using.
<?php
/*
Template Name: Home Page
*/
?>
<?php get_header(); ?>
<?php include('slider.php'); ?>
<?php include('content/home-content.php'); ?>
<?php get_footer(); ?>
and here is my Single Page Template looks like…
<?php
/*
Template Name: Simple Page Template
*/
?>
<?php get_header(); ?>
<?php include('content/simple-page-content.php'); ?>
<?php get_footer(); ?>
and here is the simple-page-content.php content
<section class="container" >
<hr class="vertical-space">
<div class="twelve columns">
<?php while ( have_posts() ) : the_post(); ?>
<h3><?php the_title(); ?></h3>
<?php the_content(); ?>
<?php endwhile; // end of the loop. ?>
</div>
</section>
Now how should I make a template page for AnsPress ?