Hi All,
I’m new to WIX code (not a programmer) and need help on how to add code to my pages in order to change the image in a strip in the header so it changes based on the page url. I have a database named “headerStrip” that contains 2 fields - urlDescriptor and image. The urlDescriptor field has text with “degrees”, “university”, etc.
My dynamic page URLs contain /degrees/(name of degree) and /university/(name of university). What I want to happen is if a dynamic page opens that contains “degrees” in the url, it pulls in the degrees image from the headerStrip database. The pages with “university” in the url should pull in the university image from the headerStrip database. The header strip is connected to the image field of the headerStrip database as well.
Thanks so much in advance for your help!
Eric