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

UK Food Hygiene Rating

描述

Use a shortcode to display the uk food standards hygiene rating for the current business (current post’s title) or you can pass the business name within the short code.

This plugin calls and uses the UK food hygiene rating data API, see: http://ratings.food.gov.uk/open-data/en-GB

屏幕截图

  • Plugin adds the standard hygiene rating banner plus text, all configurable via settings page

安装

Install plugin via the usual plugin method

Activate the UK Food Hygiene Rating plugin

Include the [food] shortcode in your post and plugin will use the post’s title as business name to look up

Or use [food business=”the business name”]

Configure the plugin via the plugin’s Settings admin page

评价

2024 年 3 月 11 日
The plugin was a great start to what I needed although I ended up having to edit the code to make it work for all of my needs, there are three pubs with the same name near my location and the Plugin would not give me the correct pub just based on the pub name so I modified the code to add an extra variable to the short code of [address], so now I can use the shortcode to lookup the establishment name and address if the title of a blog post is insufficient. If I get time I may make a few more changes and release the updated Plugin myself.
阅读所有1条评价

贡献者及开发者

“UK Food Hygiene Rating” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“UK Food Hygiene Rating”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0 initial release