Replies: 0
I have a custom post called “Radio Show” on which I wish to display “normal” posts that are children of the custom post.
I have used “classic” syntax for displaying posts from a category that are also children of the current post:
`<ul class=”podcasts”>
<?php
global $post;
$catquery = new WP_Query( ‘cat=7&posts_per_page=30&order=DESC&post_parent=’ . $post->ID );
while($catquery->have_posts()) : $catquery->the_post();?>
<li class=”track-list-item”><?php the_content();?></li>
<?php
endwhile; wp_reset_postdata();
?>
</ul>`
But it does not work. What shall I modify?