How to check if page is a child page?
-
I need a quick solution to check if current page is child page or not. I need something like this:
if(is_child()){ do something }else{ do something else }
but there’s no is_child function
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to check if page is a child page?’ is closed to new replies.