You will find an example of a post with custom fields when you install b2evolution with the demo content:
You can define custom fields in the Item Type Form.
Custom fields can have different types: numbers (floating point numbers with double precision), text strings (varchars), URLs, text, etc.
You can define as many custom fields of each type as you want and give them a name each. Each custom field has a field index which can be generated from the field name. The field index is the trimmed lowercase value of the field name where the white spaces are converted to one single underline character. Field indexes must be unique in a collection ( this way field names are also unique ).
Sample field names and corresponding field indexes:
- ‘Color’ =>
- ‘Name of custom field’ =>
- ‘Max speed (km/h)’ =>
There are basically 3 ways to display custom fields:
Created by • Last edit by on Jun 12, 2019