Advanced Custom Fields の記事一覧
![[WA]Advanced Custom FieldsのRepeaterで1つ目の情報を取得する方法](https://www.webantena.net/wp-content/uploads/2015/08/advancedcustomfields.png)
Advanced Custom FieldsのアドオンであるThe Repeater Fieldに登録された画像の中で、1枚目の情報を取得して表示する方法のご紹介です。
続きを読む
![[WP]Advanced Custom FieldsのGoogle Mapを表示する方法](https://www.webantena.net/wp-content/uploads/2018/01/advanced-custom-fields-google-map.png)
WordPressのカスタムフィールド拡張プラグインAdvanced Custom Fieldsで、Google Mapのフィールドに登録した地図情報を出力する方法のご紹介です。
続きを読む
![[WP]Advanced Custom Fieldsの日付フィールドの値から曜日を取得して表示する方法](https://www.webantena.net/wp-content/uploads/2015/08/advancedcustomfields.png)
WordPressのカスタムフィールド拡張プラグイン「Advanced Custom Fields」のDate Time Pickerを使えば、日付の登録と表示ができるようになりますが、その日付フィールドに入力された日付の値から曜日を取得して、「月火水木金土日」の形式で表示する方法を紹介させていただきます。
続きを読む
![[WA]Advanced Custom Fieldsのテキストエリアで指定文字数で抜粋表示する方法](https://www.webantena.net/wp-content/uploads/2015/08/advancedcustomfields.png)
WordPressのAdvanced Custom Fieldsプラグインのテキストエリアに登録されたテキストを、50文字や100文字など指定文字で抜粋して表示する方法のご紹介です。
続きを読む
![[WP]Advanced Custom FieldsのWYSIWYGフィールドからPタグを除去する方法](https://www.webantena.net/wp-content/uploads/2015/08/advancedcustomfields.png)
WordPressのカスタムフィールド拡張プラグイン「Advanced Custom Fields」で、WYSIWYG Editorに入力した文字列(文章)を出力する際に、<P>タグを除去する方法のご紹介です。
続きを読む
![[WP]Advanced Custom FieldsのWYSIWYGでテキストとビジュアル両方のエディタを利用する方法](https://www.webantena.net/wp-content/uploads/2015/08/advancedcustomfields.png)
Advanced Custom FieldsのWYSIWYGは、テキストエディタとビジュアルエディタを切り替えて利用することができなのですが、「Advanced Custom Fields: WP WYSIWYG」というアドオンを利用することで、通常投稿や固定ページ本文の編集時のように、両方のエディタを使うことができるようになります。
続きを読む