该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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 😀