This query should work.
$images = new WP_Query( array( 'post_type' => 'menu-item', 'post_parent' => $this_page_id, 'orderby' => 'menu_order', 'order' => 'ASC' ) );
Related Posts:
- Pagination not working with custom loop
- How to use a custom post type as front page?
- WP_Query post at custom position
- WooCommerce – Show orders for a specific product ? [closed]
- Custom Post Type order by modified date and custom meta field issue
- Am unable to reset a query properly
- Get next and previous 3 posts in a term in single post page
- 4 column-loop ordered alphabetically with entries grouped (and labeled) by their first letter
- Listing custom post types on archive page with array
- How to conditionally add Custom Post Type to Front Page
- Having Issue on Ordering CPT by Custom Field In Custom WP Query
- Custom Post Type not showing in main loop
- Custom Post type showing up in loop, regular posts are not showing up
- Add custom post type to query
- Update query based on CPT / Post Type, show all sorted by date
- Shortcode with loop stacks output
- Order posts alphabetically with numbers but some of the posts has numbers in the title
- Custom post type order by post_title
- SEARCH QUERIES – REVERSE OUTPUT
- How can I group by Taxonomy on Custom Post Type while filtering out based on custom Meta
- Show first posts with custom field not empty and order all by title
- Help ordering custom query by Title, Ascending
- Is it possible to add query parameters on the archive page?
- $post breaking container loop
- Custom Post Type Order Index Loop
- Multiple Queries and Loops within CPT Archive
- Pagination not working with custom loop
- Create custom post order (with custom post type meta)
- Pagination not working with custom loop
- Pagination not working with custom loop
- Pagination not working with custom loop
- Listing custom post type items from a couple of custom taxonomies
- Pagination not working with custom loop
- Allow admin to determine the order of queries?
- Posts 2 Posts: query connected — orderby problem
- Order custom post type is beign ignored
- Order by & include array by specific post ids
- WP_Query -> sort results by relevance (= most tags / taxonomy terms in common)
- Retrieving 3 latest post from each of 5 different custom post types
- How to solve suspected memory issue in custom WordPress loop?
- Query multiple taxonomy in Custom Post Type
- Comparing timestamps in meta query doesn’t work
- Include both default and Custom Post Type in query modified inside pre_get_posts
- Problems excluding a custom post-type from the loop
- Automatically adding meta data to posts or multiple query help
- How to query different post types in specific order?
- Loop on front-page.php
- Querying Term Posts in Loop
- Custom Post Type Taxonomies -Posts not showing in Category or Tag pages
- Creating Multiple Loops in Genesis, One Post then 20, each with custom fields
- Loop through Custom Post Type, and then show children within each iteration
- Show listings from Impress Listing plugin in random order using taxonomy and terms
- How to make sure content doesn’t display if selection is empty
- Wp_query: sort by PHP variable
- Allow user to set custom order to a list of custom taxonomies?
- Best way to style first post differently?
- I am trying to hide a custom post type category to logged in users with Pre_Get_Posts
- Ordering custom post type by multiple custom fields
- Order by custom field meta_key date and then by custom file meta_key number
- Only show posts with date of today or in the future (i.e don’t show past posts)?
- How do I control the output of a custom post type in the loop?
- WordPress Loop if/else
- WP Query post__in not returning correct results
- Query multiple taxonomies with pre get posts
- Pagination Error : Duplicate argument being outputted
- get_post_meta is not working inside shortcode
- show all custom posts types in home page
- get_pagination not working on a custom post type query (using WP_Query)
- How to Make infinite loop of post
- WP_Query with custom post type ID
- postsperpage value not being applied
- Create query for both custom post type and category
- Multiple Loops on a Page Without Duplicates
- Custom post type hierarchical loop in Homepage
- Use Author Ids or Names to echo different output inside loop
- Display category name of custom posts only once in the loop
- Get Posts List of Current Selected Custom Taxonomy in Shortcode
- Make bootstrap 5.0 carousel dynamic using ACF and CPT UI [closed]
- Pagination Not Working When Used With WP_Query() `offset` Property
- Excluded Custom Taxonomy Term Posts Displaying in loop
- Some posts not displaying by taxonomy term
- WP_Query for custom taxonomies showing posts from non-specified terms?
- WP_Query with all posts in one custom post type and only posts in another custom post type with a specific category
- How to return custom posts in loop?
- Loop with Custom Post Type and Taxonomies
- How do I get a nested query to only display content that the main query outputed
- Order Custom Posts by Several Fields
- After rewriting post type’s URL, the number of queries has increased dramatically
- If i have custom post type with 5 custom fields do i have to create a new loop to reference each one?
- Sorting custom post types by taxonomy (So close)
- Post content stays the same but permalink changes ?
- Looping taxonomy in taxonomy?
- 404 on Pages for Custom Post Type & Query_Posts
- Custom Post Type Loop breaking php
- Styling first post using Advanced Custom Fields
- custom post-type query just returns two posts
- How do I filter a custom post type loop by a field?
- How to order different custom post type in category or tag template page?
- WPNavi pagination links not working on custom pages
- Group search results by post type, but having a unique heading for each section?