Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add template part for category archive content that omits category list #276

Merged
merged 1 commit into from
Feb 3, 2022

Conversation

coreymckrill
Copy link
Contributor

This is another issue that would probably benefit from Gutenberg supporting dynamic template parts. Since it doesn't, the workaround here is to add a content-category.html template part file so that category archives that don't have their own specific templates don't show the list of assigned categories on every post, since that would be redundant.

Fixes #273

@coreymckrill coreymckrill self-assigned this Feb 1, 2022
@coreymckrill coreymckrill merged commit 4c1d997 into trunk Feb 3, 2022
@coreymckrill coreymckrill deleted the fix/273/category-archives branch February 3, 2022 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Category archives shouldn't display post categories
2 participants