copy or clone custom fields from a site to other with meta box builder

How to Easily Copy Custom Fields From One Site to Others with Meta Box Builder

If you regularly work with many different projects in website development, especially the projects have the similar custom fields, this post will be useful for you. This guide will bring you an easy way to copy meta boxes and custom fields from one site to others with our Meta Box Builder.

Continue reading “How to Easily Copy Custom Fields From One Site to Others with Meta Box Builder”

Get Post by Custom Fields in WordPress, example in advanced search

Get Posts by Custom Fields in WordPress

In the first post of this series, we knew about the application of custom fields which allows users to add arbitrary information into posts. But what do you do after that? In the recent post, you also learned how to add custom fields programmatically and display them in your theme. But you’ll see a shortcoming if there is no classification and searching. This post will guide you on how to get posts by custom fields and we’ll create an interesting application: advanced search.

Continue reading “Get Posts by Custom Fields in WordPress”

How to use Composer to install Meta Box extensions from WordPress.org

How to use Composer to install Meta Box extensions from WordPress.org

Not long time ago, I introduced Composer support for the premium extensions of Meta Box. However, in the actual project, sometimes you need free Meta Box extensions hosted on wordpress.org. Extensions such as MB Rest API and MB Relationships are really useful for some of your projects. Then how to use Composer for the WordPress plugins on wordpress.org? This article will show you how to do that.

Continue reading “How to use Composer to install Meta Box extensions from WordPress.org”

Convert Clonetable Fields To Multiple

How to convert cloneable fields to store values in multiple rows in the database

A week ago, we introduced the “clone as multiple” feature, which allows you to store cloneable values in multiple rows in the database. To make it works with your existing data, we make it optional and is turned off by default. However, some of you might want to convert the existing data to the new format, which allows you to perform a query based on custom field’s value. In this tutorial, I’ll show you a quick way to convert the existing custom field values to the new format and make “clone as multiple” feature works for you.

Continue reading “How to convert cloneable fields to store values in multiple rows in the database”