fix(widgets): resolve term covers through the canonical category chain #24

Merged
kate522 merged 1 commits from worktree/fix-term-aggregation-cover into main 2026-09-05 04:07:40 +00:00
Owner

The shared term cover helper read aksrt_cover_url/cover_url term meta,
keys this theme never writes, so 分类图文卡片 dropped every card and
分类聚合卡片 always rendered an empty cover box. Resolve covers the way
the rest of the theme does (aksrt_category_cover_id → latest thumbnailed
post in the term), and let the aggregation card fall back to the theme
placeholder while term cards stay hidden without a real cover.

The shared term cover helper read aksrt_cover_url/cover_url term meta, keys this theme never writes, so 分类图文卡片 dropped every card and 分类聚合卡片 always rendered an empty cover box. Resolve covers the way the rest of the theme does (aksrt_category_cover_id → latest thumbnailed post in the term), and let the aggregation card fall back to the theme placeholder while term cards stay hidden without a real cover.
kate522 added 1 commit 2026-09-05 04:07:35 +00:00
The shared term cover helper read aksrt_cover_url/cover_url term meta,
keys this theme never writes, so 分类图文卡片 dropped every card and
分类聚合卡片 always rendered an empty cover box. Resolve covers the way
the rest of the theme does (aksrt_category_cover_id → latest thumbnailed
post in the term), and let the aggregation card fall back to the theme
placeholder while term cards stay hidden without a real cover.
kate522 merged commit 5b7b904bde into main 2026-09-05 04:07:40 +00:00
kate522 deleted branch worktree/fix-term-aggregation-cover 2026-09-05 04:07:41 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kate522/wordpress-theme-aksrt#24