mirror of
https://github.com/WordPress/WordPress.git
synced 2024-08-20 04:43:21 +02:00
props DrewAPicture, ericlewis. fixes #25256. Built from https://develop.svn.wordpress.org/trunk@25746 git-svn-id: http://core.svn.wordpress.org/trunk@25659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
28 lines
567 B
PHP
28 lines
567 B
PHP
<?php
|
|
/**
|
|
* Template for displaying attachments
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Ten
|
|
* @since Twenty Ten 1.0
|
|
*/
|
|
|
|
get_header(); ?>
|
|
|
|
<div id="container" class="single-attachment">
|
|
<div id="content" role="main">
|
|
|
|
<?php
|
|
/*
|
|
* Run the loop to output the attachment.
|
|
* If you want to overload this in a child theme then include a file
|
|
* called loop-attachment.php and that will be used instead.
|
|
*/
|
|
get_template_part( 'loop', 'attachment' );
|
|
?>
|
|
|
|
</div><!-- #content -->
|
|
</div><!-- #container -->
|
|
|
|
<?php get_footer(); ?>
|