diff --git a/404.php b/404.php
index 4b58b334..492cdc09 100644
--- a/404.php
+++ b/404.php
@@ -76,7 +76,7 @@ $container = get_theme_mod( 'understrap_container_type' );
-
+
diff --git a/archive.php b/archive.php
index 2607bc0d..97b48cd4 100644
--- a/archive.php
+++ b/archive.php
@@ -21,8 +21,10 @@ $container = get_theme_mod( 'understrap_container_type' );
-
-
+
@@ -52,12 +54,13 @@ $container = get_theme_mod( 'understrap_container_type' );
}
?>
-
+
diff --git a/author.php b/author.php
index 107050b0..6f1608ca 100644
--- a/author.php
+++ b/author.php
@@ -20,8 +20,10 @@ $container = get_theme_mod( 'understrap_container_type' );
-
-
+
@@ -82,8 +84,8 @@ $container = get_theme_mod( 'understrap_container_type' );
-
-
-
+
-
-
-
-
+
diff --git a/footer.php b/footer.php
index 4d54502b..e436b331 100644
--- a/footer.php
+++ b/footer.php
@@ -33,15 +33,16 @@ $container = get_theme_mod( 'understrap_container_type' );
-
+
-
+
-
+
-
+
-
+
+
diff --git a/global-templates/navbar-collapse-bootstrap4.php b/global-templates/navbar-collapse-bootstrap4.php
index c6235925..dd2126fa 100644
--- a/global-templates/navbar-collapse-bootstrap4.php
+++ b/global-templates/navbar-collapse-bootstrap4.php
@@ -66,4 +66,4 @@ $container = get_theme_mod( 'understrap_container_type' );
-
+
diff --git a/global-templates/navbar-collapse-bootstrap5.php b/global-templates/navbar-collapse-bootstrap5.php
index ab4bdea7..88ad7254 100644
--- a/global-templates/navbar-collapse-bootstrap5.php
+++ b/global-templates/navbar-collapse-bootstrap5.php
@@ -62,4 +62,4 @@ $container = get_theme_mod( 'understrap_container_type' );
-
+
diff --git a/global-templates/navbar-offcanvas-bootstrap5.php b/global-templates/navbar-offcanvas-bootstrap5.php
index bccd6d14..cf7cc360 100644
--- a/global-templates/navbar-offcanvas-bootstrap5.php
+++ b/global-templates/navbar-offcanvas-bootstrap5.php
@@ -69,4 +69,4 @@ $container = get_theme_mod( 'understrap_container_type' );
-
+
diff --git a/global-templates/right-sidebar-check.php b/global-templates/right-sidebar-check.php
index 1987914d..68c26db2 100644
--- a/global-templates/right-sidebar-check.php
+++ b/global-templates/right-sidebar-check.php
@@ -7,9 +7,10 @@
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
-?>
-
+// Closing the primary container from /global-templates/left-sidebar-check.php.
+?>
+
-
+
diff --git a/inc/pagination.php b/inc/pagination.php
index d7f620d7..0a32b976 100644
--- a/inc/pagination.php
+++ b/inc/pagination.php
@@ -72,6 +72,7 @@ if ( ! function_exists( 'understrap_pagination' ) ) {
?>
+
+
';
+ echo '';
get_template_part( 'global-templates/right-sidebar-check' );
echo '';
- echo '';
- echo '';
+ echo '';
+ echo '';
}
}
diff --git a/index.php b/index.php
index 048ed203..26041211 100644
--- a/index.php
+++ b/index.php
@@ -29,8 +29,10 @@ $container = get_theme_mod( 'understrap_container_type' );
-
-
+
@@ -52,13 +54,15 @@ $container = get_theme_mod( 'understrap_container_type' );
}
?>
-
+
-
-
+
-
+ // Do the right sidebar check and close div#primary.
+ get_template_part( 'global-templates/right-sidebar-check' );
+ ?>
diff --git a/loop-templates/content-author.php b/loop-templates/content-author.php
index 46f193ac..a4d1971f 100644
--- a/loop-templates/content-author.php
+++ b/loop-templates/content-author.php
@@ -44,4 +44,4 @@ defined( 'ABSPATH' ) || exit;
-
+
diff --git a/loop-templates/content-page.php b/loop-templates/content-page.php
index 0511c45c..19445996 100644
--- a/loop-templates/content-page.php
+++ b/loop-templates/content-page.php
@@ -34,4 +34,4 @@ defined( 'ABSPATH' ) || exit;
-
+
diff --git a/loop-templates/content-search.php b/loop-templates/content-search.php
index cd6088f2..a78cd438 100644
--- a/loop-templates/content-search.php
+++ b/loop-templates/content-search.php
@@ -44,4 +44,4 @@ defined( 'ABSPATH' ) || exit;
-
+
diff --git a/loop-templates/content-single.php b/loop-templates/content-single.php
index c24d3ed0..987c5e7c 100644
--- a/loop-templates/content-single.php
+++ b/loop-templates/content-single.php
@@ -40,4 +40,4 @@ defined( 'ABSPATH' ) || exit;
-
+
diff --git a/loop-templates/content.php b/loop-templates/content.php
index 53338529..b696eaa5 100644
--- a/loop-templates/content.php
+++ b/loop-templates/content.php
@@ -47,4 +47,4 @@ defined( 'ABSPATH' ) || exit;
-
+
diff --git a/page-templates/both-sidebarspage.php b/page-templates/both-sidebarspage.php
index 5e9788c7..131da455 100644
--- a/page-templates/both-sidebarspage.php
+++ b/page-templates/both-sidebarspage.php
@@ -48,7 +48,7 @@ $container = get_theme_mod( 'understrap_container_type' );
}
?>
-
+
diff --git a/page-templates/fullwidthpage.php b/page-templates/fullwidthpage.php
index b1f161e2..fff2eb45 100644
--- a/page-templates/fullwidthpage.php
+++ b/page-templates/fullwidthpage.php
@@ -40,11 +40,11 @@ if ( is_front_page() ) {
}
?>
-
+
-
+
diff --git a/page-templates/left-sidebarpage.php b/page-templates/left-sidebarpage.php
index 422f67c8..7c95f7d1 100644
--- a/page-templates/left-sidebarpage.php
+++ b/page-templates/left-sidebarpage.php
@@ -39,7 +39,7 @@ $container = get_theme_mod( 'understrap_container_type' );
}
?>
-
+
diff --git a/page-templates/right-sidebarpage.php b/page-templates/right-sidebarpage.php
index a71e3a13..125d578b 100644
--- a/page-templates/right-sidebarpage.php
+++ b/page-templates/right-sidebarpage.php
@@ -37,7 +37,7 @@ $container = get_theme_mod( 'understrap_container_type' );
}
?>
-
+
diff --git a/page.php b/page.php
index 91efd02b..d3b9d1e1 100644
--- a/page.php
+++ b/page.php
@@ -25,8 +25,10 @@ $container = get_theme_mod( 'understrap_container_type' );
-
-
+
@@ -42,10 +44,12 @@ $container = get_theme_mod( 'understrap_container_type' );
}
?>
-
+
-
-
+
diff --git a/search.php b/search.php
index 17993f05..dee69f8d 100644
--- a/search.php
+++ b/search.php
@@ -20,8 +20,10 @@ $container = get_theme_mod( 'understrap_container_type' );
-
-
+
@@ -61,13 +63,15 @@ $container = get_theme_mod( 'understrap_container_type' );
-
+
-
-
+
-
+ // Do the right sidebar check and close div#primary.
+ get_template_part( 'global-templates/right-sidebar-check' );
+ ?>
diff --git a/single.php b/single.php
index 80edec6d..38379d84 100644
--- a/single.php
+++ b/single.php
@@ -18,8 +18,10 @@ $container = get_theme_mod( 'understrap_container_type' );
-
-
+
@@ -36,10 +38,12 @@ $container = get_theme_mod( 'understrap_container_type' );
}
?>
-
+
-
-
+