I'm trying to show related entries to current entry by tag ID (which is working fine) but getting hung up when trying to exclude the current entry from the loop. I think I'm having an issue with paginate tags requiring an element criteria model but I'm not able to figure out how to get around this.
{% set segment = craft.request.lastSegment %}
{% for entries in craft.entries.slug(segment) %}
{% set current = craft.entries.slug(segment) %}
{% set tagId = entry.myTagFieldHandle.first() %}
{% set suite = craft.entries.relatedTo(tagId) %}
{% paginate suite|without(current) as entries %}
{% for entry in entries %}
{{ entry.title }}
{% endfor %}
{% endpaginate %}
{% endfor %}
Excluding the without filter on paginate outputs everything fine, but includes the current entry. I know there are probably better ways of doing this and I appreciate any help, thanks!