外掛說明
Custom Field Suite (CFS) lets you add custom fields to your posts. It’s lightweight and battle-tested (there’s not much to break).
Things to know
- We do not provide support.
- This is a free plugin. We’re not selling anything.
- CFS includes 14 field types. There are no plans to add more.
- If you want all the bells-and-whistles, use ACF.
Field types
- Text
- Textarea
- WYSIWYG
- Date
- Color
- True / False
- Select
- File Upload
- Relationship
- Term
- User
- Loop (repeatable fields)
- Hyperlink
- Tab (group fields)
Usage
- Browse to the “Field Groups” admin menu
- Create a Field Group containing one or more custom fields
- Choose where the Field Group should appear, using the Placement Rules box
- Use the get method in your template files to display custom fields
Links
使用者評論
2023 年 6 月 17 日
Did exactly what I needed it to do; quickly and easily
2023 年 5 月 26 日
The plugin is worthy of attention, it copes with certain tasks better than ACF
2023 年 3 月 30 日
At the same time that it is simple, it is very powerful and helps a lot in development, especially with the field repeater.
Thanks to the developer.
2022 年 10 月 6 日
1 則留言
CFS()->get() - не работает, возвращает пустой массив, CFS()->get() === array()
по Id работает
2022 年 9 月 27 日
1 則留言
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!
參與者及開發者
變更記錄
2.6.4
- Fixed: cleared PHP8 deprecation notices
2.6.3
- Fixed: possible placement rules XSS (props Patchstack)
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