Merge pull request #132 from stef-k/container-variable-fix
fix undefined variable issue in header and footer - Thx @stef-k
This commit is contained in:
commit
fa0d4ee1d9
|
@ -8,13 +8,14 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$the_theme = wp_get_theme();
|
$the_theme = wp_get_theme();
|
||||||
|
$container = get_theme_mod('understrap_container_type');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php get_sidebar('footerfull'); ?>
|
<?php get_sidebar('footerfull'); ?>
|
||||||
|
|
||||||
<div class="wrapper" id="wrapper-footer">
|
<div class="wrapper" id="wrapper-footer">
|
||||||
|
|
||||||
<div class="<?php echo $container?>" id="content">
|
<div class="<?php echo $container; ?>" id="content">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<?php $container = get_theme_mod('understrap_container_type'); ?>
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html <?php language_attributes(); ?>>
|
<html <?php language_attributes(); ?>>
|
||||||
<head>
|
<head>
|
||||||
|
@ -33,7 +35,7 @@
|
||||||
|
|
||||||
<nav class="navbar navbar-dark bg-inverse site-navigation" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement">
|
<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">
|
<div class="navbar-header">
|
||||||
|
|
||||||
|
|
Reference in New Issue