We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Referring to documentation here: https://statamic.dev/taxonomies#listing-term-entries
There is no way to work with the paginator in Blade. All properties are protected.
I have to use the collection tag instead, e.g.:
<statamic:collection:resources paginate="9" :taxonomy:categories="$page['slug']" as="entries" > @if ($no_results) <p>xxx</p> @else @foreach ($entries as $entry) {{ $entry['title'] }} @endforeach @endif @if ($paginate['total_pages'] > 1) <a href="{{ $paginate['prev_page'] }}">⬅ Previous</a> {{ $paginate['current_page'] }} of {{ $paginate['total_pages'] }} pages (There are {{ $paginate['total_items'] }} posts) <a href="{{ $paginate['next_page'] }}">Next ➡</a> @endif </statamic:collection:resources>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Referring to documentation here: https://statamic.dev/taxonomies#listing-term-entries
There is no way to work with the paginator in Blade. All properties are protected.
I have to use the collection tag instead, e.g.:
The text was updated successfully, but these errors were encountered: