🔍
This commit is contained in:
58
base.php
58
base.php
@@ -8,35 +8,31 @@ use Roots\Sage\Wrapper;
|
||||
?>
|
||||
|
||||
<?php get_template_part('templates/head'); ?>
|
||||
<body <?php body_class(); ?>>
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<div class="alert alert-warning">
|
||||
<?php _e('You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.', 'sage'); ?>
|
||||
</div>
|
||||
<![endif]-->
|
||||
|
||||
<?php
|
||||
do_action('get_header');
|
||||
get_template_part('templates/header');
|
||||
?>
|
||||
|
||||
<div class="wrap container" role="document">
|
||||
<div class="content row">
|
||||
<main class="main" role="main">
|
||||
<?php include Wrapper\template_path(); ?>
|
||||
</main><!-- /.main -->
|
||||
<?php if (Config\display_sidebar()) : ?>
|
||||
<aside class="sidebar" role="complementary">
|
||||
<?php include Wrapper\sidebar_path(); ?>
|
||||
</aside><!-- /.sidebar -->
|
||||
<?php endif; ?>
|
||||
</div><!-- /.content -->
|
||||
</div><!-- /.wrap -->
|
||||
|
||||
<?php get_template_part('templates/footer'); ?>
|
||||
|
||||
<?php wp_footer(); ?>
|
||||
|
||||
</body>
|
||||
<body <?php body_class(); ?>>
|
||||
<!--[if lt IE 9]>
|
||||
<div class="alert alert-warning">
|
||||
<?php _e('You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.', 'sage'); ?>
|
||||
</div>
|
||||
<![endif]-->
|
||||
<?php
|
||||
do_action('get_header');
|
||||
get_template_part('templates/header');
|
||||
?>
|
||||
<div class="wrap container" role="document">
|
||||
<div class="content row">
|
||||
<main class="main" role="main">
|
||||
<?php include Wrapper\template_path(); ?>
|
||||
</main><!-- /.main -->
|
||||
<?php if (Config\display_sidebar()) : ?>
|
||||
<aside class="sidebar" role="complementary">
|
||||
<?php include Wrapper\sidebar_path(); ?>
|
||||
</aside><!-- /.sidebar -->
|
||||
<?php endif; ?>
|
||||
</div><!-- /.content -->
|
||||
</div><!-- /.wrap -->
|
||||
<?php
|
||||
get_template_part('templates/footer');
|
||||
wp_footer();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
<!doctype html>
|
||||
<html class="no-js" <?php language_attributes(); ?>>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" title="<?= get_bloginfo('name'); ?> Feed" href="<?= esc_url(get_feed_link()); ?>">
|
||||
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="alternate" type="application/rss+xml" title="<?= get_bloginfo('name'); ?> Feed" href="<?= esc_url(get_feed_link()); ?>">
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user