List YARPP Block

外掛說明

Adds a block that lists yarpp related posts in Twenty-Twenty-Three. Also provides an option to display the latest posts without the related posts. Works best with full site editing themes.

This block requires the YARPP plugin and relies on the yarpp_get_related() function.

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 in Gutenberg editor.
  • List YARPP block in the Theme Twenty-Twenty-Two
  • List YARPP block supports custom width.

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • List YARPP Block Will show 3 related posts or will not appear if no related posts are found.

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/list-yarpp-block directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈List YARPP Block〉的開發相關工作。

參與者

〈List YARPP Block〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈List YARPP Block〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.7.1

Fix: Added missing direct WordPress package dependencies so the JavaScript lint workflow passes.

2.7

Added: Frontend block output caching with automatic invalidation on content changes.
Improved: Faster latest-post queries through leaner ID-only lookups and cache priming.
Improved: GitHub Actions now use dependency caching for lint, build and deployment.
Fix: Renderer sanitizes stored block attributes before generating markup.
Fix: Latest mode works independently from missing or insufficient YARPP related posts.

2.6

Added: Tested compatibility with WordPress 6.9
Added: Migration to block api V3.
Fix: Links in the block UX are disabled.

2.5

Fix: Width of images is now 100% within the padding limits.

2.3

Fix: Image width set to auto.

2.2

Fix: Target blank broken link
Fix: image width won’t be saved.

2.1

  • Feature: New coding standards
  • Feature: Automatic WordPress repository deployment with GitHub actions.

1.5

  • Feature: Added option to open links in new tab.

1.4

  • Feature: Added YARPP required notice.

1.2

  • Fixed: fatal error if not enough related posts are found.

1.0

  • Inital version.