Home Plugins erudus one
Erudus One for WordPress logo

Erudus One for WordPress

by Tim Hyde on WordPress.org

Display Erudus product data inside of WordPress using the Erudus API.

(0)

This plugin uses the Erudus API to display and use product information in WordPress.

Erudus 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.

Active installations20+
Weekly downloads
15+0.00%
Version1.0.0
Last updated6/5/2018
WordPress version4.8
Tested up to4.9.26
Tags
allergensapifoodingredientsnutrition