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

JReferences

描述

This plugin allows references and citations in your posts. It’s only a beta version, so if you find issues or if you think it lacks some features, please contact me.

To use it, simply add your reference using a shortcode you can choose (‘jref’ by default), and a few attributes (always use lowercase):

  • title (mandatory)
  • author
  • date
  • url
  • editor
  • page
  • lang
  • readon

There are no specific controls on the content of those attributes, you may add any text you want. Only ‘title’ is mandatory. All attributes roles are easy to understand; ‘page’ is for a book (but can be used for any content), ‘readon’ is the date you last consult the reference.

Again, in this first release, there’s no specific control or action triggered by attribute’s content (like verifying the format, or linking to an archive site). Maybe in a future release…

A list of all references will be added at the end of the post.

Here are some examples:

  • [jref]url=http://geba.fr|date=janv 2017|title=The Title.|author=Janiko|lang=FR|editor=geba.fr|page=p.5[/jref]
  • [jref name=’numref’]url=http://geba.fr|date=janv 2017|title=The Title.|author=Janiko|lang=FR|editor=geba.fr|page=p.5[/jref]
  • [jref name=’numref’ /]

You can optionnaly add a name to the citation, so you can reuse it in your post. Important note: the displayed attributes will be the attributes of the FIRST reference with that name. Any other attribute will be ignored.

螢幕截圖

  • This is a very simple example with a reference used twice.

安裝

Just get the plugin and activate it. You can choose in the admin section the text of the shortcode you’ll use for your citations. By default it’s ‘jref’.

Remember that when you change it, all posts written with the old shortcode won’t be parsed anymore.

常見問題

Let me know if you have some. I will add them here!

An answer to that question.

評價

2020年8月31日
Want a Wikipedia “cite web” template style footnotes plugin on your WordPress blog? Janiko’s “JReferences” is your choice. JReferences supports named footnotes, and re-using any footnote up to 25 times, with neatly enumerated letter links to jump back to every single reference, just as we know it from the WikiMedia CMS. JReferences fully supports rich text in fields, beside its capability of generating a hyperlink from an article title and a URL provided as separate values. JReferences’ easy-to-customize “/wp-content/plugins/jreferences/class.jref-reference.php” source allows to add whatever field we may need, beyond disabling the “title” requirement. Generic (rich-text) footnotes are then also supported. JReferences may even be used alongside Mark Cheret’s “Footnotes” plugin set to “[1]”-style references, for a “Citations” section on top of the “Notes” list. JReferences may then be left as-is, and footnotes dispatched by simply using one or the other shortcode.
閱讀全部2個評價

貢獻者及開發者

“JReferences” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 JReferences 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0.3a

Tested with WordPress 5.0

1.0.3

Some formatting

1.0.1

Tagging

1.0

First decent version

0.9a

Correct encoding issues + 1 bug

0.92

  • Small CSS correction

0.91

  • Correction of default value

0.9

  • First public release
  • Minimalist settings and features but fully functionnal (I hope)