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

[5.x] Add {{ taxonomy:count }} tag #10923

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

aerni
Copy link
Contributor

@aerni aerni commented Oct 9, 2024

This PR adds a count method to the taxonomy tag. This is a simple copy of the existing {{ collection:count }} tag.

{{ taxonomy:count in="categories" collection="galleries" }}

I needed this for the upcoming photography starter kit.

@aerni aerni changed the title Add {{ taxonomy:count }} tag [5.x] Add {{ taxonomy:count }} tag Oct 9, 2024
@jasonvarga jasonvarga merged commit e2ac85e into statamic:5.x Oct 9, 2024
17 of 19 checks passed
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.

2 participants