Cherry Pick for Query Loop

外掛說明

Cherry Pick for Query Loop extends the core Query Loop block with a post picking feature. Select specific posts and display them in any order you choose.

Features

  • Pick specific posts to display in Query Loop block
  • Search and select posts by title
  • Display posts in your selected order
  • Respects Query Loop filters (parent, category, keyword, etc.)
  • Works with any post type
  • Fully compatible with block themes

How it works

  1. Add a Query Loop block to your page
  2. In the block settings sidebar, find the “Pick Posts” panel
  3. Search and select posts from the dropdown
  4. Posts will be displayed in the order you selected
  5. To return to default behavior, simply remove all selected posts

Note: When posts are selected, sorting and sticky post settings are ignored.

Source Code

Source code and build tools are available at:
https://github.com/situtty/cherry-pick-for-query-loop

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/cherry-pick-for-query-loop directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Edit any page or post, add a Query Loop block, and find the “Pick Posts” panel in the block settings.

常見問題集

Does this work with custom post types?

Yes, it works with any post type that Query Loop block supports.

Will pagination still work?

Yes, pagination works normally. If you select 10 posts and set 3 posts per page, you’ll get 4 pages.

Can I use filters with post picking?

Yes, the post picker respects Query Loop filter settings (parent page, category, keyword, etc.). Only posts matching the filters will appear in the search dropdown.

What happens to sticky posts?

Sticky post settings are ignored when posts are selected. Posts are displayed in your selected order only.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈Cherry Pick for Query Loop〉的開發相關工作。

參與者

將〈Cherry Pick for Query Loop〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.1

  • Fixed: Translation file names corrected for proper localization
  • Fixed: Hardcoded Japanese strings replaced with translatable strings

1.0.0

  • Initial release