Skip to main content
All CollectionsGeoBoosterWordPress Geobooster
GeoBooster WordPress shortcode options
GeoBooster WordPress shortcode options

Quick start guide on rendering GeoBooster moments on a WordPress website.

B
Written by Bret
Updated over 2 years ago

Displaying GeoBooster moments on the WP side

When you are done with the WordPress plugin setup, you have only one step to go: add moments to the WordPress page, so your customers will be able to see them.

Open the page in the editor and add the “shortcode” block. The GeoBooster WordPress plugin provides two ways of displaying moments: a list of moments with mini-maps, indicating the place where the moment has been created, and a list of moments with a big map above. Use [geo_booster_mini_maps] for the first one and [geo_booster_pins_on_map] for the second one.

By default, both shortcodes display all moments existing in the database. You can filter them by specifying extra options for shortcodes.

List of shortcode options

  • business. Single value option. Specify it, if you want to display moments for a specific business. Values - “slugs” from the WordPress Admin Dashboard ->Moments->Businesses page. Example: [geo_booster_pins_on_map business="testing-location"]

  • categories. Multi-value option. Specify it, if you want to display moments from specific categories. Values - “slugs” from the WordPress Admin Dashboard ->Moments->Categories page. Values are comma separated.
    Example: [geo_booster_pins_on_map categories="geobooster, gmb-management"]

  • country. Single value option. Specify it, if you want to display moments created in a specific country. Values - ISO codes for countries. Example: [geo_booster_pins_on_map country="US"]

  • state. Multi-value option. Specify it, if you want to display moments created in specific states. Values - abbreviations for states. Values are comma separated.
    Example: [geo_booster_pins_on_map state="TX, CA"]

  • city. Multi-value option. Specify it, if you want to display moments created in specific cities. Values - City names. Values are comma separated.
    Example: [geo_booster_pins_on_map city="Richmond, Dallas"]

You can combine several options for fine filtering your moments.

Example: [geo_booster_pins_on_map business="your-awesome-business" country="US" categories="plumbing, roofing" state="TX, CA, VA" city="Dallas, Richmond"]

Did this answer your question?