Food Truck Locator
Food Truck Locator

Food Truck Locator

Romain Rebotier

This plugin allows you to add your food truck locations in a simple way.
Just create some locations with the admin interface by positioning a marker on a map, add a location name and description and timetables (day of week, start time and end time).

Your customers will see a map with your week locations, and depending when they visit your website, the current location (pulsing marker) or next location will pop up on the map, showing immediately where you are now or next time.
They will be able to select a day they want to directly move the map to the right location of the chosen day.

Features
– Create locations of your food truck and add days of the week and hours you are in
– Map marker color customization
– Vacation mode: activate and set a message to inform your customers that you are on vacation (the map will be darkened and the message will be overlayed on the map)
– Map directly informs visitors where you are now, depending on the browser local time, or your next location
– Hide quickly a location or a day/time with a visible property

Maps are rendered with the Leaflet library.
Source code is available at https://github.com/Leaflet/Leaflet.

Translations
Currently English and French are supported.
Translators are welcome.

How to add my map?

Insert the following shortcode [foodtrucklocator]

The plugin is not in my native language

Do not hesitate to contribute to the translations by opening a issue here: https://github.com/Skuair/food-truck-locator-wp-plugin

Is it possible to change the map marker color and content?

You can change the color of the marker in the plugin settings.
The content popup is automatically generated with the location name, description and timetables.

How to report a bug or ask for a feature?

Bugs and feature requests can be reported to the GitHub repository: https://github.com/Skuair/food-truck-locator-wp-plugin
For support for using the plugin, use the WordPress plugin forum.

1.1.0

Added an option to show days in a menu on the map when there is a spot, these move the map to the location on click.
Fix for vacation mode rendering.

1.0.1

Fix for JS loading.

1.0

Initial version.

In your wp-admin page, just click on \”add new\” and search for \”Food Truck Locator\”.

Or manually,
– Upload the plugin to the \”/wp-content/plugins\” directory
– Activate the plugin through the \”Plugins\” menu in WordPress

In the wp-admin, a new menu will be visible \”Food Truck Locator\” where you can change settings and add locations.

To add your locations map in a page or a post, add the shortcode [foodtrucklocator].

Reviews

0 out of 5 stars

  • Version: 1.1.0
  • Last updated: 1 week ago
  • Active installations: 10
  • WordPress version: 6.3
  • Tested up to: 6.6.2
  • PHP version: 7.4