[WordPress] 外掛分享: Custom Pagination

首頁外掛目錄 › Custom Pagination
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
4099 天前
最後更新
問題解決
WordPress 2.8+ v1.0.2 上架:2009-08-24

內容簡介

使用 Custom Pagination 外掛,使用者可以使用 HTML 編輯器自定義文章的「下一篇」及「上一篇」的外觀。此外掛是由WebIT.ca(Dimitry Zolotaryov)開發,由DateDaily.com(一個線上交友和情感部落格)提供資金支持。
要建立連結,使用者只需選擇文章內容中的文字標籤,並點擊連結圖示。在連結網址欄位中,以下列值將會產生與另一頁面的連結:

page:next 連結到下一頁
page:prev 或 page:previous 連結到上一頁
page:first 連結到這篇文章的第一頁
page:last 連結到這篇文章的最後一頁
page:n 連結到這篇文章的第 n 頁(例如第二頁的值為 page:2)

如果所連結的頁面不存在(例如在最後一頁使用 page:next),則該連結及其文字標籤皆不會顯示。所有由 Custom Pagination 處理的連結都會有額外的類別名稱「page」,若您希望為這些連結設計樣式,可以在 CSS 中加入以下行:
a.page { /* 在這裡設計樣式 */ }
欲瞭解更多詳細資訊,請造訪Custom Pagination 外掛首頁。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Custom Pagination」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

With the Custom Pagination plugin, a user may customize the look of a post’s next and previous links using the HTML editor. It is built by WebIT.ca (Dimitry Zolotaryov) and funded by DateDaily.com: an online dating and relationship blog.
The link is created by selecting the text label within a post’s body and clicking the link icon. In the Link URL field, the following values will produce a link to another page:

page:next links to the next page
page:prev or page:previous links to the previous page
page:first links to the first page of the post
page:last links to the last page of a post
page:n links to the nth page of a post (e.g. page:2 for the second page)

If link is directing to a page that does not exist — for instance page:next on the last page –, the link and the link text do not appear.
All links processed by Custom Pagination will have the added class name ‘page’. If you wish to style such links, in your CSS, add the line:
a.page { /* page style goes here */ }

For more information, visit the Custom Pagination plugin homepage.

延伸相關外掛

文章
Filter
Mastodon