Can not use the custom page template I created
-
I created a page template file called template-kp-artists-list.php, which is located right inside the theme folder: twentytwentyfour/template-kp-artists-list.php.
<?php
/**
* Template Name: Artists List
*/
?>
<?php get_header(); ?>
<div class=”full-width-content”>
<h1>This is a full-width page template</h1>
<?php the_content(); ?>
</div><?php get_footer(); ?>
From what I read, this template should appear in the theme Editor, so that when I create a new page, I can select it. But I don’t see it.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Can not use the custom page template I created’ is closed to new replies.