[WordPress] 外掛分享: Theme Roulette

首頁外掛目錄 › Theme Roulette
WordPress 外掛 Theme Roulette 的封面圖片
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
2003 天前
最後更新
問題解決
WordPress 3.9+ v1.0.9 上架:2015-04-02

內容簡介

這個外掛可以隨機更改你的網站佈景主題🙂同時也會在管理員網頁上更改主題,增加趣味性!可以透過篩選器進行設定!

這個外掛從已安裝的佈景主題中選擇,並在 50% 的頁面載入時間(預設值)隨機切換主題。如果您的佈景主題少於 50 個,它會從 WordPress.org 目錄中頂部的主題中隨機選擇一個為您安裝。

篩選器!

thmr_max_themes_to_install:
預設情況下,每次最多安裝 50 個佈景主題(隨時間增加)。使用“thmr_max_themes_to_install”篩選器來調整此外掛程序將安裝的主題數量的最大值。

thmr_times_to_switch_out_of_ten:
將主題在10次載入中切換5次(50%)-使用“thmr_times_to_switch_out_of_ten”篩選器調整此設置。

thmr_dont_show_on_admin
使用“thmr_dont_show_on_admin”來停用管理員資訊(__return_true來停用)。

警告:此外掛可能會導致網站無法運作-請自行承擔風險!

開發者團隊

⬇ 下載最新版 (v1.0.9) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Theme Roulette」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Randomly changes your site theme 🙂 Changes theme on the admin side as well, for extra fun! Configurable with filters!
Chooses from installed themes, and switches to a random one on 50% of page loads (by default). If you have fewer than 50 themes, installs a new theme chosen at random from the top themes on the WordPress.org directory.
Filterz!
thmr_max_themes_to_install:
Installs max 50 themes (over time) by default. Use the ‘thmr_max_themes_to_install’ filter to adjust the maximum number of themese this plugin will install.
thmr_times_to_switch_out_of_ten:
Switches the theme 5 out of 10 loads (50 %) – adjust this setting with the ‘thmr_times_to_switch_out_of_ten’ filter.
thmr_dont_show_on_admin
Use the ‘thmr_dont_show_on_admin’ to disable on the admin side (__return_true to turn off).
WARNING: This plugin may bring your site down – use at your own risk!

延伸相關外掛

文章
Filter
Apply Filters
Mastodon