[WordPress] 外掛分享: Advanced Excerpt

首頁外掛目錄 › Advanced Excerpt
WordPress 外掛 Advanced Excerpt 的封面圖片
80,000+
安裝啟用
★★★★
4.3/5 分(101 則評價)
788 天前
最後更新
0%
問題解決
WordPress 3.2+ v4.4.1 上架:2007-08-27

內容簡介

這個外掛可以改進 WordPress 原有的摘錄文章功能。

保留摘錄中的 HTML 標記,並可自選需要保留的標記
按字元數或字數截斷摘錄
只計算「真正的」文字(HTML 標記會忽略但仍保留在摘錄中)
可自訂摘錄字數、省略號樣式
在摘錄中不會出現截斷單詞或句子
可在文章加入「閱讀全文」的超連結
忽略使用者自訂的摘錄內容,改用自動生成的內容
佈景主題開發者可使用 the_advanced_excerpt() 以取得更多控制權(請參閱 FAQ)

大部分功能都是選用或可由使用者或佈景主題開發者自訂

橫幅圖片來源 – chillihead

原始外掛作者 – basvd

有用資源

什麼是 WordPress
免費佈景主題 和 外掛

外掛標籤

開發者團隊

⬇ 下載最新版 (v4.4.1) 或搜尋安裝

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

原文外掛簡介

This plugin adds several improvements to WordPress’ default way of creating excerpts.

Keeps HTML markup in the excerpt (and you get to choose which tags are included)
Trims the excerpt to a given length using either character count or word count
Only the ‘real’ text is counted (HTML is ignored but kept)
Customizes the excerpt length and the ellipsis character that are used
Completes the last word or sentence in an excerpt (no weird cuts)
Adds a read-more link to the text
Ignores custom excerpts and use the generated one instead
Theme developers can use the_advanced_excerpt() for even more control (see the FAQ)

Most of the above features are optional and/or can be customized by the user or theme developer.
Banner image credit – chillihead
Original plugin author – basvd
Useful Resources

What is WordPress
Fee Themes and plugins

延伸相關外掛

文章
Filter
Apply Filters
Mastodon