Results 1 to 1 of 1

Thread: Utilizing Geo Coding in Custom Modifications

  1. #1
    Thread Starter
    Expired Customer pdbennett's Avatar
    Join Date
    Apr 2015
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Utilizing Geo Coding in Custom Modifications

    We are running Vantage with a child theme for functionality modifications. One modification we have running utilizes a custom post type with functions added in our functions.php file to support a shortcode we are adding to the advertising widgets. The custom post type stores banners associated with listings and the functions display the rotating (upon page load) banners in each of the advertising areas. We would like to be able to add a geo-code check, like the one used to display the listings, in order to only display banners associated with the listings within the geo location. I hope that makes sense. Here is our question:

    Is there an existing function we can use/call within Vantage that will return a true or false if an address exists within the location radius? Our modifications already pull in the listing post associated with the banner and we would like to add an additional test to determine if it is within the location radius before displaying the banner.

    Thank you for any help you can provide!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help with coding
    By jtboats in forum ClassiPress General Discussion
    Replies: 1
    Last Post: September 27th, 2014, 05:30 PM
  2. [SOLVED] If else PHP coding
    By patrickcrielaard in forum ClassiPress General Discussion
    Replies: 3
    Last Post: May 7th, 2013, 06:23 AM