From: Steve Sutton Date: Tue, 31 Oct 2017 16:01:43 +0000 (-0400) Subject: more updates on blocks X-Git-Tag: v1.0.7^2~4 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=3723e1c617895a5359c51b209177ce79e84397ba;p=WP-Themes%2Fkeweenaw2017.git more updates on blocks testing out something for the block output for sub pages. --- diff --git a/sections/landing-page.php b/sections/landing-page.php index 9fdd4ed..c48ac7e 100644 --- a/sections/landing-page.php +++ b/sections/landing-page.php @@ -27,51 +27,48 @@
+ + -
-
- 'page', - 'posts_per_page' => -1, - 'post_parent' => $post->ID, - 'order' => 'ASC', - 'orderby' => 'menu_order', - 'post_status' => 'publish', - ); - - $post_parent = $post->ID; - $parent = new WP_Query( $args ); - $blockCount = 1; - ?> - have_posts() ) : ?> - have_posts() ) : $parent->the_post(); ?> - +
+
+ 'page', + 'posts_per_page' => -1, + 'post_parent' => $post->ID, + 'order' => 'ASC', + 'orderby' => 'menu_order', + 'post_status' => 'publish', + ); -
- - - -

-
- - -
-
- - + $post_parent = $post->ID; + $parent = new WP_Query( $args ); + $blockCount = 0; + ?> + have_posts() ) : ?> + have_posts() ) : $parent->the_post(); ?> + + - -
+
+ +

+ +
+ + +
+