A single.php não aparece. O que pode ser?
-
Ol Pessoal. Eu coloquei este codigo aqui no arquivo single.php . Setei as li´s certinho para chamar a single, mas não aparece os posts e nem a single. olha código abaixo:
<?php get_header();?> <div id="single"> <?php if (have_posts()): while (have_posts()) : the_post();?> <span class="titulo"><?php the_title();?></span> <?php the_content();?> <?php endwhile; else:?> <?php endif;?> </div><!--single--> <?php get_footer();?>
Na page.php eu fiz a mesma coisa e funcionou. O que pode ser?
Visualizando 1 resposta (de um total de 1)
Visualizando 1 resposta (de um total de 1)
- O tópico ‘A single.php não aparece. O que pode ser?’ está fechado para novas respostas.