adding category links to posts