I've produced a custom publish type known as 'Case Studies' ... What i wish to have the ability to do is display this area using the groups of normal posts within the Situation Studies 'add example page', in order to choose posts which are connected using the example im making.
All of this completed in the admin section.
Any suggestions could be great.
Ohh, interesting. Not too i've carried this out before however i just considering it causes it to be exciting. I actually do things just a little dirty so forgive me.
I'd a unique tag to my custom publish. Adding another loop to my custom publish that will query posts according to that tag.
Inside your register_publish_type functions arguments array parameter - add the next key and array value to include the standard groups within the custom publish type add/edit page:
'taxonomies' => array("category").
A good example:
register_post_type( 'slider', array( 'labels' => array( 'name' => _x( 'Slider', 'post type general name' ), 'singular_name' => _x( 'Slider', 'post type singular name' ), 'add_new' => _x( 'Add New', 'Slider' ), 'add_new_item' => __( 'Add New Slider' ), 'edit_item' => __( 'Edit Slider' ), 'new_item' => __( 'New Slider' ), 'view_item' => __( 'View Slider' ), 'search_items' => __( 'Search Slider' ), 'not_found' => __( 'No Slider Items found' ), 'not_found_in_trash' => __( 'No Slider Items found in Trash' ), 'parent_item_colon' => '' ), 'public' => true, 'exclude_from_search' => true, 'show_in_nav_menus' => false, 'supports' => array('title','thumbnail'), 'taxonomies' => array("category"), /* This is what you are looking for and the value has to be an array. */ 'rewrite' => true, 'capability_type' => 'post', 'hierarchical' => false, 'menu_position' => null, ) );
For particulars please visit: