2.7 made a custom page template but can’t find it
-
Hi-
I am new to WordPress and started on 2.7. However, I am not new to html & CSS.I made a new custom template with the plan to make a few custom templates. One for the home page and a couple for interior pages. All pages will have blog features turned off, but I want to have CMS features.
I made a template using this:
<?php
/*
Template Name: Tester
*/
?><?php get_header2(); ?>
<?php get_sidebar(); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div id=”post-<?php the_ID(); ?>”>
<h2>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h2>
<?php the_content(‘Read the rest of this entry »’); ?>
</div>
<?php endwhile; ?>
<?php else : ?>
<h2>Not Found</h2>
<p>Sorry, but you are looking for something that isn’t here.</p>
<?php endif; ?>
<?php get_footer(); ?>I put this page named tester.php in my theme directory on my server.
However, now i cannot access it as the documentation says I should. It says I should be able to select this is a drop down on the page admin area. Where? see : https://codex.www.ads-software.com/Pages#Page_Templates
What am I doing wrong
- The topic ‘2.7 made a custom page template but can’t find it’ is closed to new replies.