Skip to content

Version 1.2.4

Choose a tag to compare

@JRG-code JRG-code released this 21 Dec 12:26
· 39 commits to main since this release
aa7bab7
  • 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)