Detect user from Yahoo!

Give a special greeting to Yahoo! users who found your WordPress site through Yahoo! search. Place this snippet where you want the message to appear.

Code Snippet:

<?php 
if (strpos($_SERVER&#91;HTTP_REFERER&#93;, "yahoo") ) {
    echo "Hello Yahoo! User!";
} 
?>

Posted in Social