WordPress Custom Fields Library ✨
OTHER License
Bot releases are visible (Hide)
Published by vvasilev- over 5 years ago
Published by vvasilev- over 5 years ago
registerContainerType
& getContainerType
to public API of metaboxes
package.default
and ''
values in post_template
condition._wpLoadGutenbergEditor
variable.Published by vvasilev- over 5 years ago
Published by ggeorgiev96 almost 6 years ago
Published by vvasilev- almost 6 years ago
carbon_fields_attachment_id_base_url
& carbon_fields_attachment_id_from_url
filters - #624.Published by vvasilev- almost 6 years ago
Block::make
to allow creating Gutenberg's blocks.lazyload
attribute of fields.Published by atanas-dev over 6 years ago
placeholder
attribute to date/time/datetime fields.Special thanks to all contributors for this release (in no particular order):
Published by atanas-dev almost 7 years ago
$_index
template tag for set_header_template()
Collapse/Expand All
button to complex fieldscarbon_get( $object_id, $name, $container_type, $container_id = '' )
functioncarbon_set( $object_id, $name, $value, $container_type, $container_id = '' )
functionpublish
(e.g. draft, pending) so users can save drafts without filling in all required fieldsCUSTOM
operator support for post_level
and term_level
conditionsempty()
which is not compatible with PHP 5.3set_page_parent()
not working when the parent container uses set_page_file()
Published by atanas-dev about 7 years ago
carbon_field_exists( $name, $container_type, $container_id = '' )
function which allows you to check if a specific field exists by it's name and container type or container idset_attributes( $attributes )
method to fields as a shortcut to avoid calling set_attribute()
multiple timespost_ancestor_id
post meta container condition (https://carbonfields.net/docs/containers-condition-types/?crb_version=2-1-0)term_parent
term meta container conditionterm_ancestor
term meta container conditionset_attribute()
support to select-based fields (select, gravity forms)post_template
condition will now deal with empty template values as if they are "default" (this way you only have to deal with "default" or exact template names)set_value_type( 'url' )
causing PHP errors when used on File/Image fieldspost_template
condition when the post in question has recently been changed to be the page for postsCUSTOM
operatorpost_type
container condition misbehaving when in an OR relationshipAlso big thanks to all contributors for this release - @vvasilev-, @jorostoyanov, @timiwahalahti, @campusboy87, @9585999, @soulseekah, @erichk4, @filippozanardo and @bjrhodes!
Published by atanas-dev about 7 years ago
Beta for internal use
Published by atanas-dev about 7 years ago
Beta for internal use
Published by atanas-dev about 7 years ago
carbon_fields_*_container_admin_only_access
filters for easier filteringcarbon_set_*()
methodsPublished by htmlburger-git over 7 years ago
Published by atanas-dev over 7 years ago
htmlburger/carbon-fields
is a normal composer package while the new htmlburger/carbon-fields-plugin
is a wordpress-plugin
type composer package (which requires htmlburger/carbon-fields
).htmlburger/carbon-fields
. If you want to use carbon fields as a WordPress plugin, require htmlburger/carbon-fields-plugin
instead. The documentation has a new Plugin Quickstart page with more information.$(document).on('carbonFields.validateField', function(e, fieldName, error) {})
. This allows you to validate fields on your own and return custom error messages if needed. More information has been added to the JavaScript API documentation page.Theme_Options_Container
's method set_page_position()
has been changed to set_page_menu_position
(set_page_position() is now an alias for backwards compatibility).set_page_menu_title()
to Theme Options container which allows you to override the page title in the administration menuset_collapsed()
will now be expanded.set_collapsed()
.Published by atanas-dev over 7 years ago
data-*
attributes in Field::set_attribute( $name, $value )
Published by atanas-dev over 7 years ago
Special thanks to all contributors for this release including @pedro-mendonca, @elvishp2006, @timiwahalahti, @campusboy87, @m1r0, @pkostadinov-2create, @georgeHtmlBurger, @yuliyan and others.
INCLUDES
and EXCLUDES
which work for array-based fields (e.g. Set_Field) and string-based fields (e.g. Text_Field)Complex_Field::set_collapsed()
method which allows you to control if groups should display collapsed on page load->set_options()
and ->add_options()
to both be able to receive callbacks and arrays.User_Meta_Container::show_for()
method to allow users other than administrators to interact with user meta containersPublished by m1r0 almost 8 years ago
Published by m1r0 about 8 years ago
Published by m1r0 about 8 years ago
Published by tyxla over 8 years ago
Time
field type.Date_Time
field type.Predefined_Options_Field
field types.set_width()
in nested or sibling Complex
fields.user_meta
container under certain conditions.post_meta
container to use page
post type when calling the show_on_page_children()
, show_on_page()
and show_on_template()
methods.Complex
field groups.theme_options
container.