plugin-icon

Custom Field Builder – WordPress custom fields plugin

Custom Field Builder is a powerful and lightweight developer plugin to create custom meta boxes and custom fields for WordPress.
تقييمات
5
آخر تحديث
March 5, 2019
النسخة
1.2.4
التنصيبات النشطة
10

Custom Field Builder is a powerful and lightweight developer plugin to create custom meta boxes and custom fields for WordPress.

Features

• Many free custom fields (regular updating and adding new fields). • Easy to install and very easy to use. • Pure and clean code (increase your admin performance).

Links

Documentation

Available fields

• Textbox • Textarea • Select • Media (image, attachments) • Logic (checkbox may only “true” or “false”) • Color picker • Repeater • Checkbox group • Date picker • Post relationship

Usage

Watch this short video tutorial

Add the following code to your functions.php (or in any convenient file).

<?php add_action('cf_builder_init', function ($cfBuilder) { $cfBuilder->registerTemplate([ 'id' => 'custom_fields', 'title' => 'Custom Field Builder example', 'post_type' => 'post', 'position' => 'normal', 'priority' => 'high', 'fields' => [ 'author_name' => [ 'type' => 'textbox', 'title' => 'Author name' ], 'author_bio' => [ 'type' => 'textarea', 'title' => 'Author bio' ] ] ]); }); ?>

You also can include your custom template in php file. For example:

<?php add_action('cf_builder_init', function ($cfBuilder) { $cfBuilder->registerTemplate('path_to_your_template_file.php'); }); ?>

** See all fields example in examples/base-fields-template.php in plugin directory! **

مجانيعلى خطة Creator
إذا قمت بالتثبيت، فإنك توافق على شروط خدمة ووردبريس.كوم وشروط إضافات الأطراف الثالثة.
التنصيبات النشطة
10
تم اختباره حتى
5.0.0
تتوافر هذه الإضافة للتنزيل لتُستخدم في عملية التثبيت المستضافة ذاتيًا على ووردبريس لديك.