该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Store Manager

描述

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

  • routing
  • 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)

安装

  1. Upload the plugin files to the /wp-content/plugins/store-manager directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. A new menu item should appear named ‘Stores’

常见问题

  • feel free to ask

评价

阅读所有1条评价

贡献者及开发者

「Store Manager」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Store Manager」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Store Manager」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.2

  • form results closing html tags
  • added google maps
  • added support for miles
  • added country option

1.0.1

  • prepared plugin for localization
  • added dutch translation

1.0

  • this is the first version