Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Dalton Rooney

    (@daltonrooney)

    Hi Aljuk,
    The WP authors changed the functionality of the gallery uploader in 3.5 at the last minute. For a while there it was impossible to sort images attached to a page. The new metabox is less necessary now that they’ve added that back in, but it may still be useful.

    To add the uploader panel to a CPT, you will need to add something to your theme’s functions.php. I think this might work – although I haven’t tested it:

    add_action( 'add_meta_boxes', 'your_custom_add_custom_box' );
    
    	function your_custom_add_custom_box() {
    		add_meta_box('ps_custom_post_type_uploads', __('Portfolio Slideshow', 'port_slide'), 'ps_custom_post_type_uploads', 'your_cpt', 'normal', 'default');
    	}

    Just replace “your_cpt” with your custom post type, I think that should do it!

    Dalton

    Thread Starter aljuk

    (@aljuk)

    Awesome, thanks. I’ll check this out today.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CPT support?’ is closed to new replies.