以前カスタムフィールドに配列を挿入することができるという記事を書きました。 このようにカスタムフィールドは配列やオブジェクトを追加することはできるのですが、ダッシュボード上に表示されないためあまり使い勝手がよくありません。 そこで編集はできませんが表示させる方法を考えてみました。 functions.phpへの記述 ダッシュボード上のカスタムフィールド一覧に表示させることができればよかったのですが、カスタムフィールド一覧のところは手が入れれないようでしたので、新しくメタボックスを作って表示させています。 以下のコードをfunctions.phpに追加します。