PageLines Framework: Add Custom Post Type (CPT) to Page Options
<?php
// from https://gist.github.com/cliffordp/73e26f831d3b88c1a6c2
// see also: http://v2.pagelinestheme.com/150
// PageLines Framework: Add Custom Post Type (CPT) to Page Options
add_filter( 'postsmeta_settings_array', 'pl_control_cpt' );
function pl_control_cpt( $array ) {
//1st one
$cpt = 'vendors'; //EDIT THIS FOR YOUR CUSTOM POST TYPE NAME
global $metapanel_options;
$array[ $cpt ] = array(
'metapanel' => $metapanel_options->posts_metapanel( $cpt ),
);
$array[ $cpt . '_archive' ] = array(
'metapanel' => $metapanel_options->posts_metapanel( $cpt . '_archive' ),
);
//copy and paste from above to add a 2nd CPT
return $array;
}