plugin-icon

Store Manager

投稿者: dirlikdesigns·
営業時間、場所、画像などを管理するストアマネージャー。
評価
4/5
バージョン
1.0.2.2
有効インストール数
10
最終更新日時
Mar 19, 2016

With this plugin it is possible to manage multiple stores (or any kind of location). There is support for:

  • address information
  • contact information
  • openinghours
  • short description
  • long description
  • photo gallery
  • distance calculator
  • a store manager user role, so that store management can be delegated without opening up any other part of the WP admin

スタイル

The plugin comes with a very basic and ugly template file and a form that has no styling. However, everything is wrapped in spans or divs and logical classnames are assigned to everything so that you style the frontend yourself.

You should also make file in your theme folder called single-store.php. The included template file will show how to get all the information from the store. This file is located: [plugin_folder]/includes/template-single-store.php

ショートコード

This is the shortcode for the form and resultpage: [store-manager-form] If no attributes are given, the form will consist of a zipcode fields and a submit button.

This will add a radius field (radius is in KM): [store-manager-form radius]

Here is an example of how to manipulate the radius field: [store-manager-form radius radius-value=15 radius-placeholder=”input placeholder text here” radius-label=”label text here”]

This example shows all other form fields, each of them can be manipulated just like radius: [store-manager-form address-r1 address-r2 zipcode place country]

This example shows how to change the submit button text: [store-manager-form submit=”Send”]

TODO

  • ルーティング
  • other map API’s (bing/mapquest)
  • maybe some global or default store as a template.
  • I want to get rid of the .hover styling in the openstreepmap/google class (line 93/79)
無料Business プランを利用中
インストールすることで、WordPress.com の利用規約サードパーティプラグイン利用規約に同意したことになります。
最大テスト回数
WordPress 4.4.34
このプラグインをダウンロードして、 サイトに使用できます。