Wordpress custom solution

Job ID: 30689525

Budget: $10 – $30 USD

Display some content parts different if referal is from predefined list.

$referals_array = array("website.com", "website2.com");

if( $_SERVER["HTTP_REFERER"] in_array($referals_array)
{ print "static defined content"}
else
{ print "default content"}
Related categories: PHP WordPress CSS HTML