• i have few sub pages under the main page.
    i want a function like “is_page”, but even if its a sub page of the main page, it will return true.

    for example, the main page id is 1, and there are 2 sub pages – 2 and 3.

    function(1);
    that should return true cuz its a sub page of 1, even if its page 2 or 3.

    is there a function like that?

    thanks for helping.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘is_page function’ is closed to new replies.