From 6b8b100f6a073ac535e7dd35bc04be5dfd3f4324 Mon Sep 17 00:00:00 2001 From: Tania Date: Thu, 14 Jan 2016 03:17:22 -0600 Subject: [PATCH] Fix indentation --- page-custom.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/page-custom.php b/page-custom.php index 0882997..9675fa3 100644 --- a/page-custom.php +++ b/page-custom.php @@ -4,11 +4,11 @@
'my-custom-post', - 'orderby' => 'menu_order', - 'order' => 'ASC' -); + $args = array( + 'post_type' => 'my-custom-post', + 'orderby' => 'menu_order', + 'order' => 'ASC' + ); $custom_query = new WP_Query( $args ); while ($custom_query->have_posts()) : $custom_query->the_post(); ?> @@ -18,7 +18,7 @@ $args = array(
- - - + + +