not really known
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

41 行
1.3 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. ?>
  25. <p>Website: <a href="<?php echo $url ?>"><?php echo $meta['url'][0] ?></a></p>
  26. <p>Area covered: <?php echo $meta['area_covered'][0] ?></p>
  27. <p><?php the_taxonomies( 'before=<ul>&after=</ul>' ) ?></p>
  28. </div><!-- .entry-content -->
  29. <footer class="entry-footer">
  30. <?php twentyfifteen_entry_meta(); ?>
  31. <?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
  32. </footer><!-- .entry-footer -->
  33. </article><!-- #post-## -->