not really known
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

57 satır
1.8 KiB

  1. <?php
  2. /**
  3. * The template for displaying all single posts and attachments
  4. *
  5. * @package WordPress
  6. * @subpackage Twenty_Fifteen
  7. * @since Twenty Fifteen 1.0
  8. */
  9. get_header(); ?>
  10. <div id="primary" class="content-area">
  11. <main id="main" class="site-main" role="main">
  12. <article class="post">
  13. <?php
  14. // Start the loop.
  15. while ( have_posts() ) : the_post();
  16. /*
  17. * Include the post format-specific template for the content. If you want to
  18. * use this in a child theme, then include a file called called content-___.php
  19. * (where ___ is the post format) and that will be used instead.
  20. */
  21. get_template_part( 'content', get_post_format() );
  22. talhyperlocal_map_shortcode( get_the_ID() );
  23. $meta = get_post_custom();
  24. $url = $meta['url'][0];
  25. ?>
  26. <p><a href="<?php echo $url ?>">Website</a></p>
  27. <p><?php the_taxonomies( 'before=<ul>&after=</ul>' ) ?></p>
  28. <?php
  29. // If comments are open or we have at least one comment, load up the comment template.
  30. // if ( comments_open() || get_comments_number() ) :
  31. // comments_template();
  32. // endif;
  33. // Previous/next post navigation.
  34. // the_post_navigation( array(
  35. // 'next_text' => '<span class="meta-nav" aria-hidden="true">' . __( 'Next', 'twentyfifteen' ) . '</span> ' .
  36. // '<span class="screen-reader-text">' . __( 'Next post:', 'twentyfifteen' ) . '</span> ' .
  37. // '<span class="post-title">%title</span>',
  38. // 'prev_text' => '<span class="meta-nav" aria-hidden="true">' . __( 'Previous', 'twentyfifteen' ) . '</span> ' .
  39. // '<span class="screen-reader-text">' . __( 'Previous post:', 'twentyfifteen' ) . '</span> ' .
  40. // '<span class="post-title">%title</span>',
  41. // ) );
  42. // End the loop.
  43. endwhile;
  44. ?>
  45. </article>
  46. </main><!-- .site-main -->
  47. </div><!-- .content-area -->
  48. <?php get_footer(); ?>