Loading...

Shortcodes

Mapster comes packed with some basic shortcodes.

mapster_wp_map

This is the general map shortcode. It loads any map that you create in Mapster, with a few options:

  • id (the map ID)
  • zoom level overriding map settings
  • latitude and longitude overriding map settings
  • single_feature_id to display just one feature instead of a whole map

mapster_wp_map_search

Search for posts that can be edited (part of the User Submission feature).

mapster_listing_posts

Create a listing map.


There are also a number of built-in blocks that work with Gutenberg so you can easily select any map you created.