Requires extending query capabilities while maintaining customization flexibility.
The issue proposes a Related Posts block with Query Loop-like customization, building on Latest Posts functionality. It requires modifying query logic to filter by shared terms (categories/tags) while preserving design flexibility. Main uncertainty is how deeply to integrate with existing query systems.
Create a new core block called Related Posts (optionally usable for Pages too) that displays content related to the current post—primarily based on shared author, categories, and/or tags. This block should be as customizable as a Query Loop (layout and inner blocks), not limited to a couple of preset views.
WP already includes a Latest Posts block, which is close to this idea and could be a good foundation:
🟢 Pro: It has helpful sorting/filtering controls (category, author, order). 🔴 Con: Limited in design flexibility: Only list/grid/card-style options, without customization of its components.
A Related Posts block would solve a very common need while keeping design control in the editor.
The results must be 100% customizable, like Query Loop:
Claim this issue to let others know you're working on it. You'll earn 20 points when you complete it!