/Web/wp-content/themes/twentyten/attachment.php
PHP | 26 lines | 10 code | 5 blank | 11 comment | 0 complexity | c52d43b55ff99eb2fb3b76a13e5f3fbf MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, AGPL-1.0, LGPL-2.1
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 10get_header(); ?> 11 12 <div id="container" class="single-attachment"> 13 <div id="content" role="main"> 14 15 <?php 16 /* Run the loop to output the attachment. 17 * If you want to overload this in a child theme then include a file 18 * called loop-attachment.php and that will be used instead. 19 */ 20 get_template_part( 'loop', 'attachment' ); 21 ?> 22 23 </div><!-- #content --> 24 </div><!-- #container --> 25 26<?php get_footer(); ?>