Wordpress plugin with Custom Post Types