這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Business Time

外掛說明

This plugin allows you to display some beautiful schedules on your wordpress by using simple shortcode.

To begin, let’s display an empty schedule by typing [schedule show-all-days="true"] on your page or post.

To fill the availabilities, you should use the following attributes :"mo","tu","we","th,"fr',sa","su"

Exemple : [schedule mo="10h00-14h00" su="09h30-13h00|15h00-19h00"]

As you’ve seen in the first example there are some addtional attributes to display empty days.

There are two of them :

  1. show-all-days which displays the entire week (monday to sunday)
  2. show-week-days which displays only the business days (monday to friday)

Both of them take a boolean value (true or false). If you leave them empty or with another value it will be considered false.

Exemple : [schedule show-week-days="true" mo="10h00-13h00"]

You can choose the color used to fill your schedule by providing a color tag. This one accept hexadecimal format such as color="#003300" or html color color="pink". Don’t forget the # before your code !

Exemple : [schedule show-week-days="true" mo="10h00-13h00" color="orange"]

螢幕擷圖

  • A view of a shortcode used in a post article
  • Here is a render of the schedule

安裝方式

Simply install and enable the plugin, you should be able to use it on your posts and articles right after that 🙂

使用者評論

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

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.0.8

  • Enable plugin on new post page.
  • Add plugin icon.

1.0.7

  • Fix some bugs.

1.0.6

  • New name for this plugin !
  • Code improvement.

1.0.5

  • Implementation of default style and responsive version.

1.0.4

  • Add translation system for admin panel (fr).

1.0.3

  • Fix a bug with js tinymce.

1.0.2

  • Add french translation for the name of the days in frontend.
  • Code improvements

1.0.1

  • Add a button to content editor to set up and insert the shortcode with a configuration window.

1.0.0

  • First release, you can use shortags 😀