add wp_type to backend

 exchange wp_option to wp_type