wp query – post_parent don’t work and return 0 page

Question

I’m trying to resume pages on WordPress that have a specific page as the parent page.

Why is this not working? This is my args code for loop:

$args=array(
    'post_status'       => 'publish',
    'posts_per_page'    => 30,
    'orderby'           => 'publish_date',
    'post_parent'       => 98727,
);

0
Matteo Feduzi 2 weeks 2021-07-16T04:15:11-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse