Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/matsurai25/wp-theme-switcher/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
MT Theme Switcher
概要
- 時間を指定することで、その時間以降の最初のアクセス時に指定のテーマに切り替えを行います。
- 時間でテーマを更新する必要がある場合など、複数のバージョンをアップロードしておくことでダウンタイムなしで切り替えを行なえます。
インストール
- wp-content/plugins に wp-theme-switcher フォルダを配置する
- WP の管理画面からプラグインを有効化する
使い方 / How To Use
- wp-content に切り替えたいテーマを配置する
- WP 管理画面から、ツール - MT Theme Switcher を開く
- 切り替える日時と、切り替え先のテーマを指定する
- 指定時間よりあとの最初のアクセスがあったとき、テーマが切り替わる
Overview
- By specifying a time, you can switch to the specified theme on the first access after that time.
- By uploading multiple versions of the theme, you can perform the switch without any downtime when it is necessary to update the theme based on time.
How To Install
- Place the wp-theme-switcher folder in the wp-content/plugins directory.
- Activate the plugin from the WordPress admin dashboard.
How To Use
- Place the theme in the wp-content directory.
- In the WordPress admin dashboard, go to Tools - MT Theme Switcher.
- Specify the switching date and the theme to switch to.
- Once the first access occurs after the specified time, the theme will be switched.