Twenty Fourteen: remove unneeded sidebar file. Props iamtakashi, see #25565.
git-svn-id: https://develop.svn.wordpress.org/trunk@25766 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
481c744d42
commit
31e9963904
@ -1,27 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* A template to display recent post formatted posts.
|
|
||||||
*
|
|
||||||
* @package WordPress
|
|
||||||
* @subpackage Twenty_Fourteen
|
|
||||||
*/
|
|
||||||
?>
|
|
||||||
|
|
||||||
<div id="ephemera" class="ephemera" role="complementary">
|
|
||||||
<?php
|
|
||||||
if ( ! dynamic_sidebar( 'sidebar-2' ) ) :
|
|
||||||
foreach ( array( 'video', 'image', 'gallery', 'aside', 'link', 'quote' ) as $format ) :
|
|
||||||
the_widget(
|
|
||||||
'Twenty_Fourteen_Ephemera_Widget',
|
|
||||||
array(
|
|
||||||
'format' => $format,
|
|
||||||
),
|
|
||||||
array(
|
|
||||||
'before_widget' => '<aside class="widget widget_twentyfourteen_ephemera">',
|
|
||||||
'after_widget' => '</aside>',
|
|
||||||
)
|
|
||||||
);
|
|
||||||
endforeach;
|
|
||||||
endif;
|
|
||||||
?>
|
|
||||||
</div>
|
|
Loading…
Reference in New Issue
Block a user