Results 1 to 1 of 1

Thread: Get geo position of ads

  1. #1
    Thread Starter
    vzaugg's Avatar
    Join Date
    Apr 2013
    Posts
    24
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Get geo position of ads

    Hello,

    I'm trying to query all adds and display it on a custom google map.

    I using wp_query:
    $args = array(
    'post_type' => 'ad_listing',
    );
    ... i get all adds it'ok but i need the geo LAT and LONG to place it on my map.

    $locationLat = ...
    $locationLong = ...

    I saw this but i dont know how to make it works:

    cp_get_geocode( $post_id, $cat = '' )

    or

    appthemes_get_coordinates( $post_id, $fallback_to_zero = true )


    Can somebody helps?
    Best

    V.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Icon Position
    By liquidaexpress in forum ClassiPress Verified User
    Replies: 10
    Last Post: October 26th, 2018, 07:36 AM
  2. Display Position....
    By aj2703 in forum Go Fetch Jobs
    Replies: 1
    Last Post: January 2nd, 2017, 06:25 AM
  3. Position of link
    By jasonh1982 in forum ClassiPress Ad Social
    Replies: 1
    Last Post: June 28th, 2015, 01:13 PM
  4. [SOLVED] Ribbons position ...
    By mrgipo in forum Ribbons
    Replies: 5
    Last Post: February 14th, 2015, 04:10 PM
  5. Jomark Searchbox position
    By kaniut in forum JobRoller General Discussion
    Replies: 1
    Last Post: May 31st, 2013, 11:34 AM