def obtain_tag_link(check = nil)
      segments = []
      if check.blank?
        return nil if  params[:slug].blank?
        segments = params[:slug].split('/')
      end

      t = obtain_term_check(check, segments, 'tag')
      
      (Setting.get('articles_slug') + '/' + Setting.get('tag_slug') + t.structured_url) if !t.blank?
    end
def obtain_tag_link(check = nil)
      segments = []
      if check.blank?
        return nil if  params[:slug].blank?
        segments = params[:slug].split('/')
      end

      t = obtain_term_check(check, segments, 'tag')
      
      (Setting.get('articles_slug') + '/' + Setting.get('tag_slug') + t.structured_url) if !t.blank?
    end
TAG Functions 
 returns the link to the given tag
 Params:
 +check+:: ID, slug, or name of the tag - if this is nil it will return the current tag you are on