Περιγραφή
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
- Add a Query Loop block to your page
- In the block settings sidebar, find the “Pick Posts” panel
- Search and select posts from the dropdown
- Posts will be displayed in the order you selected
- 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
Εγκατάσταση
- Upload the plugin files to the
/wp-content/plugins/cherry-pick-for-query-loopdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- 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