Page Template does not appear - Wordpress

Asked

Viewed 207 times

0

I created a template page template in Wordpress for the site I’m doing. But after opening an already created page the option to select the created template does not appear. Could you help me?

inserir a descrição da imagem aqui

I created a file called paginageral.php according to the Codex instructions

<?php 	
/*
Template Name: Página Geral
*/ 
 ?>
 <?php get_header(); ?>
	<div class="conteudo">
	<main>
		<section class="meio container">
				<div class="noticias">				
						<p>Esta é a estrutura de paginas gerais</p>
				</div>
		</section>
	</main>	
</div> 
<?php get_footer(); ?>

1 answer

0


You need an index.php file in the theme to work this function, even if the index file is empty

Browser other questions tagged

You are not signed in. Login or sign up in order to post.