Guest User

Come creare Template Wordpress Parte 4 (index.php)

a guest
May 10th, 2018
163
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php if(have_posts()) : ?>
  2.  
  3. <?php while(have_posts()) : the_post(); ?>
  4.  
  5. <div class="row" id="post-<?php the_ID(); ?>">
  6. <div class="col s12 m6">
  7. <div class="card white darken-1">
  8. <div class="card-content white-text">
  9. <span class="card-title"><?php the_title(); ?></span>
  10. <p><?php the_content();?></p>
  11. </div>
  12. <div class="card-action">
  13. <a style="text-align:center;" href="<?php the_permalink();?>">Leggi l'articoli</a>
  14. </div>
  15. </div>
  16. </div>
  17. </div>
RAW Paste Data