mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 16:21:26 +01:00
svn add attachment.php. see #15078, r15762.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e4d81b8e9a
commit
8731365a57
26
wp-content/themes/twentyten/attachment.php
Normal file
26
wp-content/themes/twentyten/attachment.php
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* The 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(); ?>
|
Loading…
Reference in New Issue
Block a user