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
此外掛程式已可供下載,並可用於你的 WordPress 自助託管安裝。