Results 1 to 2 of 2

Thread: Location Based Business Advertising

  1. #1
    Thread Starter
    bennieiv's Avatar
    Join Date
    Apr 2012
    Location
    Kansas City, MO
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts

    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!

  2. #2
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,098
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Category Based Advertising
    By mymammothlist in forum ClassiPress General Discussion
    Replies: 8
    Last Post: February 22nd, 2013, 01:39 AM
  2. Dimitris Location-Based Advertising(Multiple Cities)
    By leee in forum Report Vantage Bugs (Legacy)
    Replies: 2
    Last Post: February 11th, 2013, 01:34 PM
  3. Category Specific Business Advertising
    By tbase in forum Report JobRoller Bugs
    Replies: 6
    Last Post: January 17th, 2011, 06:13 AM
  4. ClassiPress vs Craiglist - The business of advertising
    By cloudybright in forum ClassiPress General Discussion
    Replies: 6
    Last Post: November 19th, 2010, 08:26 PM