Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix typo in query arg

  • Loading branch information...
commit 65b48cd5bae01850ed9276c2717ba0f0376b53aa 1 parent d4d1530
@matzko authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  child-page-list.php
View
2  child-page-list.php
@@ -25,7 +25,7 @@ public function shortcode_child_page_list( $args = array() )
$query_args = array(
'orderby' => 'menu_order,title',
'order' => 'ASC',
- 'parent' => get_queried_object_id(),
+ 'post_parent' => get_queried_object_id(),
'post_type' => 'page',
'showposts' => -1,
);
Please sign in to comment.
Something went wrong with that request. Please try again.