php – if contains “example” in url?
-
Hello,
I am having a little spot of bother with my navigation.
I am new to php and wordpress. Is there a way in php to say……
if a url contains "/members/" show "members-navigation"
The urls are not static as they will change depending on the name of the post etc, but they all have /members/ as the first part of the url after the domain name.
Any help would be much appreciated. Thanks in advance for your time.
Adam.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘php – if contains “example” in url?’ is closed to new replies.