A
A
Alex_872021-10-18 16:17:06
WordPress
Alex_87, 2021-10-18 16:17:06

How to work in carbon fields?

Hello! Please help! I use carbon fields.
1) Question with categories! Should a category be included in a taxonomy? Why I ask, since wp itself already has the ability to add a category. But I would like to be able to register it for
projects

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Zolin, 2021-11-05
@Alex_87

1. For custom post types, it's better to add custom taxonomies, it's easier to manage and less likely to run into complex errors
2. You can add multiple image fields Or one media_gallery field
Field::make( 'image', 'crb_image', __( 'Image' ) )

Field::make( 'media_gallery', 'crb_media_gallery', __( 'Media Gallery' ) )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question