Notifications
Clear all
Topic starter
18/07/2018 6:33 pm
Hi. I'd like to get the comments for a particular post to show up on another page (while retaining all the WPDiscuz format and functions). Any quick and easy way to do that (other than using an iframe)?
23/07/2018 6:02 pm
Hi! I'm trying to do the same thing.
I tried this code:
$args = array(
'p' => 868 // works on my server; use whatever ID you need
);
$qry = new WP_Query($args);if ($qry->have_posts()) {
while ($qry->have_posts()) {
$qry->the_post();
comments_template();
}
}
It works but it shows the comments with the default style from WP. The plugin doesn't work.
Do you know why?
Thanks!
This post was modified 7 years ago by lidstrom
23/07/2018 11:04 pm
It works now with that code.