mirror of
https://github.com/WordPress/WordPress.git
synced 2024-08-20 12:54:00 +02:00
Built from https://develop.svn.wordpress.org/trunk@25090 git-svn-id: http://core.svn.wordpress.org/trunk@25074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
28 lines
611 B
PHP
28 lines
611 B
PHP
<?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>
|