Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WP query post_parent doesn’t list grandchildren?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #27035
    Hayley
    Member

    Hey everybody,

    I’m running a query and want to list a child page with it’s grandchildren of my custom post type ‘trapping’. But when I run this code, it doesn’t list the grandchildren. There really should be a way to do this!


    'title',
    'order' => 'ASC', 'post_type' => 'trapping', 'post_parent' => 263,
    ) ); ?>

      have_posts() ) : $loop->the_post(); ?>

    • ', '' ); ?> ">



Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.