Support » Plugin: Child Pages Block » Wrong sort order

  • If you want to respect the sort order of your menu, use this code :

    
    $args = array(
    'post_type' => 'page',
    'post_parent' => $post_parent,
    'orderby'=>'menu_order',
    'order' => 'ASC'
    );
    $the_query = new WP_Query($args);
    

    line 27 of php file included in extension (gutenberg-block-subpages-list.php)

  • The topic ‘Wrong sort order’ is closed to new replies.