Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // tem conteúdo ou posts nesse link
- if(have_posts()){
- // loop enquanto tiver posts (se for página, só roda 1x)
- while(have_posts()){
- // chama o post atual
- the_posts();
- // Agora é só colocar oq quer exibir, ex:
- the_title(); // exibe o titulo
- the_content(); // exibe o conteudo
- the_author(); // exibe o autor
- //...
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement