Meta Box – Framework về trường tùy biến cho WordPress

Mô tả

Meta Box is a powerful, professional, and lightweight toolkit for developers to create custom meta boxes and custom fields for any custom post type in WordPress.

Meta Box helps you add https://metabox.io/what-is-custom-fields-in-wordpress/ and details on your website such as pages, posts, custom post types, forms and anywhere you want using over 40 different field types such as text, images, file upload, checkboxes, and more.

Hơn thế nữa, mỗi loại trường tùy biến đều có rất nhiều những tùy chọn, cho phép bạn tùy biến không giới hạn. Tất cả những điều đó chỉ cần làm với 1 vài click.

Adding WordPress custom fields and custom meta boxes for custom post types is quick and painless: Select the field types you want in the user-friendly Online Generator, then copy and paste the code into your child theme’s functions.php file.

Bùm! Tất cả đều có sẵn mà không bị tải nặng.

Ngoài ra còn có các phần mở rộng miễn phí và trả phí để bạn thêm các tính năng mới. Nhờ đó bạn có thể tùy biến và quản lý các trường tùy biến trong WordPress tốt hơn như thêm các điều kiện để ẩn hiện chúng.

Bạn có thể xem thêm danh sách đầy đủ các phần mở rộng và trang web MetaBox.io để biết thêm chi tiết.

Tính năng

Tạo các loại dữ liệu và các trường tùy biến trong WordPress

Đúng vậy – bất kỳ loại nào. Không cần biết bạn cần thêm dữ liệu vào đâu, Meta Box hỗ trợ bạn hết, và hỗ trợ với vô số tùy chọn.

Dưới đây là một vài loại dữ liệu bạn có thể tùy chỉnh:

Nhiều loại trường tùy biến và các tùy chọn

Lấy trường tuỳ biến chuẩn WordPress của bạn và tưởng tượng nó được mở rộng vô hạn. Có rất nhiều tùy chọn mà Meta Box cung cấp cho bạn:

Rất tiện cho các developer

Là một nhà phát triển, bạn có đủ công cụ thiết kế theo nhu cầu riêng của bạn. Bạn không cần phải tạo một hệ thống hoàn toàn mới cho từng dự án. Sử dụng Meta Box để tận dụng toàn bộ lợi thế của riêng bạn.

You can use Meta Box and its custom fields for any custom post type in WordPress on as many websites as you want so you can use it on client projects as well.

  • Hỗ trợ API cực nhanh, cực nhẹ và rất mạnh mẽ, không làm chậm website của bạn.
  • Và chỉ có những gì bạn cần, thay vì với một loại các tính năng mà bạn chẳng bao giờ dùng đến và làm nặng website của bạn.
  • Meta Box easily integrates with any theme and plugin, and supports Composer!
  • Sử dụng cách lưu trữ chuẩn và các hàm của WordPress để tiện dụng và xử lý nhanh.
  • Has a lot of actions and filters so you can build or change a site’s appearance and behavior in the plugin.

Bạn không muốn code? Vậy thì bạn may mắn đấy!

If you prefer a more visual system to create custom fields in WordPress, you can choose one or all of the extensions below:

These plugins have a ton of features to make quick work of any project:

  • Với tất cả sức mạnh của Meta Box mà không cần phải động vào dòng code nào.
  • Designer-friendly, lightweight and work at top-notch speeds.
  • Xuất các trường tùy biến và các tùy chọn của chúng ra PHP. Sau đó, thêm chúng vào website mới mà không cần phải cài các phần mở rộng. Nhờ đó website của bạn sẽ nhẹ hơn và nhanh hơn.

Phần mở rộng

Các phần mở rộng miễn phí

  • MB ACF Migration: Migrate field groups and custom field data from Advanced Custom Fields (ACF) to Meta Box.
  • MB Comment Meta: Add WordPress custom fields to comments in WordPress.
  • MB Custom Post Types & Custom Taxonomies: Create and manage custom post types and taxonomies with UI.
  • MB Relationships: Tạo các kết nối giữa bài viết với bài viết hoặc trang với trang.
  • MB Rank Math: Add content of custom fields to Rank Math Content Analysis to have better/correct SEO score.
  • MB Rest API: Lấy tất cả các giá trị của các trường tùy biến từ bài viết, term và trả về trong các phản hồi của WP REST API.
  • MB Toolset Migration: Migrate custom post types & taxonomies, field groups, custom field data, and relationships from Toolset to Meta Box.
  • Meta Box – Beaver Themer Integrator: Integrates Meta Box and Beaver Themer to show custom fields on the frontend.
  • Meta Box – Elementor Integrator: Connect and display custom fields created by the Meta Box plugin in the Elementor’s dynamic tags.
  • Meta Box – FacetWP Integrator: Integrates Meta Box and FacetWP to make custom fields searchable and filterable.
  • Meta Box Text Limiter: Giới hạn số ký tự hoặc số từ được nhập vào trong trường text hoặc textarea.
  • Meta Box Yoast SEO: Thêm nội dung của các trường tùy biến vào phần phân tích nội dung của plugin Yoast SEO để có được điểm SEO tốt hơn / chính xác hơn.

Các phần mở rộng trả phí

  • MB Admin Columns: Display WordPress custom fields in table columns in admin.
  • MB Blocks: Create custom Gutenberg blocks with PHP, using the same syntax in Meta Box.
  • MB Custom Table: Save custom fields to custom tables instead of the default meta tables to reduce your database’s size and increase its performance.
  • MB Frontend Submission: Create frontend forms for users to submit posts.
  • MB Revision: Track changes to custom fields in WordPress with revisions. You can compare and restore the changes smoothly.
  • MB Settings Page: Tạo các trang cấu hình cho theme, plugin hay cho website với cú pháp đơn giản.
  • MB Term Meta: Add custom fields to categories, tags or custom taxonomies.
  • MB User Meta: Add custom fields to users.
  • MB Views: Outputting custom fields and build front-end templates for WordPress without touching theme files.
  • Meta Box Builder: Tạo các meta box và các trường tùy biến trong WordPress sử dụng giao diện kéo thả.
  • Meta Box Columns: Hiển thị các trường tùy biến bắt mắt hơn bằng cách đặt chúng trong lưới 12 cột.
  • Meta Box Conditional Logic: Thêm các điều kiện về hiển thị cho các meta box và các trường tùy biến trong WordPress.
  • Meta Box Geolocation: Tự động điền các thông tin về vị trí vào các trường tùy biến thông qua Google Maps Geolocation API.
  • Meta Box Group: Create repeatable groups for better appearance and structure.
  • Meta Box Include Exclude: Ẩn/hiện các meta box theo ID bài viết, mẫu trang, taxonomy hay hàm tùy biến.
  • Meta Box Show Hide: Toggle meta boxes by page template, post format, taxonomy and category.
  • Meta Box Tabs: Painlessly create tabs for meta boxes with multiple styles and icons.
  • Meta Box Template: Định nghĩa các meta box và các trường tùy biến dễ dàng hơn với các mẫu.
  • Meta Box Tooltip: Display help information for custom fields with tooltips.

Tài liệu chi tiết

We provide regularly updated, and extensive documentation as well as tutorials on how to use MetaBox and custom fields in WordPress to your advantage as well as in the most efficient way possible.

Dưới đây là một số hướng dẫn nhanh để giúp bạn bắt đầu với Meta Box và tạo các trường tùy biến WordPress theo cách của riêng bạn:

Xem thêm trên trang tài liệu hướng dẫn sử dụng Meta Box.

You might also like

If you like this plugin, you might also like our other WordPress products:

  • Slim SEO – A fast, lightweight and full-featured SEO plugin for WordPress with minimal configuration.
  • Slim SEO Schema – An advanced, powerful and flexible plugin to add schemas to WordPress.
  • Slim SEO Link Manager – Build internal link easier in WordPress with real-time reports.
  • GretaThemes – Free and premium WordPress themes that clean, simple and just work.
  • Auto Listings – A car sale and dealership plugin for WordPress.

Ảnh màn hình

  • Các trường text
  • Các trường cơ bản
  • Các trường nâng cao
  • Các trường tải file và hình ảnh
  • Các trường media
  • Các trường bài viết và taxonomy

Cài đặt

  1. Đến trang Plugins > Thêm mới
  2. Tìm kiếm với từ khóa Meta Box
  3. Nhấn vào nút Cài đặt để cài đặt plugin
  4. Nhấn vào nút Kích hoạt để kích hoạt plugin

Get started here.

Đánh giá

27 Tháng Mười Một, 2023
Great plugin, easy to use, been a fan for years. Unfortunately, as of WP 6.4, this plugin breaks the ability to preview posts. I'd amend this review with a higher score once that's fixed, but it's a major problem.
25 Tháng Mười Một, 2023
Compared to the competition, the design and extensibility of this plugin is significantly better. Its performance is better and it doesn't suffer from code bloat. Its learning curve is a bit steep, however that is what really sets it apart from the others. The support team is pretty responsive with tickets and the documentation is pretty good! I'll be using the pro version of plugin going forward for custom setups. Cheers~
21 Tháng Mười Một, 2023
The more I use MetaBox the more I see it can do so much more than I thought. They are also constantly releasing real life training examples, which is very helpful. Plus lots of documentation. Thanks so much for the hard work and effort you put in.
31 Tháng Mười, 2023
I tried Metabox because of its custom table feature, but I've been utilizing ACF. Everything operates without a hitch, and the documentation for configuring custom fields is excellent.
20 Tháng Mười, 2023 2 replies
This plugin makes some texts and URL's in the advanced translator of WPML disappear. After advanced troubleshooting the problem lies within a different plugin. Thank you for the quick support!
Đọc tất cả 147 đánh giá

Người đóng góp & Lập trình viên

“Meta Box – Framework về trường tùy biến cho WordPress” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Meta Box – Framework về trường tùy biến cho WordPress” đã được dịch qua 20 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Meta Box – Framework về trường tùy biến cho WordPress” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

5.9.4 – 2024-02-27

  • Fix security issue when users set object id in the helper functions where they don’t have permission to view (such as private posts)

5.9.3 – 2024-02-02

Highlights:

Fix security issue of the output shortcode [rwmb_meta] not escaping. Users can disable escaping (to revert the previous behavior) by adding this snippet:

add_filter( 'rwmb_meta_shortcode_secure', '__return_false' );
// or
add_filter( 'rwmb_meta_shortcode_secure_{$field_id}', '__return_false' );

Other changes:

  • Fix compatibility with PHP 8.3
  • Fix not showing more than 10 saved users or terms

5.9.2 – 2024-01-22

  • Validation: fix PHP warning when fields has non-consecutive keys
  • Icon field: fix custom icon not working
  • Update jQuery Validation to 1.20.0. Props Maarten.
  • Prepare css to be inlined. Props Maarten.

5.9.1 – 2023-12-25

  • Fix preview posts not working in the block editor in WP 6.4.
  • Icon field: allow to set relative path/URL for settings
  • Icon field: add support for scanning CSS file (icon_css setting) and parsing CSS class
  • Autocomplete field: fix not saving first value if the value is 0 (integer).

5.9.0 – 2023-11-22

Highlights:

Add new icon field type, which supports Font Awesome Free, Font Awesome Pro and custom icon set. Can be used with icon font with CSS file or with SVGs. See the plugin docs for how to use it.

The icon field type will be added to the new version of Meta Box Builder soon, which will allow you to configure its settings with UI.

Xem đầy đủ thông tin phiên bản tại đây