if statement based on referrer
-
[ Moved to the Fixing WordPress sub-forum. ]
Very brain dead today. I want to change the format of a post based on where the visitor came from. I get visitors from ABC.COM and want them to see the post with different headers, pictures etc. I don’t need to change css code, it will be just html. Something like this.
If referrer contains string”ABC.COM”
html code for title, header image, etc
else
html code for alternate title, header image, etc.
endif
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘if statement based on referrer’ is closed to new replies.