| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
exit; // Exit if accessed directly. |
| 4 |
} |
| 5 |
?> |
| 6 |
<!DOCTYPE html> |
| 7 |
<html <?php language_attributes(); ?>> |
| 8 |
<head> |
| 9 |
<meta charset="<?php bloginfo( 'charset' ); ?>"> |
| 10 |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
| 11 |
<?php if ( ! current_theme_supports( 'title-tag' ) ) : ?> |
| 12 |
<title> |
| 13 |
<?php |
| 14 |
// PHPCS - already escaped by WordPress. |
| 15 |
echo wp_get_document_title(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped |
| 16 |
?> |
| 17 |
</title> |
| 18 |
<?php endif; ?> |
| 19 |
<?php wp_head(); ?> |
| 20 |
</head> |
| 21 |
<body <?php body_class(); ?>> |
| 22 |
<?php wp_body_open(); ?> |
| 23 |
|