PluginProbe
Friends / 2.9.1
Friends v2.9.1
4.3.2 4.3.1 4.3.0 4.2.2 4.2.1 4.2.0 4.1.0 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.9.0 2.9.1 All 88 releases
friends / templates / embed / header-embed.php

header-embed.php in Friends 2.9.1, at templates/embed/header-embed.php

33 lines 714 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Contains the post embed header template
4 *
5 * When a post is embedded in an iframe, this file is used to create the header output
6 * if the active theme does not include a header-embed.php template.
7 *
8 * @package WordPress
9 * @subpackage Theme_Compat
10 * @since 4.5.0
11 */
12
13 if ( ! headers_sent() ) {
14 header( 'X-WP-embed: true' );
15 }
16
17 ?>
18 <!DOCTYPE html>
19 <html <?php language_attributes(); ?> class="no-js">
20 <head>
21 <title><?php echo esc_html( wp_get_document_title() ); ?></title>
22 <meta http-equiv="X-UA-Compatible" content="IE=edge">
23 <?php
24 /**
25 * Prints scripts or data in the embed template head tag.
26 *
27 * @since 4.4.0
28 */
29 do_action( 'embed_head' );
30 ?>
31 </head>
32 <body <?php body_class(); ?>>
33