Support » Fixing WordPress » The parameter parent in get_pages()

  • Defult value for the parent parameter is -1 ,and when trying to use another value get_pages() does not return any pages at all.

    What value do I use for the perent parameter in the function get_pages() if I just want to show one generation of child pages of a page?

    I’m using WordPress 2.7.1

Viewing 1 replies (of 1 total)
  • figured this one out, gotta use child_of as well. just pass in the same parameter… IMHO this isn’t correct functionality.

Viewing 1 replies (of 1 total)
  • The topic ‘The parameter parent in get_pages()’ is closed to new replies.