fix undefined variable issue in header and footer

This commit is contained in:
Stef Kariotidis 2016-11-15 13:09:46 +02:00
parent eb3e432d54
commit ee6de9e9ca
2 changed files with 6 additions and 3 deletions

View File

@ -7,14 +7,15 @@
* @package understrap
*/
$the_theme = wp_get_theme();
$the_theme = wp_get_theme();
$container = get_theme_mod('understrap_container_type');
?>
<?php get_sidebar('footerfull'); ?>
<div class="wrapper" id="wrapper-footer">
<div class="<?php echo $container?>" id="content">
<div class="<?php echo $container; ?>" id="content">
<div class="row">

View File

@ -8,6 +8,8 @@
*/
?>
<?php $container = get_theme_mod('understrap_container_type'); ?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
@ -33,7 +35,7 @@
<nav class="navbar navbar-dark bg-inverse site-navigation" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement">
<div class="<?php echo $container?>" id="content">
<div class="<?php echo $container; ?>" id="content">
<div class="navbar-header">