wordpress - Custom Post Type does not appear in nav_menu -



wordpress - Custom Post Type does not appear in nav_menu -

i have several custom post types in template. want build menu not appearing. here initialising custom post type:

add_action( 'init', 'create_subpage_type' ); function create_subpage_type() { register_post_type( 'subpage', array( 'show_in_nav_menus' => true, 'labels' => array( 'name' => __( 'disziplinen' ), 'singular_name' => __( 'disziplin' ) ), 'public' => true, 'supports' => array( 'title'), 'rewrite' => array('slug' => 'behandlungen'), ) ); }

i think in view should 'disziplin' appear, shouldn't it?

thanks help. cheers

try clicking on "screen options" in top / right. boxes hidden default.

wordpress

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -