前言介紹
- 這款 WordPress 外掛「Ambrosite Next/Previous Post Link Plus」是 2010-05-11 上架。
- 目前有 6000 個安裝啟用數。
- 上一次更新是 2017-11-28,距離現在已有 2713 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 2.5 以上版本才可以安裝。
- 有 49 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
link | next | post | adjacent | previous |
內容簡介
重要提示:請確保使用正確的外掛程式。
Next/Previous Post Link Plus 外掛程式適用於單篇文章模板。
Next/Previous Page Link Plus 外掛程式適用於頁面模板。
這兩個外掛程式名稱相似,但功能不同。如果誤裝了錯誤的外掛程式,那您將會收到「呼叫未定義的函數」錯誤訊息。如果您需要建立頁面的上一頁/下一頁連結,請參閱以下網址:
https://wordpress.org/extend/plugins/ambrosite-nextprevious-page-link-plus/
重要提示:本外掛程式不支援 PHP 4。如果您嘗試在 PHP 4 的主機上安裝它,您將會看到「剖析錯誤(parse error)」。從 WordPress 3.2 開始,官方已不再支援 PHP 4,因此您應該立即升級到 PHP 5.2。對於無法升級的使用者,您可以下載替代的 PHP 4 可用版本外掛程式,唯一和 PHP 4 版本不同的是,%category 變數不支援自定分類法。
http://www.ambrosite.com/download/ambrosite-nextprevious-post-link-plus.php4.zip
本外掛程式建立了兩個新的模板標籤:next_post_link_plus 和 previous_post_link_plus,它們是 WordPress 核心 next_post_link 和 previous_post_link 模板標籤的升級版本。新標籤包含核心標籤的所有功能,以及以下附加選項:
按除 post_date 之外的欄位(例如字母順序)排序上一篇/下一篇文章連結。
按自訂欄位排序上一篇/下一篇連結(支援字串和整數排序)。
完全支援 WordPress 3.3,包括自訂文章類型、自訂分類法和文章格式。
循環展示文章,當沒有下一篇時跳到第一篇,反之亦然。
索取首篇/末篇文章,而非前一篇/下一篇文章(用於第一篇/前一篇/下一篇/最後一篇導覽連結)。
在連結旁顯示文章縮略圖(WordPress 2.9 或更高版本)。
截短連結標題至指定長度,並於工具提示中顯示自訂文字。
顯示上一篇/下一篇連結的標題、日期、作者、類別和元值。
為 %date 變數指定自訂日期格式。
限定上一篇/下一篇連結的類別、分類法、文章格式、作者、自訂欄位值、自訂文章 ID 列表或自訂類別列表。
排除文章分類、自訂分類法、文章格式或個別文章 ID。
提供三種文章排除方式,用於更多的導覽控制。
索取多步下一篇/下N篇連結(例如,以 HTML 列表方式索取下 N 篇連結)。
傳回下一篇/上一篇連結的 ID、標題、日期、href 屬性或文章物件,而非顯示在螢幕上。
如果沒有找到下一篇/下一篇連結,傳回 false,以便佈景主題可以有條件地顯示替代文字。
與「文章排序」和其他熱門的文章重新排序外掛程式相容。
有關外掛程式配置的詳細文檔,請參閱以下網址:
http://www.ambrosite.com/plugins/next-previous-post-link-plus-for-wordpress
原文外掛簡介
IMPORTANT: Make sure you are using the right plugin.
Next/Previous Post Link Plus is intended for use in single post templates.
Next/Previous Page Link Plus is intended for use in page templates.
The two plugins have similar sounding, but different, function names. If you mistakenly install the wrong plugin, you will get a “call to undefined function” error. If you want to create next/previous links for your pages, please check out:
https://wordpress.org/extend/plugins/ambrosite-nextprevious-page-link-plus/
IMPORTANT: This plugin is not compatible with PHP 4. If you try to install it on a host running PHP 4, you will get a parse error. WordPress has officially ended support for PHP 4 as of version 3.2, so you should upgrade to PHP 5.2 now. For those who cannot upgrade, you can download the alternate PHP 4 compatible version of the plugin. The only difference with the PHP 4 version is that the %category variable will not work with custom taxonomies.
http://www.ambrosite.com/download/ambrosite-nextprevious-post-link-plus.php4.zip
This plugin creates two new template tags — next_post_link_plus and previous_post_link_plus — which are upgraded versions of the core WordPress next_post_link and previous_post_link template tags. The new tags include all of the functionality of the core tags, plus the following additional options:
Sort the next/previous post links on columns other than post_date (e.g. alphabetically).
Sort next/previous links on custom fields (both string and integer sorts are supported).
Full WordPress 3.3 compatibility, including support for custom post types, custom taxonomies, and post formats.
Loop around to the first post if there is no next post (and vice versa).
Retrieve the first/last post, rather than the previous/next post (for First|Previous|Next|Last navigation links).
Display post thumbnails alongside the links (WordPress 2.9 or higher).
Truncate the link titles to any length, and display custom text in the tooltip.
Display the title, date, author, category, and meta value of the next/previous links.
Specify a custom date format for the %date variable.
Restrict next/previous links to same category, taxonomy, format, author, custom field value, custom post ID list, or custom category list.
Exclude categories, custom taxonomies, post formats, or individual post IDs.
Three category exclusion methods for greater control over the navigation stream.
Return multiple next/previous links (e.g. the next N links, in an HTML list).
Return the ID, title, date, href attribute, or post object of the next/previous links, instead of echoing them to the screen.
Return false if no next/previous link is found, so themes may conditionally display alternate text.
Works with Post Types Order and other popular post reordering plugins.
Extensive documentation on configuring the plugin may be found here:
http://www.ambrosite.com/plugins/next-previous-post-link-plus-for-wordpress
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Ambrosite Next/Previous Post Link Plus」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
PS Auto Sitemap 》PS Auto Sitemap 是一個 WordPress 外掛,自動從您的 WordPress 網站生成網站地圖頁面。, 對於初學者來說,安裝非常容易;對於專家來說,定制也非常容易。您...。
Post Type Switcher 》這個外掛在文章編輯介面中新增了一個簡單的文章型別下拉選單,讓你可以重新指派任何文章至新的文章型別。你可以在編輯文章時更換文章的型別。, 支援的型別, ...。
Post Duplicator 》這個外掛是用來製作選定文章的完全一模一樣複製。它支援自訂文章類型、自訂分類和自訂欄位。, *注意: 評論不會被複製到新文章。, 這個外掛的目的是為了快速且...。
Optimize Database after Deleting Revisions 》這個外掛是一個「一鍵式」WordPress資料庫清理/優化器。, 主要功能, , 刪除文章、頁面和/或自訂文章類型的修訂版本(您可以選擇保留最近的「X」個修訂版本,...。
Advanced Excerpt 》這個外掛可以改進 WordPress 原有的摘錄文章功能。, , 保留摘錄中的 HTML 標記,並可自選需要保留的標記, 按字元數或字數截斷摘錄, 只計算「真正的」文字(HT...。
Add From Server 》這個外掛提供有限的支援。請不要期望有太多新功能或修正 bug。功能可能隨時被移除。, Add From Server 外掛旨在幫助緩解不好的網站主機所造成的困擾,讓您可...。
Page and Post Clone 》這個外掛可以透過一個按鈕來複製貼文或頁面,現在您不必從零開始進行新頁面或貼文的樣式設計。, 這個外掛的主要功能包括:, , 建立一個頁面複本,保留所有內...。
WP Page Widget 》這款外掛讓小工具的選擇變得更加容易。啟用此外掛後,我們可以選擇要顯示在特定頁面/文章/自訂文章類型中的小工具。, 請注意,使用此外掛時必須啟用側邊欄主題。。
WP Total Hacks 》WP Total Hacks 可以在您的 WordPress 網站上自訂超過 20 個設置。, 此外掛已在 GitHub 上發布。, 一些功能:, 您可以選擇啟用或停用所有項目。, 需要 PHP5!...。
Revision Control 》**本外掛不提供支援。仍可使用,但請勿期待得到支援要求的回應或對「這無法運作」進行回應。**, Revision Control 是 WordPress 的一款外掛,可以讓使用者更...。
Reveal IDs 》WordPress 2.5版本發佈後,所有管理頁面的ID都被刪除了。這應該是因為普通用戶不需要它們。但對於高級WordPress用戶和開發人員來說,這些ID對某些外掛或模板...。
Bulk Delete 》Bulk Delete 是一個 WordPress 外掛,可以根據不同的條件和過濾器批次刪除文章、頁面、附件、使用者和元資料。此外掛支援以下條件和過濾器:, , 刪除文章, , ...。
WP Admin UI Customize 》, 儀表板, 顯示選項標籤, 輸出 - 元網站, 管理工具列 (Toolbar), 側邊選單 (Side menu), 元箱的管理, 登入畫面, 其他功能, , 這些自訂化都是可以實現的。, , ...。
Themify Portfolio Post 》Themify Portfolio Posts 是一個簡單的外掛,允許您展示乾淨版面的專案資訊。簡約而精美,您可以點擊您的圖庫專案的每張圖片,選擇顯示更多細節,例如專案類...。
Essential Content Types 》Essential Content Types 是一個 WordPress 外掛程式,讓您可以在您的網站上以不同的內容/文章類型展示出優秀的內容。這些內容/文章類型可能會被 WordPress ...。