Simple Breaks adds in shortcodes for everyday html elements that get removed by visual mode such as [ br ] and [ hr ], as well as providing support for Clear left, clear right and clear both css attributes.
To use Simple Breaks, place the shortcode below into your post or page to get the desired result (without the spaced next to the [ and ]).
|[ br ]||Adds in a line break, accepts the attributes id and class|
|[ clearright ]||Pushes all the content below it down until no content is floating to the right, accepts the attributes id, class and span.|
|[ clearleft ]||Pushes all the content below it down until no content is floating to the left, accepts the attributes id, class and span.|
|[ clearboth ]||Pushes all the content below it down until no content is floating to the right or the left, accepts the attributes id, class and span.|
|[ hr ]||Horizontal Rule, draws a line across the page, accepts the attributes id, size class and color|
|[ space ]||Blank space, empty, nothing, pushes content down, accepts the attributes id, size and class|
The span attribute in [ clearleft ] [ clearright ] [ clearboth ] allows an override of the default tag used. when span=false (default) the tag used will be a div, however when span=true the tag used will be a span.
for example [ clearleft span=true ] will use a span tag instead of a div tag, and [ clearleft ] will use a div tag as default
Installation is Quick, just upload the Simple Breaks files to a Simple Breaks folder within wp-content/plugins and then activate the plugin through the admin dashboard, or find the plugin using the WordPress plugin search and click install
Frequently Asked Questions
Q. Where can the plugin be used?
Currently the plugin can be used anywhere that allows shortcodes.
Q. How can I customise the elements?
To customise the elements you can apply a css class using the “Class” attribute, or an ID using the “ID” attribute.