Más contenido relacionado
La actualidad más candente (20)
Similar a WordFes Nagoya 2013 活用事例発表会『WordPressの投稿画面で迷わせない方法』 (19)
WordFes Nagoya 2013 活用事例発表会『WordPressの投稿画面で迷わせない方法』
- 21. カスタム投稿タイプ
function interview_custom_post_type() {
$labels = array(
'name' => _x(' インタビュー ', 'post type general na
'singular_name' => _x(' インタビュー ', 'post type s
'add_new' => _x(' インタビュー記事を新規追加 ', 'inte
'add_new_item' => __(' 新規項目追加 '),
'edit_item' => __(' 項目を編集 '),
'new_item' => __(' 新規項目 '),
'view_item' => __(' 項目を表示 '),
- 26. function add_my_meta_box() {
add_meta_box( 'my_sectionid', ' イベント情報 ', 'my_cu
}
function my_custom_fields() {
global $post;
echo '<br><label for="text_field"> イベント名 </label>
echo '<input type="text" name="text_field" value="'.
echo '<label for="text_field"> 開催場所 </label><br>';
カスタムフィールド