Ardoise

外掛說明

Ardoise puts today’s menu on your restaurant website from your phone, in a few taps.

In a busy kitchen, nobody logs into WordPress at 11:30 to find the right page and edit it. So the website shows last Tuesday’s dish, and customers call to ask what’s on today.

Ardoise works like the chalkboard outside your door:

  1. Open the Ardoise page on your phone (it’s an icon on your home screen).
  2. Type today’s starter, dish and dessert, with their prices.
  3. Tap Publish. It’s on your website. That’s it.

At midnight, the board clears itself. Your website never shows an old menu.

Made for

Restaurants, bistros, brasseries, cafés, canteens, caterers, bakeries, food trucks: anyone whose menu changes every day.

Simple on purpose

  • One screen, four lines: starter, main course, dessert, set menu, each with its price.
  • No login on the phone: a private link opens a page made for small screens, with big fields and big buttons. Add it to your home screen once.
  • Nothing to set up: activate, add the block to your menu page, open the link on your phone. Done in five minutes.
  • Clears itself at midnight: no more “dish of the day” from last week.
  • Looks like a real chalkboard: chalk style with a bundled handwritten font. Change the colours and text size in the block settings.

Safe

  • The private link contains a random 40-character key and only gives access to the board, nothing else on your site.
  • Add an optional PIN code: each phone enters it once, then it is remembered for 30 days.
  • Lost a phone or shared the link by mistake? Create a new link in one click: the old one stops working immediately.
  • Wrong links and wrong PIN codes are limited per visitor.

Works with your site

  • Gutenberg block “Ardoise”, or the [ardoise] shortcode for page builders (Elementor, Divi…).
  • Purges the page cache of WP Rocket, LiteSpeed Cache, W3 Total Cache, WP Super Cache and WP Fastest Cache when the board changes or expires.
  • Staff who can edit pages can also update the board from the WordPress admin.
  • No account, no external service, no tracking. Everything stays on your site.

Shortcode

[ardoise] shows the board.
  • title="Lunch" to change the title, title="" to hide it

Credits

The chalk style uses the Caveat font by The Caveat Project Authors, licensed under the SIL Open Font License 1.1 (see assets/fonts/OFL.txt). The font is bundled with the plugin: nothing is loaded from Google or any other service.

螢幕擷圖

適用於區塊編輯器

這個外掛提供 1 個可供區塊編輯器使用的區塊。

  • Ardoise Shows today's specials board.

安裝方式

  1. Install and activate the plugin.
  2. Add the “Ardoise” block (or the [ardoise] shortcode) to the page where your menu should appear.
  3. Go to Ardoise in the admin menu and copy the private link.
  4. Open the link on your phone and add it to your home screen.
  5. Optional: in Ardoise > Settings, set the title and a PIN code.

常見問題集

Can someone else change my board?

Only someone who has the private link. The link contains a random 40-character key that cannot be guessed, and it gives access to the board only, not to the rest of your site. For extra safety, add a PIN code in the settings: a phone that has the link must also enter the code once. If the link is shared by mistake, create a new one from the Ardoise page.

What happens at midnight?

The board is hidden automatically, so an old menu is never shown. The next day, publish the new menu from your phone.

The board still shows after the hiding time. Why?

A page cache is probably serving an old copy of the page. Ardoise purges the cache of WP Rocket, LiteSpeed Cache, W3 Total Cache, WP Super Cache and WP Fastest Cache automatically. For other caches or a server cache, purge the cache or exclude the page. The automatic purge relies on WP-Cron, which runs when your site gets visits. Developers can hook into the ardoise_purge_cache action.

Several people update the board. Is that possible?

Yes. Share the private link with them (and the PIN code if you set one). Each phone is remembered separately.

Does the plugin send data anywhere?

No. Everything stays in your WordPress database.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Ardoise〉的開發相關工作。

參與者

將〈Ardoise〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.1.0

  • New hooks for add-ons: several boards, extra line data, board styles and phone page assets.
  • Internal improvements, no change for existing boards.

1.0.0

  • First release.