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