From 3723e1c617895a5359c51b209177ce79e84397ba Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 31 Oct 2017 12:01:43 -0400 Subject: [PATCH] more updates on blocks testing out something for the block output for sub pages. --- sections/landing-page.php | 77 +++++++++++++++++++-------------------- 1 file changed, 37 insertions(+), 40 deletions(-) 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(); ?> + + - -
+
+ +

+ +
+ + +
+ -- 2.17.1