The General Settings section in WpRentals allows you to configure important default settings for your website.
These settings cover country selection, measurement units, date pickers, orphan listing management, caching, and Google Analytics integration.
Here you have the following options
- Default Country
- Measurement Unit
- Language for datepicker
- Delete orphan listings
- Enable / Disable Theme Cache
- Google Analytics Tracking id
Default country
Select the default country for your website. This setting determines the initial country displayed in submission form when NOT using Google Places or Open Street Places.
Select Country in submit form
SET NO to the option “Use Google Places autocomplete for Search?” from > Theme options > Advanced search settings.
2. Default Measurement Unit
Choose the measurement unit to be used throughout your website, particularly for property sizes and related metrics.
- Default: Square meters (m²)
- Options: You can select other units such as square feet (ft²), depending on your region or preference.
These will apply to Property Size , one of the theme default fields for listings.
Language for datepicker in Calendar
Select the language for the datepicker used in the booking form and for searching by date. This will ensure that the datepicker is presented in the appropriate language for your audience.
Separate note – the language for the Availability Calendar from the listing page is set from WordPress admin > Settings > Languages.
When the day of the week starts in managed from WordPress settings
Auto delete orphan listings
This setting controls whether listings that users start but do not complete are automatically deleted. This feature helps to maintain a clean database by removing incomplete listings after a certain period.
- Default: Yes
- Options:
- Yes: Orphan listings are deleted by the cron job that runs once per day.
- No: Orphan listings are not deleted.
Disable Theme Cache
The theme cache helps improve the performance of your site by caching heavy database queries. This setting allows you to disable the theme cache when the site is in Production.
It is recommended to use this feature in conjunction with caching plugins like WP Rocket for best performance.
- Default: Yes
- Options:
- Yes: Disable theme cache (useful for development or debugging).
- No: Keep theme cache on for production sites to enhance performance.
Google Analytics Tracking ID
Description:
Add your Google Analytics Tracking ID to monitor your site’s performance, track user behavior, and gather analytics data. This ID can be obtained from your Google Analytics account.
- Example Format: UA-41924406-1
- Options: Enter your specific Google Analytics Tracking ID in this field to enable tracking on your site.
Help to get your ID –https://support.google.com/analytics/answer/1032385?hl=en