{"id":86151,"date":"2018-06-01T08:13:22","date_gmt":"2018-06-01T08:13:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/erudus-one\/"},"modified":"2018-06-05T15:30:54","modified_gmt":"2018-06-05T15:30:54","slug":"erudus-one","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/erudus-one\/","author":74254,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0","tested":"4.9.29","requires":"4.8","requires_php":"","requires_plugins":"","header_name":"Erudus One","header_author":"Tim Hyde","header_description":"Use the Erudus API to display food product data in WordPress.","assets_banners_color":"","last_updated":"2018-06-05 15:30:54","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/erudus.com\/","header_author_uri":"https:\/\/erudus.com\/","rating":0,"author_block_rating":0,"active_installs":20,"downloads":2016,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[157429,1556,12446,17298,13467],"plugin_category":[39],"plugin_contributors":[157430],"plugin_business_model":[],"class_list":["post-86151","plugin","type-plugin","status-publish","hentry","plugin_tags-allergens","plugin_tags-api","plugin_tags-food","plugin_tags-ingredients","plugin_tags-nutrition","plugin_category-business","plugin_contributors-livingos","plugin_committers-livingos"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/erudus-one.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin uses the <a href=\"https:\/\/erudus.com\">Erudus<\/a> API to display and use product information in WordPress.<\/p>\n\n<p><a href=\"https:\/\/erudus.com\">Erudus<\/a> 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.<\/p>\n\n<p>To use this plugin you will need Erudus API credentials.<\/p>\n\n<h4>Shortcode<\/h4>\n\n<p>To show a product specification, you can use the shortcode:<\/p>\n\n<p>[erudus-product id=\"eruduesproductid\"]<\/p>\n\n<p>Simply find the product you need from erudus and replace the id attribute with the correct Erudus ID.<\/p>\n\n<h4>Customisation<\/h4>\n\n<p>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.<\/p>\n\n<h4>Template Functions<\/h4>\n\n<p>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.<\/p>\n\n<p>Please note that product data is cached by the plugin for 24 hours. Fresh data is only requested when product data is needed.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload plugin to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Enter your Erudus API client keys in Settings-&gt;Erudus One<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload plugin to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Enter your Erudus API client keys in Settings-&gt;Erudus One<\/li>\n<\/ol><\/dd>\n<dt>How often is product data updated?<\/dt>\n<dd><p>The plugin caches each product for 24 hours. After 24 hours it will request a fresh copy of data from Erudus.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Frist release.<\/li>\n<\/ul>","raw_excerpt":"Display Erudus product data inside of WordPress using the Erudus API.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/86151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=86151"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/livingos"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=86151"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=86151"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=86151"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=86151"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=86151"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=86151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}