Check if post has term name, then do something