Booking Engine Addon
Installation Guide
Step 1: Install the Plugin
- Log in to your WordPress admin dashboard
- Navigate to Plugins > Add New
- Click the Upload Plugin button at the top of the page
- Click Choose File and select the
camping-search-form.zip
file - Click Install Now
- After installation completes, click Activate Plugin
Step 2: Use the Shortcode
Add the shortcode [camping_search_form]
to any page or post where you want the search form to appear.
Translation with WPML
Step 1: Scan for Translatable Strings
- Go to WPML > Theme and Plugin Localization
- Navigate to the Strings in the plugins tab
- Find and check the box next to Booking Engine Addon
- Click Scan selected plugins for strings
- Wait for the scan to complete
Step 2: Translate the Strings
- Go to WPML > String Translation
- You can find the strings by:
- Looking at the most recently added strings (they’ll be at the top)
- Using the search box to find specific strings (e.g., “Double room”, “Bell Tents”, etc.)
- Filtering by domain: select “camping-search-form” from the dropdown
- For each string you want to translate:
- Click the + button next to the string
- Enter your translation in the text field that appears
- Click Save
Step 3: Translate Form Labels
Make sure to translate all parts of the form:
- Check-in/Άφιξη
- Check-out/Αναχώρηση
- Adults/Ενήλικες
- Children/Παιδιά
- Accommodation type/Τύπος διαμονής
- Search/ΑΝΑΖΗΤΗΣΗ
- All accommodation options:
- Bungalows
- Bell Tents
- 1 Tent for 4/5 people
- 2 Tents for 4 people
- etc.
Step 4: Verify Translations
- Switch your website to the translated language
- Go to a page where you’ve added the shortcode
- Verify that all text appears in the translated language
Customization Options
Shortcode Parameters
The plugin supports several optional parameters:
[camping_search_form
search_results_url="https://example.campsaround.com/search-results/"
adults_max="16"
children_max="15"
date_format="dd/mm/yy"
first_day="1"
]
- search_results_url: Where to send search results (default: simos.campsaround.com)
- adults_max: Maximum number of adults in dropdown (default: 16)
- children_max: Maximum number of children in dropdown (default: 15)
- date_format: Format for the date picker (default: dd/mm/yy)
- first_day: First day of week in calendar (0 = Sunday, 1 = Monday, default: 1)
Troubleshooting
Missing Translations
If some strings are not appearing for translation:
- Make sure you’ve scanned the plugin for strings
- Check that you’re viewing all strings (not just untranslated)
- Try searching for the specific text
- If still missing, try rescanning the plugin or clearing WPML’s cache
Form Styling Issues
If the form doesn’t match your theme’s style:
- You can modify the CSS in
css/style.css
within the plugin folder - Alternatively, add custom CSS through your theme’s customizer
Date Picker Language Issues
If the date picker calendar is not in the correct language:
- Ensure WPML is set up correctly with the language you want
- Check that your WordPress locale is correctly set
- Try clearing your browser cache
Support
For additional support, please contact:
- Author: Kyriakos Tsigkros
- Website: https://campsaround.com/