I need to do some basic if URL statement stuff but I know nothing about PHP. I've tried a few examples I've found online but they don't seem to work.
Note: this is for a wordpress blog if that makes a different.
I want a "PHP IF URL" statement to do the following:
If URL referrer = twitter.com then echo
"Follow us on <a href="twitter.com/example">Twitter</a>
If URL referrer = facebook.com then echo
"Follow us on <a href="facebook.com/example">Facebook</a>
If no url referrer or none of the above echo "Follow us on Nothing"