Mô tả
Mapoza Click-to-Load for Google Maps lets you embed Google Maps in a privacy-friendly and performance-friendly way.
Instead of loading the Google Maps iframe immediately, the plugin shows a placeholder and button first. The map is only loaded after the visitor clicks.
Features:
* Shortcode-based map embedding
* Loads Google Maps iframe embeds on click
* Default settings for height, button text, and privacy message
* Translation-ready
* Lightweight and easy to use
Example shortcode:
[mapoza_ctlgm_google_map embed_url=”https://www.google.com/maps/embed?pb=…” height=”450px” button_text=”Load map”]
Cài đặt
- Upload the plugin files to the
/wp-content/plugins/mapoza-click-to-load-for-google-mapsdirectory, or install the plugin through the WordPress plugins screen. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Go to Settings > Click to Load Maps to configure defaults.
- Add the shortcode to a page or post.
Hỏi đáp
-
What kind of URLs are supported?
-
This plugin supports Google Maps embed URLs copied from Google Maps via Share > Embed a map.
-
Does this plugin use the Google Maps JavaScript API?
-
No. Version 1.0.0 supports iframe embeds only.
-
Can I style the output?
-
Yes. You can pass an extra class via the shortcode
classattribute and target it in your own CSS.
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
“Mapoza Click-to-Load for Google Maps” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Mapoza Click-to-Load for Google Maps” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
1.0.1
- Improved default button text and privacy message
- Minor UI and UX improvements
- Updated plugin assets and listing presentation
1.0.0
- Initial release



