説明
Custom Field Suite (CFS) lets you add custom fields to your posts. It’s lightweight and battle-tested (there’s not much to break).
知っておくべきこと
- サポートは提供していません。
- これは無料のプラグインです。販売しているものはありません。
- CFS includes 14 field types. There are no plans to add more.
- If you want all the bells-and-whistles, use ACF.
フィールドタイプ
- テキスト
- テキストエリア
- WYSIWYG
- 日時
- カラー
- 真 / 偽
- セレクト
- ファイルのアップロード
- 関係
- ターム
- ユーザー
- ループ(繰り返し可能なフィールド)
- ハイパーリンク
- タグ (グループフィールド)
使い方
- 「フィールドグループ」の管理メニューを表示する
- 1つ以上のカスタムフィールドを含むフィールドグループを作成する
- フィールドグループを表示する場所を配置ルールボックスを使って選ぶ
- Use the get method in your template files to display custom fields
リンク
評価
2022年10月6日
1 reply
CFS()->get() - не работает, возвращает пустой массив, CFS()->get() === array()
по Id работает
2022年9月27日
1 reply
Hello, greetings.
Congratulations for the plugin, despite its simplicity, it fulfills to add custom things to wordpress.
I am adding a custom field similar to the user field, extending the cfs_field class.
The only problem I saw is that when I add the limitations, it doesn't take them in the backend.
from what I saw in the code, it is because there is no filter that allows other fields to be accepted, that is what I see so far.
the code to which I refer is in
plugins\custom-field-suite\includes\form.php
line 344
where I have to add a filter as follows
php
$typesValidation = apply_filters('cfs_form_types_validation', [ 'relationship', 'user', 'loop' ]);
if ( in_array( $field->type, $typesValidation ) ) {
I still can't find another way to do this without modifying the plugin code
2022年9月21日
Searching, testing that and that other but always the features I needed in other plugins were premium... then I found this fantastic plugin, clean, lite, no premium adds, completely free and has everything I need it like repeatable group of fields! Thanks to the developer for this!
2022年5月7日
It can do almost everything I need. The only thing is - you can upload a file, but you can't pick already uploaded file from a library.
2021年5月19日
1 reply
Clean and easy to use.
2021年2月18日
Thank you to the developers for this plugin
貢献者と開発者
変更履歴
2.6.2.1
- Confirmed 6.0.1 compatibility
2.6.2
- Removed broken links, confirmed 5.9 compatibility
2.6.1
- Fixed: PHP8 warnings
2.6
New: moved CFS into “Settings” menu
Improved: relationship fields now only run 1 query to retrieve related posts
Improved: code modernization
Improved: styling tweaks
Fix: “Posts” field group rule ajax wasn’t loading