WordPress.org

Ready to get started?Download WordPress

Forums

Child Pages Shortcode
recursive query error (1 post)

  1. zrebie
    Member
    Posted 1 year ago #

    Hi
    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);
    instead of:
    query_posts($args);

    Please answer if solution is ok;

    http://wordpress.org/extend/plugins/child-pages-shortcode/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.