EffortLess Multisite Language Switcher

Changelog

1.1.1

  • Fix an error with svn

1.1.0

  • Refactored: Split monolithic ELMLS_Plugin class into separate focused classes (Flag_Resolver, Site_Data, Frontend, Admin)
  • Improved maintainability with dependency injection pattern
  • No functional changes — all existing features and hooks preserved

1.0.36

  • Fixed missing world.svg fallback to use us.svg instead

1.0.35

  • Fixed empty locale default to en_US for English sites

1.0.34

  • Fixed flag menu position: top positions show below, bottom positions show above
  • Simplified JavaScript (removed auto-positioning that caused issues)
  • Flags menu now centered horizontally

1.0.33

  • Auto-position flag menu based on available space (shows up if more space above, down if more space below)

1.0.32

  • Added custom position option (X/Y coordinates) in settings page
  • Added JavaScript toggle for custom position fields

1.0.31

  • Added custom flag mapping setting in network admin
  • Added shortcode [elmls_switcher] with position parameter
  • Fixed shortcode assets loading

1.0.30

  • Added filters for extensibility: elmls_flag_mapping, elmls_switcher_position, elmls_sites
  • Added duplicate elmls_switcher_position filter fix

1.0.29

  • Performance: Added object caching support for flag mapping
  • Performance: Reduced database queries by batch-fetching site locales using get_blog_details()
  • Performance: Added versioned transient keys to auto-invalidate cache on plugin updates
  • Performance: Optimized settings page with batch fetching

1.0.28

  • Added missing Estonian locale (et) mapping
  • Fixed en_GB flag (was uk, now gb)
  • Fixed sq_XK and sr_XK flags (was ko, now xk)

1.0.27

  • Fixed Vietnam flag not showing

1.0.26

  • Fixed Latvia flag not showing

1.0.25

  • Fixed JavaScript click handling to allow natural link navigation.
  • Removed unnecessary event handlers that were preventing flag clicks.
  • Improved outside-click detection for better menu behavior.
  • Enhanced cache-busting with version update.

1.0.24

  • Added intelligent page/post matching across language sites by slug.
  • Plugin now automatically switches to equivalent pages with matching slugs on target sites.
  • Falls back to site homepage if equivalent page doesn’t exist.
  • Improved URL handling for better cross-site navigation.
  • Enhanced user experience with seamless language switching on specific pages.

1.0.23

  • Refined CSS integration to ensure flag menu appears below the switcher for top positions and above for bottom positions, aligning with style.css.

1.0.22

  • Improved CSS for flag menu positioning with explicit z-index and spacing; fixed JavaScript typo in timeout clearing.

1.0.21

  • Updated JavaScript to ensure flag menu positioning compatibility (below for top positions, above for bottom positions).

1.0.20

  • Flag menu now appears below the language switcher for top positions and above for bottom positions.

1.0.19

  • Adjusted top positioning of language switcher (top-left, top-right) to be further from the top edge for better spacing.

1.0.18

  • Added option to select language switcher position (top-left, top-right, bottom-left, bottom-right) via network admin settings.

1.0.17

  • Added option to hide the language switcher on all sites via network admin settings.

1.0.16

  • Settings only available on multisite admin dashboard.

1.0.15

  • Added checkbox to choose visible languages.

1.0.14

  • Fixed PHPCS errors: Renamed file to class-elmls-plugin.php, added @package tag.
  • Conditionalized error_log calls to reduce debug log clutter.
  • Justified file_get_contents for local file usage.

1.0.13

  • Fixed PHPCS errors: Added docblocks, renamed file to class-elmls-plugin.php, removed short ternaries, and conditionalized debug logs.
  • Improved code compliance with WordPress coding standards.
  • Optimized flag rendering with explicit logic.

1.0.12

  • Optimized performance: Added transient caching for flag URLs and site queries.
  • Improved flag rendering speed by simplifying image handling.
  • Fixed debug log clutter by conditionalizing error_log calls with WP_DEBUG.
  • Enhanced JavaScript for faster UI initialization.

1.0.11

  • Fixed issue showing duplicate flags.

0.3.0

  • Initial public release.
  • Added JSON-based flag mapping.
  • Implemented transient caching for site listing.
  • Included floating icon rendering logic.

Plugin Website
Visit website

Author
domclic
Version:
1.1.1
Last Updated
February 17, 2026
Requires
WordPress 5.5
Tested Up To
WordPress 6.9.1
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.