Title: Metabox with API
Author: Saumil Nagariya
Published: <strong>23 Tháng 6, 2020</strong>
Last modified: 4 Tháng 2, 2022

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://ps.w.org/metabox-with-api/assets/icon-256x256.png?rev=2328980)

# Metabox with API

 Bởi [Saumil Nagariya](https://profiles.wordpress.org/saumil122/)

[Tải về](https://downloads.wordpress.org/plugin/metabox-with-api.1.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/metabox-with-api/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/metabox-with-api/#reviews)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/metabox-with-api/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/metabox-with-api/)

## Mô tả

The objective of the plugin is to generate product button based on the data fetched
from the API. The api data should be generated in the same manner as provided by
the plugin (refer cateogory.json & product.json, included in “data” directory).

Once you activate the plugin, two tables `wp_metabox_categories` and `wp_metabox_products`
are created. The “Metabox API setting” option (under the “Setting” section) allows
to store category api url and product api url. After storing both APIs, there is
option to fetch the data. It means category and product data are stored in the respective
database table (i.e. `wp_metabox_categories` and `wp_metabox_products`). We can 
also fetch the data at regular period of time. The plugin supports two level of 
category only (i.e. Parent and child category).

The plugin also generate the metabox (named “Metabox API”) on the post or the page.
Once you select the category from “Category” dropdown / select box, the product 
specific to that category will be populated to “Product” dropdown / select box. 
After selecting the product, you can generate the shortcode by clicking “Generate
code” button. The generated shortcode can be used on any post or page which will
display as product button in frontend. Anyone can easily modify the output of the
generated shortcode.

If anyone want to modify the output of the shortcode or the attributes/fields of“
cateogory” & “Product” APIs, can reach out to me. Please provide the feedback or
suggestion to me.

## Ảnh màn hình

[⌊Metabox API Setting page.⌉⌊Metabox API Setting page.⌉[

Metabox API Setting page.

[⌊Metabox API Setting page : Stored api and fetch option.⌉⌊Metabox API Setting page:
Stored api and fetch option.⌉[

Metabox API Setting page : Stored api and fetch option.

[⌊Metabox API generated while adding/editing the post.⌉⌊Metabox API generated while
adding/editing the post.⌉[

Metabox API generated while adding/editing the post.

[⌊Metabox API generated while adding/editing the page.⌉⌊Metabox API generated while
adding/editing the page.⌉[

Metabox API generated while adding/editing the page.

[⌊Metabox API displays the generated shortcode for product.⌉⌊Metabox API displays
the generated shortcode for product.⌉[

Metabox API displays the generated shortcode for product.

[⌊Multiple shortcode can be included on the specific post or page.⌉⌊Multiple shortcode
can be included on the specific post or page.⌉[

Multiple shortcode can be included on the specific post or page.

[⌊The product button will be created on frontend.⌉⌊The product button will be created
on frontend.⌉[

The product button will be created on frontend.

## Hỏi đáp

### Is there any configuration require for this plugin?

No

### Is all features of this plugin completely free?

Yes

### Where can I get support?

For support, please contact at saumil122@gmail.com.

### Where can I report bug?

For reporting related bugs, please contact at saumil122@gmail.com.

### Where can I find the sample of Category & Product API?

You can find the sample json for Category(category.json) & Product(product.json)
API inside “Data” directory.

## Đánh giá

Không có đánh giá nào cho plugin này.

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

“Metabox with API” 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

 *   [ Saumil Nagariya ](https://profiles.wordpress.org/saumil122/)

[Dịch “Metabox with API” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/metabox-with-api)

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

[Duyệt code](https://plugins.trac.wordpress.org/browser/metabox-with-api/), check
out [SVN repository](https://plugins.svn.wordpress.org/metabox-with-api/), hoặc 
theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/metabox-with-api/)
qua [RSS](https://plugins.trac.wordpress.org/log/metabox-with-api/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.0

 * Initial release.
 * Category & Product API (refer category.json & product.json inside “data” directory)

## Meta

 *  Phiên bản **1.0**
 *  Cập nhật lần cuối **4 năm trước**
 *  Số lượt cài đặt **Ít hơn 10**
 *  Phiên bản WordPress ** 5.4 hoặc cao hơn **
 *  Đã kiểm tra lên đến **5.9.13**
 *  Phiên bản PHP ** 7.0 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/metabox-with-api/)
 * Thẻ
 * [custom metabox](https://vi.wordpress.org/plugins/tags/custom-metabox/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/metabox-with-api/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

[Your review](https://wordpress.org/support/plugin/metabox-with-api/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/metabox-with-api/reviews/)

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

 *   [ Saumil Nagariya ](https://profiles.wordpress.org/saumil122/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/metabox-with-api/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://paypal.me/SaumilNagariya)