折腾:
【未解决】如何用PHP编写一个wordpress的插件
期间,先去搞懂
如何写readme.txt
参考:
英文版:
中文版:
zh-cn:插件 API « WordPress Codex
https://codex.wordpress.org/zh-cn:插件_API
-》
去写readme.txt
官网也有示例:
然后还有个reame的验证工具:
以便检验是否符合标准。
目前写了个:
=== Youdaonote Sync === Contributors: crifan Tags: youdaonote, ynote, sync Donate link: https://www.crifan.com/donate_to_crifan/ Requires at least: 4.0 Tested up to: 4.8 Requires PHP: 5.6 Stable tag: 4.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html The youdao note synchronization to wordpress. == Description == 1. The plugin applies for youdao note; 2. take “author” as “category”, “source” as “tag” due to youdao note post not contain category and tag; 3. About synchronization every 30 minutes; 4. Synchronous including categorie, tag, title, content and pictures contained; 5. Timed publish, draft publish; 6. Auto format article content; 7. Custom the label for synchronization. Plugin Site: https://www.crifan.com/youdaonote_sync Author Email: admin (at) crifan.com == Installation == 1. Upload `youdaonote-sync` folder to the `/wp-content/plugins/` directory 2. Activate the plugin through the ‘Plugins’ menu in WordPress 3. Go to “Settings > Youdaonote Sync”, select the platform and developer token, then save; 4. To the need to synchronize the notes add “ysync” tag; 5. You can also go to the Settings page of plugin to manually synchronize. == Changelog == = 0.0.1 = * draft version == Upgrade Notice == |
等后续有了更多的内容,包括截图,再去参考:
去更新。
转载请注明:在路上 » 【整理】WordPress插件中的readme.txt