タグ

2013年2月24日のブックマーク (3件)

  • カスタムフィールド-Advanced Custom Fields | WordPress 編

    Advanced Custom Fields のカスタムフィールドはフィールドグループ単位で管理され、フィールドグループを投稿タイプやタクソノミーと結合することで、ポスト編集画面にカスタムフィールドが現れます。 参照:ポストとカスタムフィールドの結合-一般論 フィールドグループ管理 まず、カスタムフィールドを所属させるフィールドグループを作成します。 Bugs 「Custom fields for non-public post types, but publicly queryable(=>)」 とあります。 フィールドタイプの編集 フィールド一覧 「新規追加」ボタンをクリックしてフィールドタイプを追加できます。また、右側の数字を Drag & Drop してフィールドの表示順を変更できます。 位置―編集画面にフィールドグループを表示する フィールドグループ(結局のところカスタムフィール

    hr07jp
    hr07jp 2013/02/24
    Advanced Custom Fields-フィールドグループ
  • ACF | Resources, Documentation, API, How to & Tutorial Articles

    Getting Started Advanced Custom Fields is a WordPress plugin which allows you to add extra content fields to your WordPress edit screens. These extra content fields are more commonly referred to as Custom Fields and allow you to build websites faster and educate your clients quicker.

    ACF | Resources, Documentation, API, How to & Tutorial Articles
    hr07jp
    hr07jp 2013/02/24
    Advanced Custom Fields_Documentation
  • Advanced Custom Fields-フィールドタイプ | WordPress 編

    カスタムフィールドを表示する基的な関数は、 the_field( $field_name, $post_id ); echo get_field( $field_name, $post_id ); $field_name:フィールド名  $post_id:通常はポスト ID ですが、ポストID 以外の場合もあります の2つです。その他にも、Repeater(有料オプション)用の関数やショートコードも用意されています。 フィールドタイプ 解説 Text インデックスへ Text Field は、単一行のテキストを入力できます。URL や E-mail かをチェックするバリデーション機能はありません。 フィールド定義時のオプション フィールドの値に HTML を含むときの動作を指定できます。 ・無:HTML タグとして認識せず、文字列としてそのまま吐き出します。 ・HTMLHTML

    hr07jp
    hr07jp 2013/02/24
    Advanced Custom Fields-フィールドタイプ