| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
|
| 6 |
/** |
| 7 |
* This view is created to avoid deprecation warnings when previewing a form and the |
| 8 |
* code in this view is mostly copied from "theme-compat/header.php" |
| 9 |
* |
| 10 |
* @since 6.x |
| 11 |
*/ |
| 12 |
?> |
| 13 |
<!DOCTYPE html> |
| 14 |
<html <?php language_attributes(); ?>> |
| 15 |
<head> |
| 16 |
<link rel="profile" href="https://gmpg.org/xfn/11" /> |
| 17 |
<meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" /> |
| 18 |
|
| 19 |
<title><?php echo wp_get_document_title(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></title> |
| 20 |
|
| 21 |
<link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>" type="text/css" media="screen" /> |
| 22 |
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> |
| 23 |
|
| 24 |
<?php |
| 25 |
wp_head(); |
| 26 |
?> |
| 27 |
</head> |
| 28 |
<body <?php body_class(); ?>> |
| 29 |
<div id="page"> |
| 30 |
<div id="header" role="banner"> |
| 31 |
<div id="headerimg"> |
| 32 |
<h1><a href="<?php echo esc_url( home_url() ); ?>/"><?php bloginfo( 'name' ); ?></a></h1> |
| 33 |
<div class="description"><?php bloginfo( 'description' ); ?></div> |
| 34 |
</div> |
| 35 |
</div> |
| 36 |
<hr /> |
| 37 |
<?php |
| 38 |
|