
內容簡介
WP Tutorial Maker 允許您選擇網站中的某些分類,使它們成為教程分類。
分類將按照創建日期的升序排序。
您可以選擇分類中的每篇文章是否將有導航到下一篇文章和上一篇文章。
您還可以選擇這些鏈接的位置 - 在內容之前或之後。
您可以選擇添加一個返回分類的鏈接,並選擇鏈接的文本和出現在鏈接旁邊的文本。
啟用 WP Tutorial Maker 後,您可以轉到 WordPress 中的任何分類並將其指定為「教程分類」。
WP Tutorial Maker 具有基於 WordPress PHPUnit 的完全自動化測試環境。
GitHub: https://github.com/barzik/wp-tutorial-maker
自動化測試
WP Tutorial Maker 可以使用 PHPUnit 和官方的 WordPress 測試環境進行測試。
安裝 WordPress develop 和 PHPUnit。您可以按照這些說明進行操作。
定義本地變量 WP_TESTS_DIR,其位置為 WordPress develop phpunit 文件夾的位置。
例如,將export WP_TESTS_DIR="/var/www/html/wordpress-develop/tests/phpunit"放入 .bashrc(Linux)
轉到插件的主文件夾並運行phpunit。
測試覆蓋率報告將以 HTML 頁面的形式列印到./log/CodeCoverage中。
翻譯
英語 - 預設,始終包括
希伯來語
外掛標籤
開發者團隊
原文外掛簡介
WP Tutorial Maker allow you to select some categories in your site and makes them into tutorial categories.
The category will be ordered by the creation date in ascending order.
You can choose if each post in the category will have navigational to the next post and to the last post.
You can also choose the position of those links – before or after the content.
You can choose to add a link back to the category and choose the text of the link and a text that will appear next to
the link.
After activating WP Tutorial Maker, you can go to any category in your WordPress and designate it as ‘Tutorial Category’.
WP Tutorial maker has fully automated testing environment based on WordPress PHPUnit.
GitHub: https://github.com/barzik/wp-tutorial-maker
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
