Title: JReferences
Author: janiko
Published: <strong>2017 年 2 月 6 日</strong>
Last modified: 2026 年 10 月 15 日

---

搜尋外掛

![](https://ps.w.org/jreferences/assets/icon-256x256.png?rev=3749947)

# JReferences

 由 [janiko](https://profiles.wordpress.org/janiko/) 開發

[下載](https://downloads.wordpress.org/plugin/jreferences.1.1.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/jreferences/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/jreferences/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/jreferences/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/jreferences/#developers)

 [技術支援](https://wordpress.org/support/plugin/jreferences/)

## 外掛說明

JReferences adds numbered footnotes and bibliographic references to individual posts
and pages, with reusable named citations. The bibliography appears automatically
at the end of the content. The plugin does not render notes in archives or excerpts.

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

Values are treated as plain text (except URLs); HTML markup is not supported inside
individual reference fields. 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. When a reader follows
a numbered citation link, the corresponding bibliography entry is highlighted in
pale yellow using the CSS `:target` selector. The highlight remains until another
fragment identifier is selected.

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.

### Description en français

JReferences ajoute des appels de notes numérotés et une bibliographie à la fin des
articles et pages consultés individuellement. Une référence nommée peut être réutilisée
plusieurs fois. Aucun affichage des notes dans les archives ou extraits. Quand on
clique sur un numéro de note, la référence correspondante est surlignée en jaune
pâle grâce à la règle CSS `:target`, pour faciliter son repérage. La surbrillance
disparaît lorsqu’une autre ancre est sélectionnée.

Exemple : `[jref name="source"]author=Dupont|title=Mon livre|url=https://example.
org[/jref]`, puis `[jref name="source" /]`. Les réglages permettent de changer le
nom du shortcode, mais les anciens contenus qui utilisent le précédent nom ne seront
alors plus interprétés.

## 螢幕擷圖

[⌊This is a very simple example with a reference used twice.⌉⌊This is a very simple
example with a reference used twice.⌉[

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.

## 常見問題集

### Can a named reference be used more than once?

Yes. Define it once using `[jref name="source"]title=...[/jref]`, then cite it again
with `[jref name="source" /]`. The first definition is used.

### Are references shown in archives?

No. They are displayed only on the individual post or page.

### Is JavaScript necessary?

No. Rendering uses PHP and CSS only.

### Why is a reference highlighted in yellow?

Clicking a citation number jumps to its bibliography entry. The selected entry is
highlighted in pale yellow to make it easier to locate; this uses CSS `:target`,
not JavaScript.

## 使用者評論

![](https://secure.gravatar.com/avatar/4472aff7ebf92239c83ee1e2f95954b7cf4dd1951a7201bfa8b805be96a64ebb?
s=60&d=retro&r=g)

### 󠀁[Very useful plugin](https://wordpress.org/support/topic/very-useful-plugin-1483/)󠁿

 [halinh](https://profiles.wordpress.org/halinh/) 2023 年 9 月 26 日

We hope you will update it regularly and develop it

![](https://secure.gravatar.com/avatar/0e4450ad00c9c23a7439a07cc76c79e43917dffc32070c800f31de441519892d?
s=60&d=retro&r=g)

### 󠀁[Extraordinary, customizable footnotes plugin](https://wordpress.org/support/topic/extraordinary-customizable-footnotes-plugin/)󠁿

 [balwuw](https://profiles.wordpress.org/balwuw/) 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 則使用者評論 ](https://wordpress.org/support/plugin/jreferences/reviews/)

## 參與者及開發者

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

參與者

 *   [ janiko ](https://profiles.wordpress.org/janiko/)

[將〈JReferences〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/jreferences)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/jreferences/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/jreferences/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/jreferences/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/jreferences/)。

## 變更記錄

#### 1.1.0

 * Modernized PHP rendering and escaping, safer shortcode parsing, unique footnote
   anchors, accessible backlinks.
 * Render references on singular posts/pages only; preserve existing shortcode syntax
   and settings.
 * Modernisation PHP, sécurisation du HTML, références uniquement dans les pages
   individuelles.
 * Documented CSS highlighting of the targeted bibliography entry / Documentation
   du surlignage de la référence ciblée.

#### 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)

## 中繼資料

 *  版本 **1.1.0**
 *  最後更新 **3 週前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.1.4**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/jreferences/)
 * 標籤:
 * [citation](https://tw.wordpress.org/plugins/tags/citation/)[comments](https://tw.wordpress.org/plugins/tags/comments/)
   [footnotes](https://tw.wordpress.org/plugins/tags/footnotes/)[reference](https://tw.wordpress.org/plugins/tags/reference/)
 *  [進階檢視](https://tw.wordpress.org/plugins/jreferences/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/jreferences/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/jreferences/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/jreferences/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/jreferences/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/jreferences/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/jreferences/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/jreferences/reviews/)

## 參與者

 *   [ janiko ](https://profiles.wordpress.org/janiko/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/jreferences/)