add real type and category list to post page