[WordPress] 外掛分享: Organized Contacts

首頁外掛目錄 › Organized Contacts
10+
安裝啟用
尚無評分
2954 天前
最後更新
問題解決
WordPress 4.6+ v1.4.1 上架:2017-11-05

內容簡介

該外掛會新增自定義設定和 [company] 短代碼。

Company 短代碼有下列屬性:

"id"(用於多個聯絡人),可以是:

primary, secondary, tertiary, quaternary, fivefold, company_6, company_7, company_8..等。

"field" 可以是:

name、image、address、numbers、email、time_work、socials。

"filter"(預設為 'the_content')

如果要停用預設過濾器,請將其設置為無。

"before"

自訂 HTML (前)。

"after"

自訂 HTML (後)。

例如:

[company id="secondary" field="address" filter="none" before="Our address:"]

用於多個聯絡人,或

[company field="email"]

只用於主要聯絡人。

您可以使用以下指令來新增自訂欄位:

new CDevelopers\Contacts\CustomControl('handle', array(
'type' => 'text', // wp_customizer 預設值
'label' => '', // 任何標題
),
'Custom_Control'); // 設置個人的預先註冊的控制元件類名。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.4.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Organized Contacts」→ 直接安裝(推薦)

原文外掛簡介

Plugin will add customizer settings and [company] shortcode.
Company shortcode has attrs:
“id” (for muliple contacts) may be:
primary, secondary, tertiary, quaternary, fivefold, company_6, company_7, company_8.. etc..
"field" may be
name, image, address, numbers, email, time_work, socials

"filter" (default as 'the_content')
Set none for disable default filter

"before"
The some custom html

"after"
The some custom html

for example:
[company id=”secondary” field=”address” filter=”none” before=”Our address:”]
for muliple, or
[company field=”email”]
for primary only
for custom fields use:
new CDevelopers\Contacts\CustomControl(‘handle’, array(
‘type’ => ‘text’, // wp_customizer default types
‘label’ => ”, // Any title
),
‘Custom_Control’); // Set personal preregistred control classname

延伸相關外掛

文章
Filter
Mastodon