最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【整理】WordPress插件中的readme.txt

插件 crifan 1040浏览 0评论
 折腾:
【未解决】如何用PHP编写一个wordpress的插件
期间,先去搞懂
如何写readme.txt
参考:
英文版:
Determining Plugin and Content Directories « WordPress Codex
中文版:
zh-cn:插件 API « WordPress Codex
https://codex.wordpress.org/zh-cn:插件_API
-》
Generate WordPress Plugin readme.txt file
去写readme.txt
官网也有示例:
https://wordpress.org/plugins/files/2017/03/readme.txt
然后还有个reame的验证工具:
Readme Validator — WordPress Plugins
以便检验是否符合标准。
目前写了个:
=== Youdaonote Sync ===
Contributors: crifan
Tags: youdaonote, ynote, sync
Requires at least: 4.0
Tested up to: 4.8
Requires PHP: 5.6
Stable tag: 4.0
License: GPLv2 or later
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 ==
等后续有了更多的内容,包括截图,再去参考:
https://wordpress.org/plugins/files/2017/03/readme.txt
去更新。

转载请注明:在路上 » 【整理】WordPress插件中的readme.txt

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
87 queries in 0.175 seconds, using 22.04MB memory