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 |
|---|---|---|---|---|
| 4 | 157 | 6 days ago | ||
| 2 | 136 | 1 week ago | ||
| 5 | 369 | 2 weeks ago | ||
| 5 | 559 | 2 weeks ago | ||
| 6 | 347 | 3 weeks ago |