not really known
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

content-site.php 1.8 KiB

há 9 anos
há 9 anos
há 9 anos
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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-## -->