2016-02-24 15:57:26 -05:00
|
|
|
<?php
|
|
|
|
/**
|
2016-03-28 14:24:27 -04:00
|
|
|
* Contains the post embed base template
|
2016-02-24 15:57:26 -05:00
|
|
|
*
|
2016-03-28 14:24:27 -04:00
|
|
|
* When a post is embedded in an iframe, this file is used to create the output
|
|
|
|
* if the active theme does not include an embed.php template.
|
2016-02-24 15:57:26 -05:00
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage oEmbed
|
|
|
|
* @since 4.4.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
get_header( 'embed' );
|
|
|
|
|
|
|
|
if ( have_posts() ) :
|
2017-11-30 18:11:00 -05:00
|
|
|
while ( have_posts() ) :
|
|
|
|
the_post();
|
2016-02-24 15:57:26 -05:00
|
|
|
get_template_part( 'embed', 'content' );
|
|
|
|
endwhile;
|
|
|
|
else :
|
|
|
|
get_template_part( 'embed', '404' );
|
|
|
|
endif;
|
|
|
|
|
|
|
|
get_footer( 'embed' );
|