Title: Shortcode For Focused Map?
Last modified: July 16, 2021

---

# Shortcode For Focused Map?

 *  [tombickel](https://wordpress.org/support/users/tombickel/)
 * (@tombickel)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/shortcode-for-focused-map/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-for-focused-map%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Eyal Fitoussi](https://wordpress.org/support/users/ninjew/)
 * (@ninjew)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/shortcode-for-focused-map/#post-14675582)
 * Hellow [@tombickel](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/geo-my-wp/assets/icon-256x256.gif?rev=2803407)
 * [GEO my WP](https://wordpress.org/plugins/geo-my-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/geo-my-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/geo-my-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/geo-my-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/geo-my-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/geo-my-wp/reviews/)

## Tags

 * [map](https://wordpress.org/support/topic-tag/map/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 1 reply
 * 2 participants
 * Last reply from: [Eyal Fitoussi](https://wordpress.org/support/users/ninjew/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/shortcode-for-focused-map/#post-14675582)
 * Status: not resolved