Hi there,
it seems I got the whole idea behind {count} wrong, which in itself is great, but not what I currently need.
I don’t want to modify an entry based on it’s number, I want to conditionally embed a snippet, when the post-count of the current channel equals 10 or more.
Something like this:
{exp:channel:entries channel="{embed:channel}" orderby="date" sort="desc" dynamic="no"}
{if number_of_entries >= "10"}
{snp_filter}
{/if}
{/exp:channel:entries}
The problem - besides the fantasy variable - is, that when I do it like this, the snippet is repeated for every entry in the loop.
So basically I just want to show some HTML anywhere on the page based on the number of entries currently displayed on that page.
Thanks! 😊