這個外掛並未在最新的 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 🙂

評價

There are no reviews for this plugin.

貢獻者及開發者

“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 😀