add sub category frontpage function