這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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