Added 'is_404' check to page tagline function