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
Post a Comment