Taxonomy changes

Bugfixes to taxonomy and post type not working

Signed-off-by: Luke Oatham <lukeoatham@gmail.com>