
內容簡介
WP Notice 外掛可讓每個管理員根據標籤、分類或日期在帖子中發佈動畫公告或訊息。
您可以為多個帖子指定多個訊息。基於 Bootstrap 樣式,還有幾種自定義設計。
除了樣式外,您還可以根據 Font Awesome 存儲庫中的數百個圖標之一,選擇動畫類型、持續時間和重複次數,
還可以選擇公告的位置。
非常適合需要在舊帖子上張貼過時公告並基於分類、標籤或日期向用戶顯示消息的技術網站,
如有需要,還可以使用圖標和動畫引起註意。
WP Notice 具有基於 WordPress PHPUnit 的完全自動化測試環境,涵蓋 90% 以上的代碼。 Travis CI
的完全整合讓我們確保 WP Notice 不會出問題。
外掛文件完全符合 WordPress 編碼標準(PHP 文件和 JS 文件)。
GitHub:https://github.com/barzik/wp-notice
自動化測試
可以使用 WordPress PHPUnit 和官方的 WordPress 測試環境來測試 WP Notice 外掛。
安裝 WordPress Develop 和 PHPUnit,可以遵循 這些指示
定義本地變數 WP_TESTS_DIR,並設置 WordPress Develop PHPUnit 文件夾的位置。
例如,在 .bashrc(Linux)中輸入 export WP_TESTS_DIR="/var/www/html/wordpress-develop/tests/phpunit"
進入外掛的主目錄,然後執行指令 phpunit。
測試涵蓋範圍報告以 HTML 頁面的形式打印到 ./log/CodeCoverage 中。
翻譯
英語-預設,始終包括
希伯來語
外掛標籤
開發者團隊
原文外掛簡介
WP Notice plugin enable every admin to post animated announcement or messages in posts based on tags, categories or date.
You can assign several messages for the several posts. There are several custom designs based on BootStrap styles.
Along with the styles, you can also add to every message one of hundreds icons based on Font Awesome repository and
also choose animation type, duration and number of repetition. You can choose the position of the notices.
Ideal for technical sites that need to post deprecated notice on old posts and any other sites that need to show
messages to users based on categories, tags or date and get attention to the message by using icons and animation if needed.
WP Notice has fully automated testing environment based on WordPress PHPUnit with more that 90% code coverage. Travis CI
full integration allow us to make sure that WP-Notice will not be broken.
The plugin files are 100% compatible to WordPress coding standards (PHP files and JS files).
GitHub: https://github.com/barzik/wp-notice
Automated testing
WP Tutorial maker can be tested by using PHPUnit with the official WordPress testing environment.
Install WordPress develop and PHPUnit. You can follow these instructions
define local variable WP_TESTS_DIR with the location of WordPress develop phpunit folder.
for example, put export WP_TESTS_DIR="/var/www/html/wordpress-develop/tests/phpunit" in .bashrc (Linux)
Go to the plugin main folder and run phpunit.
Tests coverage report is being printed in HTML page to ./log/CodeCoverage.
Translations
English – default, always included
Hebrew
