equal
deleted
inserted
replaced
|
1 <?php |
|
2 /** |
|
3 * Contains the post embed content template part |
|
4 * |
|
5 * When a post is embedded in an iframe, this file is used to create the content template part |
|
6 * output if the active theme does not include an embed-404.php template. |
|
7 * |
|
8 * @package WordPress |
|
9 * @subpackage Theme_Compat |
|
10 * @since 4.5.0 |
|
11 */ |
|
12 ?> |
|
13 <div class="wp-embed"> |
|
14 <p class="wp-embed-heading"><?php _e( 'Oops! That embed can’t be found.' ); ?></p> |
|
15 |
|
16 <div class="wp-embed-excerpt"> |
|
17 <p> |
|
18 <?php |
|
19 printf( |
|
20 /* translators: %s: a link to the embedded site */ |
|
21 __( 'It looks like nothing was found at this location. Maybe try visiting %s directly?' ), |
|
22 '<strong><a href="' . esc_url( home_url() ) . '">' . esc_html( get_bloginfo( 'name' ) ) . '</a></strong>' |
|
23 ); |
|
24 ?> |
|
25 </p> |
|
26 </div> |
|
27 |
|
28 <?php |
|
29 /** This filter is documented in wp-includes/theme-compat/embed-content.php */ |
|
30 do_action( 'embed_content' ); |
|
31 ?> |
|
32 |
|
33 <div class="wp-embed-footer"> |
|
34 <?php the_embed_site_title() ?> |
|
35 </div> |
|
36 </div> |