Assuming that, by “HOME_ID”, you are referring to the static Page used to display the Site Front Page, then you want to use get_option( 'front_page' ) to get the ID for this page:
<?php
$menu_wp_query_args = array(
'post_type' => 'page',
'post_parent' => get_option( 'front_page' ),
'orderby' => 'menu_order'
);
$new_wp_query = new WP_Query( $new_wp_query_args );
?>
Related Posts:
- Page template query with WP_Query
- How to display page content in a page template?
- Does WordPress generate an automatic page for post formats?
- Single page theme that uses pages for the content
- Trying to list out child pages with WP_Query
- Order by menu structure
- Targeting specific pages in the loop
- What are the differences between “Latest Posts” and “Static Page”?
- WP_Query not retrieving by random order under parent
- Set if condition with wp_nav_menu
- Set order of returned items in the WP_Query() class/function
- Search pages that are a child of the current page
- How to display summary content from a Page (Not a Post) on another page
- Serve specific “template” page at any URL that ends in its slug
- Display custom tags on pages that have a specific page parent
- Is there a reason why Pages are not publicly_queryable?
- Why post__not_in is ignored?
- Exclude parent with child pages from WP_Query
- Create a loop on my pages with new “WP_Query”
- All blog data on a page using custom query gives 404 for page 2 and onward
- When listing child pages run out of memory
- WPQuery calling specific posts problem
- WP_Query with multiple orderby NOT working with ASC and DESC, what’s wrong?
- Display specific page (that is child) content on parent page
- Get query results with a page title
- How to get current page nearest parent id?
- How to get main menu only with wp_nav_menu
- Unable to paginate a custom page query
- How to create single page site in WordPress
- Determine if ID is page or post and query the ID
- How to query for a page, get data, then query for child pages of that page
- Get list of all Grandchild Pages
- Custom query does not find pages
- WP Query and multiple pages
- How to use custom page for all posts with custom url, call another directory?
- display the children of the post using the current page as the main parent
- pages shortcode filtering by category
- How to create page that lists tags by initial letter?
- Get a page ancestor from a most viewed list
- How can I use a specific wordpress page template if certain words are used in page title [closed]
- Category Archive not working for pages
- Retrieving category pages from subcategory returns empty sets
- Issue in If else condition [closed]
- Show parent’s child and also child’s, child on a page?
- get contents and permalink from a specified page
- Hierarchical List Pages as a table
- Get next post when using pagination with WP_Query?
- WordPress pagination returns the same posts
- How to write short code with if else to get page_id?
- Rewrite URL custom search query
- Paginate_Links page 2 doesn’t work
- How to pass orderby params to $wpdb->prepare()?
- how update data through ajax and jquery
- WP_Query arguments relation shows AND instead of OR
- Combine results of multiple WP_Query to resemble single WP_Query
- Modifing archive query affects show post count function
- Using WP_Query() in Magento shows error
- For what queries is conditional tags informative?
- Utilising an existing page while using the “s” query parameter
- posts archive page – closing WP_Query loop correctly [closed]
- AJAX Breaking Offset Argument In WP Query
- Get meta_value of a specific meta_key from all posts belonging to a specific custom type
- Pagination in html table is not working
- Nested array issue in meta_query
- Why does WP_Query have methods that return public properties of the same name
- Query by key or author
- WP_query paged pagination with excluded category still counts it
- meta_query with array as value with multiple arrays
- Why doesn’t my WP Meta Query return any results?
- tax_query not working on custom post type
- Form checkbox value going to dynamic URL
- WooCommerce WP_Query using tax_query returns no results (0 = 1)
- WP Query and multiple queries
- I need query_posts() to order results first by a meta value and then by post ID
- Custom category page with taxonomy filters
- How do i query woocommerce booking post type on init action?
- How to display post based on which is clicked
- date_query problem
- WP_Query Not Working with Variable
- WP_Query doesn’t return some child pages even though the database shows them
- Random posts in WP_Query when searching by tag
- How To Use WP_Query To Get The Custom Post type Posts With Keywords
- Pagination returns 404 after page 20
- I wan to process the following js to process the AJAX Request on my function to calculate author Total Post views
- (How) Can I use ‘wild cards’ on the left hand side of an array argument?
- ‘s’ term in WP_Query extended class causes huge memory leak (268MB)
- Compare meta key separation
- Combine privileged users array with my current query
- Get posts from similar time as current post
- Query posts filter not working
- meta_query dates from an array
- Creating array to compare custom field values
- WordPress Query Default Order if Meta Values Same?
- WP_Query do not include posts with a certain value in a custom field –
- Having trouble using this post category query on multiple pages?
- Remove 5 latest posts from the loop
- Exclude post formats in custom loop
- post per page for differents post types in a same query
- why same category base and single post base don’t work?
- How to change WP Query to display related posts