• Hi, in my wp general post, it shows the visual composer’s button… now I have a custom post type but the visual composer’s button didn’t shows up…

    does anyone have an idea about this?

Viewing 1 replies (of 1 total)
  • Thread Starter pythonidea

    (@pythonidea)

    I tried to do this but nothing happens..

    `$args = array(
    ‘labels’ => $labels,
    ‘public’ => true,
    ‘show_ui’ => true,
    ‘capability_type’ => ‘post’,
    ‘hierarchical’ => false,
    ‘rewrite’ => array(‘slug’ => ‘work-view’, ‘with_front’ => true),
    ‘query_var’ => true,
    ‘show_in_nav_menus’=> false,
    ‘supports’ => array(‘title’, ‘editor’, ‘wpb-visual-composer’)
    );

    register_post_type( ‘work’ , $args );`

Viewing 1 replies (of 1 total)
  • The topic ‘how to add visual composer button in custom post type’ is closed to new replies.