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 |
|---|---|---|---|---|
| 8 | 228 | 10 hours ago | ||
| 8 | 667 | 1 day ago | ||
| 1 | 98 | 1 day ago | ||
| 3 | 160 | 3 days ago | ||
| 2 | 106 | 6 days ago |