• Trying to come up with a shortcode to embed a “focused” map of jobs within a 100 mile radius of a certain location. Would appreciate any help that might be available.

    Was hoping to just be able to use an already established tag. Example: [jobs gjm_use=”2″ gjm_jobs_map map_width=”100%” map_height=”700px” map_type=”ROADMAP” job-tag=”Atlanta”]

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Eyal Fitoussi

    (@ninjew)

    Hellow @tombickel,

    What you described is not supported by the plugin at the moment. At least not out of the box.

    There is a filter that you could use to modify the WP_Query arguments before the search query takes place. So you should be able to filter the locations on the map based on specific taxonomies/tags.

    This filer is:

    
    apply_filters( 'gjm_global_map_args', $query_args, $map_args );
    

    Then, to filter the map based on a specific radius ( proximity ), you might be able to use an additional filter of the plugin, but that would be a bit more complex.

    THis filter is:

    
    apply_filters( 'gjm_global_map_query_clauses', $clauses );
    

    Both filters can be found in wpjm-jobs-geolocation/includes/class-gjm-global-map.php.

    What you described should be possible, but does require development skills.

    I hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcode For Focused Map?’ is closed to new replies.