Google or Open Street Maps

Google Map Street View

Street view images come automatically from Google server based on the lat and long values of the property and IF the checkbox for Open Street map is ENABLED. The options works only with Google Maps Read more here http://help.wpresidence.net/article/map-type-open-street-or-google-maps/ How to check property lat and long values in admin Use the yellow Man icon from […]

Map type: Open Street or Google Maps

CONTENT Open street map Google map WP Residence provides two types of maps. You can choose between Open Street Map and Google Map.   Open Street Map For open street map option you don’t need api but you can use MapBox API for tile server. If don’t add API for MapBox we will use the default open street […]

Map with Property Marker Shortcode

Demo page: https://wpresidence.net/google-map-with-property-marker/ Add shortcode with WPBakery Page Builder Add shortcode block in Gutenberg editor Add shortcode from the classic editor with WPBakery Page Builder Add through Visual Composer   Add shortcode block in Gutenberg editor Wp Residence is WordPress 5.0 ready and fully Gutenberg Ready! Wp Residence 1.50.1 – Includes WpResidence Gutenberg Blocks for clients who wish […]

Wp Residence Cache. How to improve my website speed. My website is too slow. How many properties can I have.

To use WPResidence, you must be running WordPress 4.4 or higher and PHP5.6 or higher. PHP influences your site speed. For tests, we don’t recommend to use PageSpeed Insights as testing tool. Please read more here https://wp-rocket.me/blog/the-truth-about-google-pagespeed-insights/ We have a dedicated server and a demo with 2500 properties here http://demo3.wpresidence.net/ with an average of 4 sec loading […]

Mandatory: Add Google API Key

Google Maps requires you add your own API key before you start using it. To create an API KEY, starting June 2018, you must have your billing account set too. The use of Google Maps API is free and paid services are free within $200/month limit. More here https://cloud.google.com/maps-platform/pricing/sheet/ https://mapsplatform.googleblog.com/2018/05/introducing-google-maps-platform.html?utm_source=em-anncmt&utm_medium=em&utm_campaign=fy18-q2-global-adhoc-email-cs-maps_none_maps_spicestandardplannobilling&utm_content=global%7Cen%7Chybr%7C%7C%7C%7C%7C%7C In order for your API […]

How to set the location of a property on the map

If the pin is not placed on the map for a property, the map will show a default location in the center of global maps, which means 0 lat and 0 long coordinates. Pin can be placed in 4 ways: With Google Places Enabled – automatically based on property location 1. Enable Autocomplete in Front […]

Center map pin

The information we add into infoboxes are “attached” tot the actual marker (pin) when we create it. This happen in mapfunctions.js file via function createMarker() To center pin in map must remove map.panBy from all highlighted places as displayed in below screenshot, but this will apply for all locations of the map / infobox. Explanations when you […]

My Location / Geolocation button

Geolocation and SSL Google API changed the rules in June 2016. Staring this date the geolocation from Google will work only over https sites. For that reason starting version 1.16 WP Residence uses as source for geolocation info over http the with http://ipinfo.io/ API, and for https sites Google Maps Geolocation API. For clients who […]

How to remove Google Maps header from mobile devices only

Go into header_media.php and you have there in 2 places get_template_part(‘templates/google_maps_base’); replace that with if ( !wp_is_mobile() ) { get_template_part(‘templates/google_maps_base’); } Please note that some css adjustments may be required after this change For half map go in templates\half_map_core.php  and make the same change in one place.

Google Maps is not loading – what settings to check

When google maps are not loading, check the following: If you are on half map – make sure header of the page is google maps. Or set just for the page you create, if it’s with the Properties List Half Map template Or if you use SSL – enable SSL for google maps from theme […]

Map Theme Settings – Pin Management

CONTENT Price pin Single Pin Custom Pin Retina Pin How to select Price Pins You can choose to use full price or the small version. For full price,  the after and the before price labels will be displayed as well.   This is how the pins will show with Full price set to NO This […]

How to find latitude and longitude. How to set Google Maps coordinates.

To find out Latitude and Longitude for Google Maps, starting point go to Google Maps, find your location, click right on the location on the map and click “What’s here”. Coordinates will show in the search bar on top. Global Header Add the default location for Google Maps set as Global Header – http://help.wpresidence.net/article/global-header-options/ If you […]

How to Generate Pins Hourly

Hi In events.php around line 56 you have if( !function_exists(‘setup_wpestate_cron_generate_pins_daily’) ): function setup_wpestate_cron_generate_pins_daily() { if ( ! wp_next_scheduled( ‘prefix_wpestate_cron_generate_pins_daily’ ) ) { wp_schedule_event( time(), ‘daily’, ‘prefix_wpestate_cron_generate_pins_daily’); } } endif; Change to daily to hourly wp_schedule_event( time(), ‘hourly’); Then make sure reset cron has happened and it’s showing hourly on server too. Another way to do […]

Google Maps: Why pins don’t show / not working on the map?

Please check if you have one of these situations: Cache is on You enabled caching for google maps in theme options – google maps settings and you need to wait 3 hours to see pin Read from file is enabled You enabled read from file yes (google maps readings) and you must wait 24 hours […]

Google Maps Settings: How read from file works

Read from file for Google Maps pins is a feature that helps improve site speed for more than 200 properties on the map. Video: How it applies: These are general guidelines for how Read from file works: If Read from Map is enabled – and you have a page with header as google page (and this page is a default […]

Message Google Maps Settings: the file does NOT exist or is NOT writable

Situation 1: If you use a multi-language plugin, you must make sure pins.txt name is re-named according to below instructions. 2. Go via FTP to wpcontent/themes/wpresidence/pins.txt 3. Rename pins.txt to pins-en.txt for English 4. Create new pins.txt files for each language you have. Like pins-de.txt (German) where de is replaced with language code, and so […]

Theme Options – Map Settings

From Theme Options – Map – Map Settings you manage the following options: Map system WP Residence provides two types of maps. You can choose between Open Street Map and Google Map. Help:  http://help.wpresidence.net/article/map-type-open-street-or-google-maps/ Enable/disable read from file option If you enable Read from file option, the following applies: a. Pins.txt file inside theme folder must have […]