Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Business Time

Apraksts

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"]

Ekrānuzņēmumi

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

Uzstādīšana

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

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Business Time” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Business Time&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

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 😀