fixed display of role with each move through adding post type to argument array and reseting post data after the nested loop