Version 1.2.4
- Changed all landing page templates to use href="#" instead of incomplete URLs
- Added all required data attributes (country-code, url-slug, language-code, region-id)
- Updated JavaScript selector to match all template classes correctly
- Removed unnecessary $country_url variable from templates
This fixes the issue where hovering over country flags showed site.com/pt instead of the proper destination URL. The JavaScript now handles the complete redirect via AJAX, which includes the correct page path (e.g., site.com/pt/home/).
Templates updated:
- templates/landing-page-default.php (list view)
- templates/landing-page-grid.php (grid view)
- templates/landing-page-map.php (map view)