Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@websupporter
Created March 19, 2016 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save websupporter/85304e7945f223b39e1f to your computer and use it in GitHub Desktop.
Save websupporter/85304e7945f223b39e1f to your computer and use it in GitHub Desktop.
<?php
/**
* Contains the post embed template.
*
* When a post is embedded in an iframe, this file is used to
* create the output.
*
* @package WordPress
* @subpackage oEmbed
* @since 4.4.0
*/
get_header( 'embed' );
if ( have_posts() ) :
while ( have_posts() ) : the_post();
get_template_part( 'embed', 'content' );
endwhile;
else :
get_template_part( 'embed', '404' );
endif;
get_footer( 'embed' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment