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 | 501 | 7 days ago | ||
| 2 | 115 | 1 week ago | ||
| 4 | 435 | 2 weeks ago | ||
| 4 | 380 | 3 weeks ago | ||
| 9 | 490 | 4 weeks ago |