[job_post_map]
The [job_post_map] shortcode embeds a Google Map showing the job’s location. This is only available on individual job post pages.
- Go to RecMan Jobs > Settings in your WordPress admin
- Find the Individual job post page section
- Enter your Google Maps API Key in the field provided
Shortcode
Section titled “Shortcode”[job_post_map]With custom dimensions:
[job_post_map width="600" height="400"]Template Function
Section titled “Template Function”<?php echo job_post_map(); ?>With custom dimensions:
<?php echo job_post_map(600, 400); ?>Parameters
Section titled “Parameters”| Parameter | Description | Default |
|---|---|---|
width | Map width in pixels | Auto |
height | Map height in pixels | Auto |
The map renders as an embedded iframe using the job’s location data.
Obtaining a Google Maps API Key
Section titled “Obtaining a Google Maps API Key”- Open the Google Developers Console
- Choose Create a Project from the dropdown
- Click Continue and wait a few seconds
- Click the API key link under “Add credentials to your project”
- Name it (e.g., “RecMan WP key”) and restrict access to your domain