Changeset 2937465
- Timestamp:
- 07/12/2023 07:50:27 AM (3 years ago)
- Location:
- immotoolbox-connect/trunk
- Files:
-
- 4 edited
-
immotoolbox-connect.php (modified) (2 diffs)
-
public/ITBConnectPublic.php (modified) (1 diff)
-
readme.md (modified) (2 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
immotoolbox-connect/trunk/immotoolbox-connect.php
r2930754 r2937465 4 4 Plugin URI: https://www.immotoolbox.com/ 5 5 Description: Displays ImmoToolBox real estate listings in your website 6 Version: 1.3. 06 Version: 1.3.1 7 7 Author: ZebraSoft Monaco 8 8 Author URI: https://www.zebrasoft.mc … … 24 24 along with ImmoToolBox Connect. If not, see https://www.gnu.org/licenses/gpl.html. 25 25 */ 26 define('ITBCONNECT_VERSION', '1.3. 0');26 define('ITBCONNECT_VERSION', '1.3.1'); 27 27 28 28 /** -
immotoolbox-connect/trunk/public/ITBConnectPublic.php
r2930754 r2937465 298 298 foreach ($properties['list'] as $property) { 299 299 $property = $this->format_property($property, get_locale()); 300 $slug = trim( sanitize_title($property['type_property'] . '-' . $property['label_num_rooms'] . '-' . $property['country_name']), '-');301 $property['url'] = $url = rtrim(get_page_link($args['property_page_id']), '/').'/'.$property['id'].'-'.$slug.'/';302 $property['image'] = $img = $property['images'][0]['url'];303 300 $data_view['properties'][] = $property; 304 301 } -
immotoolbox-connect/trunk/readme.md
r2930760 r2937465 6 6 Tested up to: 6.2 7 7 Requires PHP: 5.9 8 Stable tag: 1.3. 08 Stable tag: 1.3.1 9 9 License: GPL3 10 10 License URI: https://www.gnu.org/licenses/gpl.html … … 37 37 * Handle PHP versions up to 8.2 38 38 * New filter option for properties with price on request 39 * Fix carousel links 39 40 40 41 = 1.2 = -
immotoolbox-connect/trunk/readme.txt
r2930760 r2937465 6 6 Tested up to: 6.2 7 7 Requires PHP: 5.9 8 Stable tag: 1.3. 08 Stable tag: 1.3.1 9 9 License: GPL3 10 10 License URI: https://www.gnu.org/licenses/gpl.html … … 37 37 * Handle PHP versions up to 8.2 38 38 * New filter option for properties with price on request 39 * Fix carousel links 39 40 40 41 = 1.2 = … … 120 121 **Multi-lingual website** 121 122 If your website is multi-lingual, for each language (except WordPress main language) you have to add the parameters : 122 - property_page_id : the ID of the "Property details page" in the right language (you have to create this page)123 - selection_page_id : the ID of the "Visitor selection page" in the right language (you have to create this page)123 - property_page_id : the ID of the "Property details page" in the right language (you have to create this page) 124 - selection_page_id : the ID of the "Visitor selection page" in the right language (you have to create this page) 124 125 125 126 ex: `[itb_listing type="rental" country="US" property_page_id="123" selection_page_id="456"]` … … 168 169 By default the plugin will search for the files inside your theme directory (to avoid problems it's highly recommended to use a child theme) 169 170 The files must be located in the directory : 170 `/wp-content/themes/YOU-THEME-child/itb-connect/partials/`171 `/wp-content/themes/YOU-THEME-child/itb-connect/partials/`
Note: See TracChangeset
for help on using the changeset viewer.