Skip to main content
GoodFirstPicks
DashboardIssuesReposLeaderboard

GoodFirstPicks by Leaveitblank © 2026

CreatorRequest a RepoPrivacy PolicyTerms of Service
Related Posts: a fully customizable QL for content related by category/tag (building on “Latest Posts”) | GoodFirstPicks

Related Posts: a fully customizable QL for content related by category/tag (building on “Latest Posts”)

WordPress/gutenberg 5 comments 10h ago
View on GitHub
mediumopenScope: somewhat clearSkill match: maybeWordPressJavaScriptReact

Why this is a good first issue

Requires extending query capabilities while maintaining customization flexibility.

AI Summary

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.

Issue Description

What

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.

Why / context

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.

Key requirement

The results must be 100% customizable, like Query Loop:

  • Editors can edit the layout and structure of each result (title, featured image, excerpt, meta, etc.)
  • Choose list/grid/card layouts via patterns or inner blocks
  • Style it using the normal block styling tools

Notes

  • Latest Posts can serve as a reference point for filtering/sorting UI, but the main requirement is that Related Posts should not be constrained to fixed “views” like Latest Posts is today.
  • Implementation details (how relatedness is calculated, fallbacks, avoiding showing the current post, etc.) are left open for developer discussion.

GitHub Labels

[Type] EnhancementNew Block

Want to work on this?

Claim this issue to let others know you're working on it. You'll earn 20 points when you complete it!

Risk Flags

  • requires WP_Query modifications
  • needs taxonomy term handling
Loading labels...

Details

Points20 pts
Difficultymedium
Scopesomewhat clear
Skill Matchmaybe
Test Focusedno