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 |
|---|---|---|---|---|
| 1 | 17 | 1 hour ago | ||
| 3 | 101 | 10 hours ago | ||
| 2 | 99 | 1 day ago | ||
| 1 | 66 | 1 day ago | ||
| 2 | 101 | 6 days ago |