not really known
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

58 lignes
1.8 KiB

  1. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  2. <?php
  3. // Post thumbnail.
  4. twentyfifteen_post_thumbnail();
  5. ?>
  6. <header class="entry-header">
  7. <?php
  8. if ( is_single() ) :
  9. the_title( '<h1 class="entry-title">', '</h1>' );
  10. else :
  11. the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );
  12. endif;
  13. ?>
  14. </header><!-- .entry-header -->
  15. <div class="entry-content">
  16. <?php
  17. /* translators: %s: Name of current post */
  18. talhyperlocal_map_shortcode( get_the_ID() );
  19. the_content( sprintf(
  20. __( 'Continue reading %s', 'twentyfifteen' ),
  21. the_title( '<span class="screen-reader-text">', '</span>', false )
  22. ) );
  23. $meta = get_post_custom();
  24. $url = $meta['url'][0];
  25. ?>
  26. <p>Website: <a href="<?php echo $url ?>"><?php echo $url ?></a></p>
  27. <p><?php the_taxonomies( 'before=<ul>&after=</ul>' ) ?></p>
  28. <!-- wp_link_pages( array(
  29. 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfifteen' ) . '</span>',
  30. 'after' => '</div>',
  31. 'link_before' => '<span>',
  32. 'link_after' => '</span>',
  33. 'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
  34. 'separator' => '<span class="screen-reader-text">, </span>',
  35. ) );
  36. -->
  37. </div><!-- .entry-content -->
  38. <?php
  39. // Author bio.
  40. // if ( is_single() && get_the_author_meta( 'description' ) ) :
  41. // get_template_part( 'author-bio' );
  42. // endif;
  43. ?>
  44. <footer class="entry-footer">
  45. <?php twentyfifteen_entry_meta(); ?>
  46. <?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
  47. </footer><!-- .entry-footer -->
  48. </article><!-- #post-## -->