-
Notifications
You must be signed in to change notification settings - Fork 3
Divider Shortcode
Oliver Juhas edited this page Jun 22, 2017
·
3 revisions
Displays a divider horizontal line or empty space. Separates elements vertically.
[wm_divider appearance="double-line" space_before="100" space_after="100" /]
Please note that you can omit parameters with empty values when writing the shortcode.
Parameter | Type | Value example | Description |
---|---|---|---|
appearance |
predefined |
dashed , dotted , double-line , line or whitespace
|
This actually depends on the styles your theme supports, but usually the example values are supported. whitespace will not display a line, just a gap, an empty space. All other values are related to divider line style. |
class |
string | my-class |
Adds a custom CSS class(es) onto shortcode wrapper. |
space_after |
integer |
0 , 120 , or even -
|
The space size in pixels. If you set - , the theme's default value is used. |
space_before |
integer |
0 , 120 , or even -
|
The space size in pixels. If you set - , the theme's default value is used. |
Please, make sure your theme supports this shortcode, before using it.
Some themes may not be compatible with certain shortcodes as they may use different approach to displaying similar elements. In that case the shortcode is displays in its raw code format on your website front-end.
— Download the plugin at WordPress plugins repository or directly via your WordPress dashboard.
— Get a compatible theme at WebManDesign.eu.
— Please help us translate the plugin into your language. Thank you! :)