not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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