• 解決済 31.com

    (@31com)


    function.phpに
    //**************************************************
    /* カスタム投稿タイプの追加 */
    add_action( ‘init’, ‘create_post_type’ );
    function create_post_type() {
     register_post_type( ‘products’, /* post-type */
      array(
       ’labels’ => array(
       ’name’ => __( ‘商品’ ),
       ’singular_name’ => __( ‘商品’ )
      ),
       ’public’ => true,
       ’menu_position’ =>5,
      )
     );
    }

    を、書き足すのと同様のことを、

    Custom Post Type UI version: 0.8.4 を使ってやるみはどうすればいいのでしょう?

    検索してもどうもみあたらず、恐縮ですがどなたかお教えいただければ幸いです。

1件の返信を表示中 - 1 - 1件目 (全1件中)
  • トピック投稿者 31.com

    (@31com)

    post tyoeに日本語を設定してたら、Advanced custom filed のposttyoeのプルダウンメニューが空白になってました。
    半角英数にしたらなおりました。
    失礼しました。

1件の返信を表示中 - 1 - 1件目 (全1件中)
  • トピック「Custom Post Type UIでカスタム投稿タイプを追加」には新たに返信することはできません。