diff --git a/page-templates/blank.php b/page-templates/blank.php index ec1aa51..06351fd 100644 --- a/page-templates/blank.php +++ b/page-templates/blank.php @@ -6,26 +6,28 @@ * * @package understrap */ + ?> > - - - - - - - - - - - - - + + + + + + + + + + + + + - + - - - + + + diff --git a/page-templates/both-sidebarspage.php b/page-templates/both-sidebarspage.php index b1f79ce..4877d32 100644 --- a/page-templates/both-sidebarspage.php +++ b/page-templates/both-sidebarspage.php @@ -7,46 +7,48 @@ * @package understrap */ - get_header(); -$container = get_theme_mod('understrap_container_type'); +get_header(); +$container = get_theme_mod( 'understrap_container_type' ); ?>
-
+
-
+
-
+
- + -
+
-
+
- + - + - + - + -
+
-
- -
+
+ +
-
+
-
+
- + diff --git a/page-templates/empty.php b/page-templates/empty.php index 4834180..da8f39e 100644 --- a/page-templates/empty.php +++ b/page-templates/empty.php @@ -2,18 +2,16 @@ /** * Template Name: Empty Page Template * - * Template for displaying a page just with the header and footer area and a "naked" content area in between. Good for landingpages and other types of pages where you want to add a lot of custom markup + * Template for displaying a page just with the header and footer area and a "naked" content area in between. + * Good for landingpages and other types of pages where you want to add a lot of custom markup. * * @package understrap */ - get_header(); -?> +get_header(); - +while ( have_posts() ) : the_post(); + get_template_part( 'loop-templates/content', 'empty' ); +endwhile; - - - - - +get_footer(); diff --git a/page-templates/fullwidthpage.php b/page-templates/fullwidthpage.php index cda2c49..aa09c1f 100644 --- a/page-templates/fullwidthpage.php +++ b/page-templates/fullwidthpage.php @@ -2,47 +2,47 @@ /** * Template Name: Full Width Page * - * Template for displaying a page without sidebar even if a sidebar widget is published + * Template for displaying a page without sidebar even if a sidebar widget is published. * * @package understrap */ - get_header(); - $container = get_theme_mod('understrap_container_type'); +get_header(); +$container = get_theme_mod( 'understrap_container_type' ); ?>
-
+
-
+
-
+
-
+
- + - + - + endif; + ?> - + -
+
-
+
-
+
-
+
diff --git a/page-templates/left-sidebarpage.php b/page-templates/left-sidebarpage.php index c5383df..c739c8e 100644 --- a/page-templates/left-sidebarpage.php +++ b/page-templates/left-sidebarpage.php @@ -7,43 +7,45 @@ * @package understrap */ - get_header(); -$container = get_theme_mod('understrap_container_type'); +get_header(); +$container = get_theme_mod( 'understrap_container_type' ); ?>
-
+
-
+
- + -
+
-
+
- + - + - + - + -
+
-
+
-
+
-
+
-
+
- + diff --git a/page-templates/vertical-one-page.php b/page-templates/vertical-one-page.php index 42dad78..e04fd9c 100755 --- a/page-templates/vertical-one-page.php +++ b/page-templates/vertical-one-page.php @@ -12,14 +12,15 @@ $container = get_theme_mod( 'understrap_container_type' ); ?> 'page', - 'post__not_in' => $exclude, + 'post__not_in' => $exclude, 'orderby' => 'menu_order', - 'order' => 'ASC' + 'order' => 'ASC', ); $qry = new WP_Query( $args ); @@ -47,13 +48,16 @@ $qry = new WP_Query( $args );
- have_posts() ): $qry->the_post() ?> + have_posts() ) : $qry->the_post() ?>
- - + +