When you use [child_pages] shortcode recursively, it breaks the WP Loop.
You should probably use (I’m not the master of WP, but it worked for me) :
$queryObject = new WP_Query($args);
Please answer if solution is ok;
- The topic ‘recursive query error’ is closed to new replies.