Support » Theme: Spun » Excluding Subpages from Post-to-Page Mod

  • Resolved dbz_gt_crazy

    (@dbz_gt_crazy)


    Caroline, I used the simple code mod: <?php query_posts(‘post_type=page’); ?>

    in a child theme to make the circles link to pages. But now all subpages end up as circles on the homepage, too, of course. Is there a way to exclude subpages from the loop? I’d imagine it would be simple, but I don’t know any programming.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Excluding Subpages from Post-to-Page Mod’ is closed to new replies.