Forum Replies Created

Viewing 3 replies - 16 through 18 (of 18 total)
  • Forum: Themes and Templates
    In reply to: Loop Order?
    Thread Starter acondiff

    (@acondiff)

    ok back to my first question. so if i have any children of children it displays them as well (which i dont want them to be displayed). so i tried:

    ‘max_depth’ => 1,

    it doesnt work though. any suggestions?

    Forum: Themes and Templates
    In reply to: Loop Order?
    Thread Starter acondiff

    (@acondiff)

    thanks alot! that did the trick.

    one last question. in – $pages = get_pages(array(‘child_of’ => 5)

    instead of child of the page with an id of 5, how do I get it to detect the current pages id and stick it in the place of 5, so that it is loading child pages of the page you are currently on? (if that makes any sense at all)

    thanks again!

    Thread Starter acondiff

    (@acondiff)

    i did and now i cant see my page at all and i get this error:

    Parse error: syntax error, unexpected ‘)’ in /hermes/bosweb/web297/b2972/ipw.mcondiff/public_html/index.php on line 10

Viewing 3 replies - 16 through 18 (of 18 total)