header.php
32 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @var $this Header |
| 4 | */ |
| 5 | |
| 6 | // If this file is called directly, abort. |
| 7 | use JFB_Components\Admin\Print_Page\Header; |
| 8 | |
| 9 | if ( ! defined( 'WPINC' ) ) { |
| 10 | die; |
| 11 | } |
| 12 | |
| 13 | $meta_content_type = get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ); |
| 14 | |
| 15 | ?> |
| 16 | <!DOCTYPE html> |
| 17 | <html> |
| 18 | <head> |
| 19 | <meta http-equiv="Content-Type" content="<?php echo esc_attr( $meta_content_type ); ?>"> |
| 20 | <title><?php echo esc_html( $this->get_title() ); ?></title> |
| 21 | <?php $this->do_styles(); ?> |
| 22 | <?php $this->do_scripts(); ?> |
| 23 | <style> |
| 24 | #wpcontent { |
| 25 | margin-left: unset; |
| 26 | } |
| 27 | </style> |
| 28 | </head> |
| 29 | <body class="<?php echo esc_attr( $this->get_body_classes() ); ?>"> |
| 30 | <div id="wpcontent"> |
| 31 | <div id="wpbody-content"> |
| 32 |