/Web/wp-content/themes/twentyten/attachment.php

https://bitbucket.org/jimjenkins5/blog · PHP · 26 lines · 10 code · 5 blank · 11 comment · 0 complexity · c52d43b55ff99eb2fb3b76a13e5f3fbf MD5 · raw file

  1. <?php
  2. /**
  3. * The template for displaying attachments.
  4. *
  5. * @package WordPress
  6. * @subpackage Twenty_Ten
  7. * @since Twenty Ten 1.0
  8. */
  9. get_header(); ?>
  10. <div id="container" class="single-attachment">
  11. <div id="content" role="main">
  12. <?php
  13. /* Run the loop to output the attachment.
  14. * If you want to overload this in a child theme then include a file
  15. * called loop-attachment.php and that will be used instead.
  16. */
  17. get_template_part( 'loop', 'attachment' );
  18. ?>
  19. </div><!-- #content -->
  20. </div><!-- #container -->
  21. <?php get_footer(); ?>