How to Create a Group of Custom Fields with Meta Box Group

How to Create a Group of Custom Fields with Meta Box Group

Bunching custom fields aim to rearrange the related custom fields into one group. For instance, one group of contact information contains related custom fields such as name, phone number, address and email. Grouping may make the custom fields look better and more logical when they display. In addition, it brings some other benefits of organizing data afterward.

Continue reading "How to Create a Group of Custom Fields with Meta Box Group"

How To Store Cloneable Fields In Multiple Rows In The Database

How to Convert Cloneable Fields to Store Values in Multiple Rows in the Database

Normally, the data saved in a custom field is stored in one row only in the database, even when it is a cloneable or repeater field. Storing values in a row helps reduce the database size, but it’s so difficult to query posts by cloneable fields' values. Then, we should convert its data to be stored in multiple rows. It helps to improve query performance and brings some other benefits in terms of management and flexibility in expanding and updating data. Let’s follow this tutorial to learn how to do it.

Continue reading "How to Convert Cloneable Fields to Store Values in Multiple Rows in the Database"