Try with array method, using reply post type with its parent.
<?php
$args = array(
'post_type' => 'reply',
'status' => 'approve',
'post_parent' => $postID,
'posts_per_page' => 50,
'orderby' => 'date',
'order' => 'ASC',
'hierarchical' => true,
'ignore_sticky_posts' => true,
);
foreach(get_comments($args) as $comment) :?>
Related Posts:
- Display latest comments on page with pagination
- How do I turn comments off for pages, but not posts?
- How can I make Disqus comments not show up on pages?
- Related Links Page with moderated, user suggested link submissions
- How to call wp_list_comments() outside of the comments template?
- Loading Multiple Comments Pages via Ajax?
- Remove comment section from new page
- How to properly enable comments form in page template
- Dynamic page with comments
- Get rid of “comment” field on non-blog pages [duplicate]
- How to fix broken URL – https://mywebsite.com/comments/feed/
- Is it better to set social media sharer in entry-footer.php or comments.php in WordPress blog?
- WordPress Pages “allow comments” meta option can’t be checked
- How to configure WordPress to handle 75,000 pages?
- How to disable posts and use pages only
- What is the difference between $paged and $page?
- multi page password protection
- Create a “Dummy” parent page for a hierarchy in page listing?
- Change admin startpage to Pages-page?
- Password protected post or page – error message by wrong password?
- Get next/previous cousin page
- I want only my sub-pages to be clickable in the navbar
- WordPress 4 and wp_editor() Not Showing Visual/Text tabs
- Get Order of Meta Box in a Page/Post
- Check to see if page exists problems
- Modify Page Title before output via wp_page_list
- Custom /page/2/ template (different from index.php)
- Form action redirect to the same page
- How do I create a separate page for each author?
- Overriding the currently selected menu item
- Front Page not showing on Pages
- WordPress pages with hierarchy
- How to incorporate Documentation into wordpress?
- How to have custom tinyMCE buttons break onto next line when too long
- Get page by its ID and display it on another one
- Get all pages that are published
- Add a predefined page to site
- creating and styling a within a page
- What are trackbacks?
- How to enumerate a list of posts?
- Weird issue with is_pages() with array
- Missing ‘Page Attributes’ in page edit
- How can I redirect to my custom page without loading the Dashboard itself?
- Remove ID page from wp_count
- category slug and page slug same
- Updated WordPress, now getting errors on site
- What is full URL for a post?
- Edit Parent page drop menu when creating a page
- Get parent of current page
- Attachment pages stealing page slugs
- How to add an external php page with wordpress?
- Exclude pages by menu order
- How to exclude authors from get_pages()
- Folder wordpress page redirect
- Display pages in alphabetical order
- Print page content with formatting when doing custom SQL query
- Listing all child-pages of a parent-page on the parent-page and each child-page?
- Loading scripts on specific pages using PHP in footer.php
- How to recover pages from site with only ftp? [closed]
- How does wordpress link page templates to individual pages
- Archive limit the text of the_content
- upgrade has caused page content to disappear
- Can’t find the page that is using a slug
- Translate dashboard metabox
- Create page template
- Add the same content to multiple pages
- How can a .css file be applied to a virtual page?
- WordPress blog posts template bug [closed]
- Checkboxes to automatically create pages when I activate a theme
- Share a folder with files
- Front Page post mirroring revisions to other pages, constantly updating itself
- Microsoft Security Essentials is blocking my WordPress website in IE11
- Cannot use old slug – it just 301s to site home page
- Display inner pages like posts.[Like how post excerpt works]
- include exception inside theme for empty widget area
- My pages disappeared from the list
- Pre-populating new Page creation with shortcodes
- How to display time when page is created and edited
- Add text to the bottom of particular pages
- Access wordpress pages using a self signed shared ssl
- Page loads all pages of the image gallery with pagination
- Group Pages based on Parent in Admin Area
- How to exclude page in pages module
- get id custom tables on current page
- static page with buton that opens collect email form
- Parent for a single (single.php)
- pagination does not work with query_posts. Help! [duplicate]
- Subpage Conditional
- Multiple WordPress Pages
- How to create an user defined page?
- How can one get page by pagename if it is a child page?
- I have over 3000 child pages – but I need a different main page
- How to enable automatic search results in WordPress
- How to make a conditional statement that checks if the page is the child of a certain page?
- Is it possible to keep the page title from actually appearing at the top of the page?
- Missing page on wordpress “Pages” dashboard [closed]
- How to customize the author page in wordpress?
- User profile in front-end
- custom css in one page
- Why is a page shown with ‘hidden’ next to the name in the list of pages if the page is set to public?