這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Metabox with API

描述

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.

螢幕截圖

常見問題

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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Metabox with API” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Metabox with API 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0

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