add fetch function which get item list of each post type