[WordPress] 外掛分享: References

WordPress 外掛 References 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「References」是 2016-06-21 上架。
  • 目前有 40 個安裝啟用數。
  • 上一次更新是 2025-02-20,距離現在已有 73 天。
  • 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

shra |

外掛標籤

reference | node reference | post connections |

內容簡介

此外掛可讓您管理文章參考文獻,類似 Drupal CMS 模組功能中的「Node Reference」。

使用「參考文獻設定」頁面設定出版物連線。

設定步驟完成後,您會在文章編輯頁面上看到其他的 metabox(s)。您可以選擇要附加到正在編輯的文章的參考文章類型的文章。

此外掛會將已連線的文章列表儲存為文章元資料。您可以使用例如 get_post_meta($post->ID, 'ref_ID', 真實) 來接收該列表。作為「ref_ID」,您應在之前「參考設定」頁面中配置的元資料鍵使用。

此外掛允許您配置 widget 以查看已附加文章的列表。

此外掛 API

此外掛有自己的 API,可讓您從您的程式碼中建立參考文獻(註冊自己的文章類型後等等)。所有函數都是靜態的,可通過 REFShraAPI 類別使用。

目前已實作 5 個函數。函數列表如下。有關 API 函數、其引數、示例的更多詳細資訊請參閱 reference.php。

REFShraAPI::config_load($postType = NULL, $refKey = NULL);
// 返回當前配置之參考文獻的陣列。

REFShraAPI::config_add($postType, $refKey, $linkedTypes, $title)
// 新增/更新參考文獻配置。

REFShraAPI::config_remove($postType, $refKey);
// 刪除 pair postType / refKey 的參考文獻配置。

REFShraAPI::get($postID = NULL);
// 透過文章 ID 取得參考文獻資料。

REFShraAPI::update($postID = NULL, $refkey, $postIDs);
// 透過文章 ID 更新參考文獻資料。

REFShraAPI::find($postID = NULL, $postTypes = array(), $onlyPublished = false);
// 尋找已附加 post_id 的文章。

縮短碼 REF

此外掛支援縮短碼 REF。它可讓您在文章任何位置顯示參考文章的列表。縮短碼函數實作可讓您自訂列表和輸出。只有兩個屬性可用。

[ref id=”POST_ID” key=”REFERENCE_KEY”]

原文外掛簡介

This plugin will let you manage the post references. It is like “node reference” in Drupal CMS module functionality.
Use Reference Settings page to configure publications connections.
After configuring step you will see additional metabox(s) on post editor page. Now you can choose articles of referenced post types to attach it to article you edit.
Plugin stores connected article list to post metas. For template you can use, for example, get_post_meta($post->ID, ‘_ref_ID’, true) to receive that list. As ‘ref_ID’ you should use a meta key configured on Referenced settings page earlier.
Plugin allow you to configure widgets to view the list(s) of attached articles.
Plugin API
Plugin has own API which allows you create references from your code (after registering your own post types, etc). All functions are static and available through class REFShraAPI.
Currently there are implemented 5 functions. List of functions is below. More details about API functions, their arguments, examples look in referenece.php.
REFShraAPI::config_load($postType = NULL, $refKey = NULL);
//returns array currently configured REFERENCES.
REFShraAPI::config_add($postType, $refKey, $linkedTypes, $title)
// ADD/update REFERENCE configs.
REFShraAPI::config_remove($postType, $refKey);
// Delete REFERENCE config by pair postType / refKey.
REFShraAPI::get($postID = NULL);
// Get references data by post ID.
REFShraAPI::update($postID = NULL, $refkey, $postIDs);
// Update references data by post ID.
REFShraAPI::find($postID = NULL, $postTypes = array(), $onlyPublished = false);
// Search for article with attached post_id
Shortcode REF
Plugin supports shortcode REF. It allows to show list of referenced articles in any place of your post. Shortcode function implementation allows you customize list and output. Only two attributes are available.
[ref id=”POST_ID” key=”REFERENCE_KEY”]

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「References」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • Footnotes Made Easy 》Footnotes Made Easy 是一個簡單而強大的方法,可將註腳添加到您的文章和頁面中。, 主要功能包括:, , 透過雙括號簡單插入註腳, 合併相同註腳, 用於分頁文章...。
  • ESV CrossRef 》ESV CrossReference Tool 是一個免費的資源,旨在讓您可以輕鬆在您的部落格、個人網站或教會網站上展示 ESV 聖經的文字。, 這款 WordPress 外掛設計方便安裝...。
  • IvyCat AJAX Testimonials 》IvyCat AJAX Testimonials 在 WordPress Dashboard 的導覽列中新增一個「Testimonials」選單項目。, 您可以像輸入通常的文章一樣輕鬆輸入推薦評語,甚至可以...。
  • Civil Footnotes 》Civil Footnotes 是一個 WordPress 外掛,可以在您的博客中新增註腳。Civil Footnotes 可以解析帶有兩個括號(((double parenthesis)))的文章中的註腳,並在...。
  • Blank Footnotes 》這個外掛插件允許使用 markdown 記號來建立腳註。, 這僅適用於腳註。不會考慮其他 markdown 標籤。, 範例:, 我在此有更多要講的話 [^1]。, , [^1]: 在此講說...。
  • BibleLink Multilingual 》這個輕量級的 WordPress 外掛能夠讓你的網站上聖經參考資料互動式顯示,當訪客點擊或滑鼠移到參考資料上時,會出現一個預覽視窗。最多會顯示三節經文,接著是...。
  • CM Footnotes – Boost your content’s credibility with footnotes, citations, and bibliography 》產品頁面 | 影片 | 示範 | [https://creativeminds.helpscoutdocs.com/category/312-footnotes) | 其他 CM 插件, 使用 CreativeMinds 的 WordPress 註腳插件...。
  • Cite 》簡單、輕量級的多樣式引用外掛程式,只需要 CSS,不需要 JS!協助您的訪客引用您的文字:APA、MLA、Harvard、Vancouver、Chicago、IEEE 引用指南。在您的文字...。
  • Shortcode Reference 》WordPress外掛中的一個奇妙之處就在於短代碼(shortcodes)的可用性。, 這些代碼可以提供對外掛特定的內容的存取,例如顯示畫廊或Google地圖。, 這其中的缺陷...。
  • Cite 》藉由使用 Cite 外掛,在每頁或每篇文章底部顯示一個文字框,幫助讀者正確引用你的文章。在任何頁面或文章中使用簡碼[cite]即可添加。, 主要功能, , 簡單且輕...。
  • bVerse Convert 》自動在您的 WordPress 內容中,建立到您喜好的《聖經服務》的聖經參考連結。此外,作為選項,它可以在 Popover 或 Modal Dialog Box 內顯示聖經經文。, 特色,...。
  • bib.ly – Bible reference links to all bible sites 》這個 WordPress 外掛可以尋找網站內的聖經參考文獻,並顯示彈出窗口並顯示聖經文字,同時將參照連結至一個讓使用者選擇其喜愛的網站(如 YouVersion、BibleGa...。
  • Footnotes & Content 》總結:WordPress Footnotes 外掛是將腳註添加到您的文章和頁面中的強大方法。您可以在每個頁面、文章或 ACF 中輕鬆地添加任意數量的腳註。, , 問題與答案:, ...。
  • Reftagger Shortcode 》Reftagger Shortcode 可在 WordPress 的 TinyMCE 可視化編輯器中創造一個按鈕,讓您輕鬆添加含義豐富的聖經標記。, Reftagger 插件是個極棒的插件,但是他沒...。
  • Enhanced BibliPlug 》Enhanced Bibliplug 創造了一個中央儲存庫,讓研究人員可以個人或協作環境中組織和展示其學術研究。此外掛旨在與 Zotero 帳戶同步。, 主要功能包括:, , 用於...。

文章
Filter
Apply Filters
Mastodon