All Collections
GeoBooster
Geobooster WordPress
Displaying GeoBooster moments on the WP side
Displaying GeoBooster moments on the WP side

How to add GeoBooster moments to your WordPress site

G
Written by Gen Cutajar
Updated over a week ago

When you are done with the 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 WP 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?