Viewing 3 reply threads
  • Author
    Posts
    • #8875
      lrtrln
      Participant

      Hello,
      It seems that on piklist 0.9.9.16 this problem is still not resolved
      https://piklist.com/support/topic/post-status-remains-draft-in-submitbox/

    • #8877
      Steve
      Keymaster

      @lrtrln– Please post your piklist_post_types code

    • #8878
      Steve
      Keymaster

      @lrtrln– Please post your piklist_post_types code

    • #8879
      lrtrln
      Participant

      Post type register with register_post_type

         $args_CPT = array(
               'label'               => __('CPT'),
               'labels'              => $labels_CPT,
               'public'              => true,
               'publicly_queryable'  => true,
               'can_export'          => true,
               'show_ui'             => true,
               '_builtin'            => false,
               'capability_type'     => 'CPT',
               'map_meta_cap'        => true,
               'menu_position'       => 30,
               'menu_icon'           => 'dashicons-chart-bar',
               'hierarchical'        => true,
               'rewrite'             => array( "slug" => "CPT", 'with_front' => false),
               'show_in_rest'        => true,
               'rest_base'           => 'CPT',
               'query_var'           => true,
               'supports'            => array('title', 'thumbnail', 'revisions') ,
               'show_in_nav_menus'   => true,
               'has_archive'         => true,
               'exclude_from_search' => false
            );
      
            register_post_type( 'CPT', $args_CPT );
Viewing 3 reply threads
  • You must be logged in to reply to this topic.