Display all tags except current tag?

Since the tag is urlencoded, you need to compare to the urldecoded value:

if ($tag === urldecode(param('tag'))) { continue; }
1 Like