Location Based Business Advertising
I would like to do something similar to this post below but I would like to display ads for businesses based on the location the user is searching listings.
http://forums.appthemes.com/category...ertising-8833/
Consider I have the Statify plugin. When a user is looking at listings in New York I would like to show ad banners for the businesses in New York, and so on.
Something like...
<?php if( LOCATION ("NEW YORK"): ?>
insert NEW YORK ad campaign here
<?php elseif( LOCATION ("TEXAS"): ?>
insert TEXAS ad here
<?php else: ?>
insert default ad code here
<?php endif; ?>
Not sure the exact variable to call and how to go about it. Any help is greatly appreciated!