[WordPress] 外掛分享: List YARPP Block

The editor preview shows regular posts; the related posts are applied on the frontend. Legacy block features Gutenberg column width support. The block is not visible in the frontend if no related posts are found. Minimum html and css that is based on the standard Gutenberg Latest Posts block. Valid HTML output. Inherits the style of your theme for links and headlines.

延伸相關外掛


首頁 › 外掛目錄 › List YARPP Block
10+
安裝啟用
—
尚無評分
37 天前
最後更新
—
問題解決
WordPress 6.5+ v3.1.0 上架:2021-11-29

內容簡介

List YARPP Block 外掛為 Twenty-Twenty-Three 佈景主題提供一個區塊,能夠列出相關文章,並可選擇顯示最新文章。此外掛最佳搭配全站編輯主題使用。 【主要功能】 • 支援 Gutenberg 欄位寬度 • 無相關文章時前端不顯示區塊 • 基於標準 Gutenberg 最新文章區塊的最小 HTML 和 CSS • 輸出有效的 HTML • 繼承佈景主題的連結和標題樣式

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.1.0) 或搜尋安裝
① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「List YARPP Block」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Displays YARPP related posts with the native Query Loop block. YARPP only provides the related post IDs, rendering is done by core blocks like Post Template, Post Featured Image and Post Title, so the layout can be styled in the Site Editor. The legacy List YARPP block is still included for existing sites. This block requires the YARPP plugin and relies on the yarpp_get_related() function. Query Loop integration Insert the YARPP Related Posts variation of the Query Loop block, or add these optional keys to the query attribute of any Query Loop block: "related": "yarpp" – Shows the YARPP related posts of the current post in YARPP order. "excludeCurrent": true – Excludes the currently viewed post. "excludeDisplayed": true – Excludes posts already shown by Query Loops rendered earlier on the same page. "requireThumbnail": true – Only shows posts with a featured image. "hideEmpty": true – Hides the whole Query Loop, including headings inside it, if no posts are found. "minPosts": 3 – Hides the whole Query Loop if fewer posts are found. Posts of a hidden Query Loop are not excluded by excludeDisplayed. Example: related posts followed by the latest posts without duplicates. The editor preview shows regular posts; the related posts are applied on the frontend. Legacy block features Gutenberg column width support. The block is not visible in the frontend if no related posts are found. Minimum html and css that is based on the standard Gutenberg Latest Posts block. Valid HTML output. Inherits the style of your theme for links and headlines.

延伸相關外掛


文章
Filter
Mastodon