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.
Log in to reply.
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 19 | 487 | 6 days ago | ||
| 2 | 104 | 7 days ago | ||
| 4 | 426 | 1 week ago | ||
| 4 | 377 | 3 weeks ago | ||
| 9 | 484 | 4 weeks ago |