{"id":15435106,"url":"https://github.com/lloc/mslsselect","last_synced_at":"2026-01-24T02:02:14.195Z","repository":{"id":22918258,"uuid":"26267133","full_name":"lloc/MslsSelect","owner":"lloc","description":"WordPress Plugin: Transforms the output of the Multisite Language Switcher to an HTML select","archived":false,"fork":false,"pushed_at":"2024-10-12T09:54:33.000Z","size":56,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-18T09:14:00.750Z","etag":null,"topics":["addon","hacktoberfest","javascript","multisite-language-switcher","php","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lloc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-11-06T11:30:32.000Z","updated_at":"2024-10-12T09:54:37.000Z","dependencies_parsed_at":"2023-11-27T17:27:24.651Z","dependency_job_id":"8a5e2116-f0d7-4e72-b611-25f471dd5a76","html_url":"https://github.com/lloc/MslsSelect","commit_stats":{"total_commits":42,"total_committers":2,"mean_commits":21.0,"dds":0.0714285714285714,"last_synced_commit":"9c36d1a62916a8bf43b387aa47229b2088c2b9de"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lloc%2FMslsSelect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lloc%2FMslsSelect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lloc%2FMslsSelect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lloc%2FMslsSelect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lloc","download_url":"https://codeload.github.com/lloc/MslsSelect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249759729,"owners_count":21321790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["addon","hacktoberfest","javascript","multisite-language-switcher","php","wordpress"],"created_at":"2024-10-01T18:42:32.787Z","updated_at":"2026-01-24T02:02:14.190Z","avatar_url":"https://github.com/lloc.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"MslsSelect\n========\n\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/lloc/MslsSelect/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/lloc/MslsSelect/?branch=master)\n[![codecov](https://codecov.io/gh/lloc/MslsSelect/graph/badge.svg?token=W1CM7ZXXWM)](https://codecov.io/gh/lloc/MslsSelect)\n\nTransforms the output of the Multisite Language Switcher to an HTML select\n\n## Requirements\n- WordPress 5.6 or higher running in multisite mode.\n- [Multisite Language Switcher](https://wordpress.org/plugins/multisite-language-switcher/) plugin (MslsSelect replaces its default list output).\n- PHP 7.4+ to match the plugin minimum.\n\n## Installation\n1. Install via the WordPress admin: go to `Plugins → Add New`, search for **MslsSelect**, and click *Install Now*.\n2. Or install manually by uploading the latest `mslsselect.zip` to `wp-content/plugins`.\n3. Activate **MslsSelect** network-wide (or on selected sites); the frontend hooks load automatically.\n\n## Usage\n- Wherever Multisite Language Switcher renders its language list (widget, block, or `the_msls()` template tag), MslsSelect swaps the markup for a `\u003cselect\u003e` element and auto-redirects after selection.\n- The generated `\u003cselect\u003e` uses the `msls_languages` class; target it in your theme for styling, e.g.:\n\n  ```css\n  .msls_languages { max-width: 220px; }\n  ```\n- No additional configuration is required. The plugin ensures the current site stays in the list by updating the `msls` option when needed.\n\n## Troubleshooting\n- If you still see a list instead of a dropdown, confirm the Multisite Language Switcher plugin is active and outputting links on that template.\n- Clear page caches or CDN layers after activation so the new markup and JavaScript load correctly.\n- Check the browser console for JavaScript errors; the minified file is enqueued as `mslsselect` if you need to debug or dequeue it temporarily.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flloc%2Fmslsselect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flloc%2Fmslsselect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flloc%2Fmslsselect/lists"}