Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if ( ! is_single() ) {?>
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <!--Conteúdo do loop para single-->
- <?php endwhile; else: ?>
- <p><?php _e('Desculpe, nenhuma postagem para estes critérios.'); ?></p>
- <?php endif; ?>
- <?php }?>
- <?php if ( ! is_category() ) {?>
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <!--Conteúdo do loop pra categoria-->
- <?php endwhile; else: ?>
- <p><?php _e('Desculpe, nenhuma postagem para estes critérios.'); ?></p>
- <?php endif; ?>
- <?php }?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement