這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Humans Dot Txt

外掛說明

This plugin will add a dynamic humans.txt file generated from a template that you’ll define yourself. What’s humans.txt? It’s the latest thing on the web: http://humanstxt.org/

It uses a template format which you can define yourself to add the information you’d like to your humans.txt file. This plugin currently supports the following template tags:

  • Active plugins (name, uri, version, description, author, author uri)
  • Blog authors (login name, display name, email)
  • PHP version
  • WP version
  • Current theme (name, description, author, author uri, version, parent)
  • Number of posts (published, future, drafts, pending, private)
  • Number of pages (published, future, drafts, pending, private)

It’s pretty easy to extend these template tags with new ones if you’re missing someone. Just leave a message and I’ll try to fix it for you.

Feedback

I love getting feedback from people using my stuff, if you use it and feel like saying hello, leave a suggestion, complaint or whatever, just drop a message wherever you feel like.

My contact information is

Plugin integration

If you feel like there’s more information you’d like to add from your plugin, you can use the filter ‘humans_output’ to append your own information to the humans.txt file. But if you do, please be a good plugin developer and ask the user if it’s ok first!

A simple example:
<?php

function myFilter($a) {
  return $a . "My plugin is activated and very cool!";
}

add_filter('humans_output', 'myFilter');

安裝方式

This is the same procedure as with all ordinary plugins.

  1. Download the zip file, unzip it
  2. Upload it to your /wp-content/plugins/ folder
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Go to the ‘Humans dot txt’ configuration menu to define your template
  5. Head over to http://yourblog.com/humans.txt and behold the awesome result!

常見問題集

This is a new plugin, haven’t had any questions yet. If you have any, be sure to send them to me.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Humans Dot Txt〉的開發相關工作。

參與者

將〈Humans Dot Txt〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1.1

  • Fixed PHP 5.5 compatibility

1.1

  • Fixed some issues with newer WordPress versions

1.0.3

  • Removed one PHP short tag which caused problems for some server configurations

1.0.2

  • Fixed problem with suggestions box not disappearing correctly
  • Fixed problem with some settings that weren’t properly registered
  • Improved error handling and feedback in the options page

1.0.1

Minor bug fix with suggestions URL being wrong

1.0

Initial release