custom-field-suite | Custom fields UI for WordPress | Content Management System library
kandi X-RAY | custom-field-suite Summary
kandi X-RAY | custom-field-suite Summary
Please see the official WordPress.org project page.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Render cFS file .
- Save custom fields
- Save custom fields
- Render a recursive loop
- CFS column content
- Search posts .
- Clean up the database table
- Output field meta
- Output field options
- Insert the select2 code
custom-field-suite Key Features
custom-field-suite Examples and Code Snippets
Community Discussions
Trending Discussions on custom-field-suite
QUESTION
In Wordpress, there is a plugin called Custom Field Suite: https://nl.wordpress.org/plugins/custom-field-suite/
The problem? I can't target all fields in a specific field group. I can see that the field group is of type post, but I can't seem to target it.
The API has also no information about it: https://mgibbs189.github.io/custom-field-suite/api.html
My ambition is to fetch all fields in a specific field group, instead of having to query all fields one by one.
Any chance someone has got it to work?
Edit:
If I do a var dump of what is there, I do not find the names of the field groups. That is the whole problem.
...ANSWER
Answered 2021-Oct-01 at 19:40When we create a group of fields in the CFS plugin, we technically create a custom post type called cfs
We will also create three custom fields:
- cfs_extras - This is where the field group settings are stored
- cfs_rules - the conditions to show the fields group, in which custom post type or taxonomy it should be shown
- cfs_fields - additional fields of the group are stored here
If we need to find fields for a group of fields, first we have to make a query like this
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install custom-field-suite
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page