function for showing only one category link