[WordPress] 外掛分享: LLM Friendly

首頁外掛目錄 › LLM Friendly
WordPress 外掛 LLM Friendly 的封面圖片
10+
安裝啟用
尚無評分
85 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v0.1.0 上架:2026-01-15

內容簡介

總結:LLM Friendly 外掛為您的 WordPress 網站新增了兩項功能,分別是 /llms.txt 與 Markdown 匯出。這些功能可以方便 LLMs,索引機器人和喜歡純文本的使用者操作網站。

1. 這個外掛增加了哪兩個功能至您的 WordPress 網站?
- /llms.txt:包含網站的主要連結和每種文章類型的最新項目清單。您可以透過「設定→ LLM Friendly→ llms.txt→『排除項目』」來排除個別條目。
- Markdown 匯出:揭露選定文章類型的 .md 終端點。每個條目都可以通過「Markdown覆蓋」側邊欄面板(或經典編輯器顯示框)覆蓋其Markdown主體,同時也可以通過相同設置頁面進行排除。

2. 這項功能對於哪些用戶或應用程式有幫助?
- 對於 LLMs,索引機器人,以及喜歡純文本的使用者有幫助。
- 可以透過 llms_show_excerpt 選擇在 llms.txt 中啟用摘要,並透過 md_send_noindex 將 X-Robots-Tag: noindex, nofollow 送達 Markdown 匯出,以便不希望被搜索引擎索引的Markdown專用消費者。
- 若自動Markdown轉換不適用於文章,可以使用「Markdown覆蓋」側邊欄面板(古韻博客編輯器)或經典編輯器顯示框提供自定義Markdown或基於區塊的替換。

3. 這個外掛的關鍵功能有哪些?
- llms.txt 終端點具有緩存生成、可選摘要、可配置的自定義Markdown區塊,以及逐條排除列表。
- 選定文章類型的Markdown匯出,具有Gutenberg-to-Markdown轉換,每一條文章都共用llms.txt的排除列表。
- 可配置的匯出基本路徑(例如「llm」),以及每篇文章類型的啟用/停用切換;更改基本路徑需要刷新重新覆寫。
- llms.txt 具有ETag/Last-Modified標頭的手動或自動重新生成。
- 可選用於 /llms.txt 和 Markdown匯出的X-Robots-Tag: noindex, nofollow;Markdown標題由md_send_noindex控制。
- 通過 llms_show_excerpt 切換llms.txt 中的摘要以在每個項目下添加一行摘要。
- 可選的站點標題/說明覆蓋,以及用於生成llms.txt的站點地圖URL字段。

4. 這個外掛的需求是什麼?
- WordPress 6.0+ 和 PHP 7.4+。
- 如果不滿足需求,外掛會顯示管理通知,並停止運行。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1.0) 或搜尋安裝

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

原文外掛簡介

LLM Friendly adds two capabilities to your WordPress site:
1) /llms.txt
An LLM-friendly index of the website with main links and a list of latest items per post type. You can exclude individual entries from the feed via Settings → LLM Friendly → llms.txt → “Excluded items”.
2) Markdown exports
For selected post types, the plugin exposes .md endpoints under:
{base}/{post_type}/{path}.md
Entries can override their Markdown body via the “Markdown override” sidebar panel (or Classic Editor metabox) and can also be excluded from export through the same settings page.
This is useful for LLMs, indexing bots, and users who prefer plain text.
You can opt in to excerpts in llms.txt via llms_show_excerpt, and you can send X-Robots-Tag: noindex, nofollow for Markdown exports via md_send_noindex if you want Markdown-only consumers without search engine indexing.
If the automatic Markdown conversion does not fit a post, use the “Markdown override” sidebar panel (Gutenberg) or the Classic Editor metabox to provide a custom Markdown or block-based replacement.
Key features

llms.txt endpoint with cached generation, optional excerpts, a configurable custom Markdown block, and a per-post exclusion list.
Markdown exports for selected post types with Gutenberg-to-Markdown conversion, per-post Markdown overrides (sidebar panel/metabox), and a per-post exclusion list shared with llms.txt.
Configurable base path for exports (e.g. “llm”) and per-post-type enable/disable toggles; changing the base path requires flushing rewrites.
Manual or automatic regeneration of the cached llms.txt with ETag/Last-Modified headers.
Optional X-Robots-Tag: noindex, nofollow for both /llms.txt and Markdown exports; the Markdown header is controlled by md_send_noindex.
Toggle excerpts in llms.txt via llms_show_excerpt to add one-line summaries under each item.
Optional site title/description overrides plus a sitemap URL field for the generated llms.txt.

Requirements

WordPress 6.0+
PHP 7.4+

If requirements are not met, the plugin displays an admin notice and does not run.

延伸相關外掛

文章
Filter
Mastodon