finish search posts using category id