• Resolved joshrodgers

    (@joshrodgers)


    I have a parent page and some child pages – example: my parent page is “people” and my child pages are “billy”, “tom”, and “phil”. I am looking for a conditional statement that I can write so if we’re on page “tom” and only on page “tom” do “something”, if not do “something else”.

    I thought this would work: https://pastebin.com/DSMhPi0f

    But this code displays “something” on all child pages, not just on child page “tom”.

    Any ideas?
    Thanks,
    Josh

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Child Page Conditional’ is closed to new replies.