[WordPress] 外掛分享: Store Manager

前言介紹

  • 這款 WordPress 外掛「Store Manager」是 2016-01-28 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2016-03-19,距離現在已有 3333 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.0 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

dirlikdesigns |

外掛標籤

store | radius | distance | location | custom post |

內容簡介

使用此外掛程式,您可以管理多個商店(或任何類型的場所)。
以下是支援的功能:

地址資訊
聯絡資訊
營業時間
簡短描述
詳細描述
相片庫
距離計算器
商店管理員使用者角色,以便可以委派商店管理,而不需開放 WP 管理員的任何其他部分

樣式設計

外掛程式附有基本和醜陋的樣板檔案和沒有樣式的表單。但是,所有內容都會包裝在 span 或 div 中,並賦予邏輯類別名稱,以便您可以自行設計前端。

您還應該在主題資料夾中建立名為「single-store.php」的檔案。附帶的樣板檔案將顯示如何從商店獲取所有資訊。此檔案位於:
[plugin_folder]/includes/template-single-store.php

shortcode 程式碼

這是表單和結果頁面的 shortcode 程式碼:
[store-manager-form]
如果沒有給定屬性,表單將包含郵遞區號欄位和提交按鈕。

這將新增半徑欄位(半徑以公里為單位):
[store-manager-form radius]

這是操作半徑欄位的範例:
[store-manager-form radius radius-value=15 radius-placeholder=”輸入這裡的佔位文字” radius-label=”這裡的標籤文字”]

此範例顯示了所有其他表單欄位,每個都可以像半徑一樣進行操作:
[store-manager-form address-r1 address-r2 zipcode place country]

此範例顯示如何更改提交按鈕文字:
[store-manager-form submit=”發送”]

待完成項目

路線規劃
其他地圖 API(bing/mapquest)
可能有一些全局或預設商店作為範本。
我想要去除 openstreepmap/google 類別中的 .hover 樣式(第 93/79 行)

原文外掛簡介

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

Styling
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
Shortcode
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)

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Store Manager」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • RADIUS Client (RADIUS Login) 》RADIUS(遠程身份驗證撥號用户服務)客戶端或 RADIUS 登錄外掛可讓用戶使用任何 RADIUS 服務器進行登錄。我們支持 PAP、CHAP(MD5)、MS CHAP V1、EAP-MSCHAP...。
  • WP Geoloc 》這款外掛可以在 WordPress 中添加地理定位功能,讓使用者可以找到鄰近自己或特定距離內的文章。, 您可以使用小工具來選擇特定的位置,或是使用 URL(提供緯度...。
  • Nearby Places Search 》附近地點搜尋:此外掛整合了 Google Places 和 GMap。, 顯示一個特定類型的地方列表,可從後臺進行配置,在指定的地點設置的半徑範圍內。, 需求, Google Maps...。
  • LH Places 》LH Places 創建一個名為「場所」的 CPT,每個「場所」都與地理資訊(例如緯度和經度)相關聯。可以將文章、頁面和其他 CPT(例如事件)連接到該「場所」,並...。

文章
Filter
Mastodon