=== Horizontal Line Shortcode ===
Contributors: mikakaltoft
Donate link: http://rocapress.com/donate
Tags: shortocde,tags,editor,text,post,page
Requires at least: 3.0.1
Tested up to: 4.5.2
Stable tag: 4.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tired of using
tags in the Text Editor? Now you can simply add shortcode [hr] to your content in the Visual Editor to insert a horizontal line.
== Description ==
Instead of shifting to the text editor, inserting the < hr > tag, shifting back to the visual editor, with a chance that you delete the < hr > tag by mistake. You can now simply add shortcode [hr] anywhere, and multiple times, in your content in the Visual Editor to insert a horizontal line.
This will make your content mark-up mucher easier to read and manage in the backend.
Additionally you can also add top and buttom margin to the horizontal line. Please see the FAQ for more information how to do it using shortcode parameters.
== Installation ==
1. Upload 'horizontal-line-shortcode' file to the '/wp-content/plugins/' directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Create a new post or page
4. Add a title
4. Place the shortcode [hr] in the post or page’s content area anywhere in your content once or multiple times different places.
5. Click “Update”.
6. Now, view the post or page.
== Frequently Asked Questions ==
= What shortcode should I use to display the horizontal line =
[hr]
= How can I add top and bottom margin =
[hr margin-top="50" margin-bottom="30"]
= Do I need to add 'px' after my top and botto margin value =
No, you can simply add:
[hr margin-top="50"]
== Screenshots ==
1. Post or page with the [hr] shortcode within the text.
2. The output on the front-end.
3. Post or page with the [hr] shortcode with parameters within the text.
4. The output on the front-end.
== Changelog ==
= 1.0 =
* Initial release.
== Upgrade Notice ==
= 1.0 =
This is the first version of the plugin. No updates available yet.