Title: Erudus One for WordPress
Author: Tim Hyde
Published: <strong>2018 年 6 月 1 日</strong>
Last modified: 2018 年 6 月 5 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/erudus-one.svg)

# Erudus One for WordPress

 作者：[Tim Hyde](https://profiles.wordpress.org/livingos/)

[下载](https://downloads.wordpress.org/plugin/erudus-one.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/erudus-one/#description)
 * [评价](https://cn.wordpress.org/plugins/erudus-one/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/erudus-one/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/erudus-one/#developers)

 [支持](https://wordpress.org/support/plugin/erudus-one/)

## 描述

This plugin uses the [Erudus](https://erudus.com) API to display and use product
information in WordPress.

[Erudus](https://erudus.com) provides a trusted data source for thousands of food
products. The Erudus data is sourced directly from food manufacturers and suppliers,
giving you reliable data on allergens, nutrients and other important information
about food products.

To use this plugin you will need Erudus API credentials.

#### Shortcode

To show a product specification, you can use the shortcode:

[erudus-product id=”eruduesproductid”]

Simply find the product you need from erudus and replace the id attribute with the
correct Erudus ID.

#### Customisation

To customise the display of product information, copy product.php found in the plugin’s
templates folder to a folder named erudus inside your theme and edit the file.

#### Template Functions

To further customise and use product data, you can use the template function erudus_get_product(
$erudus_id) to get product data for a product. This will return an object containing
all fields found in the API.

Please note that product data is cached by the plugin for 24 hours. Fresh data is
only requested when product data is needed.

## 安装

 1. Upload plugin to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Enter your Erudus API client keys in Settings->Erudus One

## 常见问题

  Installation Instructions

 1. Upload plugin to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Enter your Erudus API client keys in Settings->Erudus One

  How often is product data updated?

The plugin caches each product for 24 hours. After 24 hours it will request a fresh
copy of data from Erudus.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Erudus One for WordPress」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Tim Hyde ](https://profiles.wordpress.org/livingos/)

[帮助将「Erudus One for WordPress」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/erudus-one)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/erudus-one/)，查看[SVN仓库](https://plugins.svn.wordpress.org/erudus-one/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/erudus-one/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/erudus-one/)。

## 更新日志

#### 1.0

 * Frist release.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**8 年前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 4.8 或更高版本 **
 *  已测试的最高版本为 **4.9.29**
 *  语言
 * [English (US)](https://wordpress.org/plugins/erudus-one/)
 * 标签
 * [allergens](https://cn.wordpress.org/plugins/tags/allergens/)[api](https://cn.wordpress.org/plugins/tags/api/)
   [food](https://cn.wordpress.org/plugins/tags/food/)[ingredients](https://cn.wordpress.org/plugins/tags/ingredients/)
   [nutrition](https://cn.wordpress.org/plugins/tags/nutrition/)
 *  [高级视图](https://cn.wordpress.org/plugins/erudus-one/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/erudus-one/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/erudus-one/reviews/)

## 贡献者

 *   [ Tim Hyde ](https://profiles.wordpress.org/livingos/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/erudus-one/)