You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3 jaren geleden
1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Contains the post embed base template
  4. *
  5. * When a post is embedded in an iframe, this file is used to create the output
  6. * if the active theme does not include an embed.php template.
  7. *
  8. * @package WordPress
  9. * @subpackage oEmbed
  10. * @since 4.4.0
  11. */
  12. get_header( 'embed' );
  13. if ( have_posts() ) :
  14. while ( have_posts() ) : the_post();
  15. get_template_part( 'embed', 'content' );
  16. endwhile;
  17. else :
  18. get_template_part( 'embed', '404' );
  19. endif;
  20. get_footer( 'embed' );