plugin-icon

Business Places

제작자: TAROSKY INC.·
A WordPress plugin for business place and open hour.
버전
2.2.1
활성화된 설치 항목
10
최근 업데이트일
Jun 18, 2021
Business Places

This plugin add places and open hours to your WordPress site. Formerly known as “Taro Open Hour“.

  • Google Map supprted.
  • JSON-LD supported.

Case Study

Case 1

If your site is for your book store, add site location as your business place.

These location and open hour are available via widget.

Case 2

If your site is bouldering shop database, choose post type to be treated as location.

Each single page have place and open hour information.

How to display

Widgets

You can use widget for open our and business location.

Shortcodes

You can use shortcode [open-hour] for time table. If you are a theme developer, just use tsoh_the_timetable() function.

For business places, you can use [business-place post_id='10']. The attribute post_id can be omitted and it’s default value is current post.

Acknowledgements

  • Banner images is a deliverative of the work of the Geospatial Information Authority of Japan.

Customization

Here is a list of customizations.

Change Style

If you have tsoh-style.css in your theme folder, it will be used. Child theme supported.

We also have filter hook tsoh_stylesheet. Below is the example to change css url.

get_stylesheet_directory_uri() . '/assets/css/table.css', 'version' => wp_get_theme()->get('Version'), ]; return $style; });

If you returns false on filter hook, no style will be loaded.

Change table markup

Table’s template is located at taro-open-hour/templates/time-table.php. Copy it to your-theme/template-part/tsoh/time-table.php and change markups.

Of course, you can change template path with filter hook.

// e.g. If post type is event, change template from default. add_filter( 'tsoh_timetable_template_path', function( $path, $post ) { if ( 'event' == $post->post_type ) { $path = get_template_directory() . '/templates/yours/event.php'; } return $path; }, 10, 2 );
무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 5.7.14
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.