When I received a call asking me to check the meta box, I was very happy because the plug-in author tran Ngoc Tuan Anh was Vietnamese. Read my article and you will know that I also live in Hanoi. The example in the map field actually includes my apartment. But I went off the rails Today I want to comment on meta box Meta box is one of the most extensive plug-ins for adding custom fields and metadata. Don’t you believe me about that popularity? According to the WordPress plug-in repository, it is actively installed on more than 100000 websites. That’s a lot of websites. The
Meta box is mainly used by developers and agents who want to extend theme functionality, but anyone can install it and benefit from it. Launched in 2010, it is actually the first user-defined field plug-in for developers. I will look at plug-ins from a non developer perspective. Although there is some code cutting, it is not close to experts. You can give comments some color. Even if I’m not a developer, I also want to show you the cool things that meta box can help. As a developer, you probably know more about custom fields than I do. Nevertheless, I would like to be able to provide useful information on all the features and extensions available in the meta box. In this way you will acquire new knowledge. The
Dig… First – what is a custom field? Custom fields allow you to save additional information in each word press post. Good – it may not sound interesting, but it actually unlocks many wonderful features. For example, you can use custom fields to automatically add schema annotations to word press posts. Many parts of your favorite plug-ins and themes are at least partially built on custom fields. They hide custom fields behind the smooth interface. If custom fields disappear, WordPress life will become more difficult. The
After you install the metabox installation plug-in, you won’t be able to see anything immediately. To begin, you must go to the code in the topic. You are your function. You need to add some code to PHP (shapes → editors → functions.php). Meta box provides some startup sample code. The male and female articles will continue below. After adding this code, the following will be displayed when adding a new post: User defined fields added by meta box. Meta box also provides some code to provide more in-depth demonstrations. All related code is a function. After adding to PHP, you will see a complete demonstration of the tasks that meta box can accomplish. Male
Metabox extensions meta box graciously provides all advanced extensions so that I can play. Frankly, these are 13 high-end extensions, so you don’t test everything. I chose what I like to play and confirmed the free extension function. Metabox builder metabox builder is different from other extensions. Even if you don’t know PHP, you can add custom fields. Therefore, it is my favorite advanced extension. In other words, as a complete non developer, I can also find something. After installation, the following interface will be displayed: The
As you can see, we are creating custom text fields for guest authors. This allows you to add information through custom fields instead of creating new accounts for all guest creators. After saving the custom meta box, the post page will display the following: It’s too easy for the driver to continue down here. I can also see it. The content created after slight modification is as follows: Male builder easily adds ~43 SAS
%Free. The
All advanced extensions range in price from $19 to $29 for unlimited websites and 1 year of update \/ support. About documents -meta box is well documented. The core plug-in has a large number of articles, and each extension has a complete documentation. If you are already familiar with PHP, you can use the supporting documents provided by meta box to start and run quickly. I know that the last idea is how important the custom field is to the theme \/ plug-in. It can be implemented very easily with meta box. As I mentioned, I am not a developer, so I apologize for not providing the deepest insight into the plug-in. However, meta box builder extensions can be easily created by non developers, and other documents can also have a good understanding of how extensions work. If you’re a developer, extensions and free core plug-ins will make your life easier. So please confirm!