Shortcodes /
April 4, 2017
Contact Information
Shortcode Formats
The following format example can be invoked manually outside the VisualComposer to generate the element.
Note : Wordpress doesn't allow new line inside the shortcode, you must remove all new lines and replace them with space when using the shortcode.
[wpcontactinfo class="someclass" id="someid" icon="Valid fontawesome icon class name without fa- prefix" label="String for contact label" separator="String for separator" text="String for contact text" ]
Shortcodes Attributes
The shortcode above will accepts the following attributes.
Attributes | Valid Value | Description |
---|---|---|
icon | valid fontawesome class without fa- prefix | The icon on the side of the text |
label | string | The text for the label element |
separator | string | The text separator. for example : ":" |
text | string | The text for the contact info |
id | valid css id | optional css id |
class | valid css class multiple classes can be separated by space or comma | optional css class |