Added guard statement to exclude widget on all but single pages