[WordPress] 外掛分享: WP Is Mobile Text Widget

首頁外掛目錄 › WP Is Mobile Text Widget
20+
安裝啟用
尚無評分
574 天前
最後更新
問題解決
WordPress 4.9+ PHP 5.6+ v1.2.1 上架:2014-08-25

內容簡介

這個 WordPress 外掛程式新增了一個文字小工具,使用 wp_is_mobile() 函式判斷裝置是否為行動裝置,根據判斷結果切換顯示文字。

過濾器

widget_title
widget_text
wp_is_mobile_text_widget_text – 當 wp_is_mobile 為 false 時,過濾文字小工具的內容。
wp_is_mobile_text_widget_is_mobile_true – 當 wp_is_mobile 為 true 時,過濾文字小工具的內容。

測試矩陣

為了確保相容性,請參閱下述的 Github Actions。

貢獻
补丁和漏洞修复

小的补丁和漏洞报告可以提交到 Github 的问题跟踪器。使用 Github 上的 Fork 功能也是一种不错的方式。您可以发送 pull request。

wp-is-mobile-text-widget – GitHub
WP Is Mobile Text Widget – WordPress Plugin

外掛標籤

開發者團隊

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

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

原文外掛簡介

WP Is Mobile Text Widget plugin adds text widget that switched display text using wp_is_mobile() function whether the device is mobile or not.
Filter Hooks

widget_title
widget_text
wp_is_mobile_text_widget_text – Filters the content of the Text widget when wp_is_mobile is false.
wp_is_mobile_text_widget_is_mobile_true – Filters the content of the Text widget when wp_is_mobile is true.

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

Forum: https://wordpress.org/support/plugin/wp-is-mobile-text-widget/
Issues: https://github.com/thingsym/wp-is-mobile-text-widget/issues

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.
If you have created or updated your own language pack, you can send gettext PO and MO files to author. I can bundle it into plugin.

VCS – GitHub
Homepage – WordPress Plugin
Translate WP Is Mobile Text Widget into your language.

You can also contribute by answering issues on the forums.

Forum: https://wordpress.org/support/plugin/wp-is-mobile-text-widget/
Issues: https://github.com/thingsym/wp-is-mobile-text-widget/issues

Patches and Bug Fixes
Forking on Github is another good way. You can send a pull request.

Fork WP Is Mobile Text Widget from GitHub repository
Create a feature branch: git checkout -b my-new-feature
Commit your changes: git commit -am ‘Add some feature’
Push to the branch: git push origin my-new-feature
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

Test Matrix
For operation compatibility between PHP version and WordPress version, see below Github Actions.

延伸相關外掛

文章
Filter
Mastodon