
內容簡介
WP Scroll Top 插件允許訪客輕鬆地滾動到頁面頂部,完全可自定義(以及以下節點)。
為了向後兼容,如果缺少本節,將使用短描述的全長並且可以使用 Markdown。
以下是有關上面各節的一些注意事項:
“貢獻者”是由 wordpress.org 用戶名稱組成的逗號分隔列表。
“標籤”是應用於外掛的逗號分隔標籤列表。
“最低要求”是該外掛可以使用的最低版本。
“已測試至”是您已成功使用的最高版本進行測試。請注意,它可能適用於更高的版本…這只是您驗證的最高版本。
穩定版應該指的是最新穩定版本的 Subversion “標籤”,或者如果您使用 /trunk/ 作為穩定版本,則應指定“trunk”。
請注意,穩定標籤的readme.txt被視為插件的定義文件,因此,如果/trunk/readme.txt文件顯示穩定標籤是4.3,那麼將使用/tags/4.3/readme.txt 顯示關於插件的信息。在這種情況下,從樹幹readme.txt中考慮的唯一事物是穩定標籤指針。因此,如果您在樹幹中開發,可以更新樹幹readme.txt以反映正在開發版本中的更改,而不會錯誤地披露關於當前穩定版本的信息,而缺少這些更改 - 前提是樹幹的readme.txt指向了正確的穩定標籤。
如果未提供穩定標籤,則假定主幹是穩定的,但如果穩定版本位於其中,則應指定“trunk”,以消除任何疑慮。
任意節:
您可以提供與上述節點相同格式的任意節。對於極其複雜的外掛程序,這可能非常有用,需要傳達更多的信息,不能進入“描述”或“安裝”的範疇中。 任意節將顯示在上面概述的內置節的下面。
簡短的 Markdown 示例:
有序列表:
某些功能
另一個功能
關於這個外掛的其他內容
無序列表:
某些東西
別的東西
第三件事
這裡有一個鏈接到WordPress,還有一個到Markdown 的語法文檔。顯然,標題是可選的。
Markdown 使用電子郵件樣式的表示法用於區塊引用,我已被告知:
星號以強調。 雙倍強調以進行強調。
<?php code(); // goes in backticks ?>
外掛標籤
開發者團隊
原文外掛簡介
WP Scroll Top plugin allows the visitor to easily scroll to the top of the page, with fully customization (as well as in the following sections).
For backwards compatibility, if this section is missing, the full length of the short description will be used, and
Markdown parsed.
A few notes about the sections above:
“Contributors” is a comma separated list of wordpress.org usernames
“Tags” is a comma separated list of tags that apply to the plugin
“Requires at least” is the lowest version that the plugin will work on
“Tested up to” is the highest version that you’ve successfully used to test the plugin. Note that it might work on
higher versions… this is just the highest one you’ve verified.
Stable tag should indicate the Subversion “tag” of the latest stable version, or “trunk,” if you use /trunk/ for
stable.
Note that the readme.txt of the stable tag is the one that is considered the defining one for the plugin, so
if the /trunk/readme.txt file says that the stable tag is 4.3, then it is /tags/4.3/readme.txt that’ll be used
for displaying information about the plugin. In this situation, the only thing considered from the trunk readme.txt
is the stable tag pointer. Thus, if you develop in trunk, you can update the trunk readme.txt to reflect changes in
your in-development version, without having that information incorrectly disclosed about the current stable version
that lacks those changes — as long as the trunk’s readme.txt points to the correct stable tag.
If no stable tag is provided, it is assumed that trunk is stable, but you should specify “trunk” if that’s where
you put the stable version, in order to eliminate any doubt.
Arbitrary section
You may provide arbitrary sections, in the same format as the ones above. This may be of use for extremely complicated
plugins where more information needs to be conveyed that doesn’t fit into the categories of “description” or
“installation.” Arbitrary sections will be shown below the built-in sections outlined above.
A brief Markdown Example
Ordered list:
Some feature
Another feature
Something else about the plugin
Unordered list:
something
something else
third thing
Here’s a link to WordPress and one to Markdown’s Syntax Documentation.
Titles are optional, naturally.
Markdown uses email style notation for blockquotes and I’ve been told:
Asterisks for emphasis. Double it up for strong.
