Hi there,
Does someone know what kind of if-statement I need to write to check if the current page is a child page?
Hi there,
Does someone know what kind of if-statement I need to write to check if the current page is a child page?
You could check by if page.parent() != false
.