plugin-icon

Multi Device Switcher

投稿者: thingsym·
Multi Device Switcher プラグインを使用すると、デバイス (スマートフォン、タブレットPC、携帯電話、ゲームやカスタム) ごとに個別のテーマを設定できます。
評価機能
4.3
バージョン
1.8.6
有効インストール数
20K
最終更新日時
Jan 17, 2025

Multi Device Switcher プラグインを使用すると、デバイス (スマートフォン、タブレットPC、携帯電話、ゲームやカスタム) ごとに個別のテーマを設定できます。 このプラグインはサイトがどの UserAgent で表示されているかを検出し、選択したテーマに切り替えます。 カスタムスイッチャーはすべての端末を追加できます。

機能

  • Set a separate theme for device (Smart Phone, Tablet PC, Mobile Phone, Game), switches to selected theme.
  • Add every device by the Custom Switcher.
  • Add links ‘Mobile’ or ‘PC’ in the theme by the PC Switcher, switch to the default theme.
  • Switch the content of the post or page for each device by the Display Switcher Shortcode.
  • Disable the switching of the theme for each url by the Disable Switcher.
  • Can be using is_multi_device() function that detect of the device.
  • Multi Device Switcher Command command-line tool (required WP-CLI)

Support

If you have any trouble, you can use the forums or report bugs.

Contribution

Small patches and bug reports can be submitted a issue tracker in Github. Forking on Github is another good way. You can send a pull request.

Translating a plugin takes a lot of time, effort, and patience. I really appreciate the hard work from these contributors.

言語パックを作成または更新した場合は、作成者へ gettext PO ファイルと MO ファイルを送信してください。プラグインに同梱します。

You can also contribute by answering issues on the forums.

Patches and Bug Fixes

Forking on Github is another good way. You can send a pull request.

  1. Fork Multi Device Switcher from GitHub repository
  2. Create a feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am ‘Add some feature’
  4. Push to the branch: git push origin my-new-feature
  5. Create new Pull Request

Contribute guidlines

If you would like to contribute, here are some notes and guidlines.

  • All development happens on the develop branch, so it is always the most up-to-date
  • The master branch only contains tagged releases
  • If you are going to be submitting a pull request, please submit your pull request to the develop branch
  • See about forking and pull requests

テストマトリクス

PHP版とWordPress版の互換性については、Travis CIを確認してください。

Known bugs

WordPress Core version 6.4 – 6.4.1

  • Theme doesn’t switch properly
  • Bug report: https://core.trac.wordpress.org/ticket/59847
  • It seems to have been caused by a change (breaking change) at https://core.trac.wordpress.org/changeset/56635. The bug is fixed in https://core.trac.wordpress.org/changeset/57129 (fixed in WordPress 6.4.2)
無料Business プランを利用中
インストールすることで、WordPress.com の利用規約サードパーティプラグイン利用規約に同意したことになります。
最大テスト回数
WordPress 6.7.4
このプラグインをダウンロードして、 サイトに使用できます。