• Resolved tomasi514

    (@tomasi514)


    I am using parents and parents of parents, etc. on my website.
    How can I get the top parent of a page? (this page could be child or gran child, gran grand child, etc.)
    Is this possible?
    I know post_parent exists but I do not know what I can do with it here.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to get top parent (id or name?)’ is closed to new replies.