{"id":38856,"date":"2015-09-12T13:55:06","date_gmt":"2015-09-12T13:55:06","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/horizontal-line-shortcode\/"},"modified":"2016-05-20T08:54:18","modified_gmt":"2016-05-20T08:54:18","slug":"horizontal-line-shortcode","status":"closed","type":"plugin","link":"https:\/\/en-ca.wordpress.org\/plugins\/horizontal-line-shortcode\/","author":5484076,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"4.5.33","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Horizontal Line Shortcode","header_author":"RocaPress","header_description":"","assets_banners_color":"319eca","last_updated":"2016-05-20 08:54:18","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/rocapress.com\/donate","header_plugin_uri":"http:\/\/rocapress.com","header_author_uri":"http:\/\/rocapress.com","rating":3.7,"author_block_rating":0,"active_installs":90,"downloads":2994,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<p>This is the first version of the plugin. No updates available yet.<\/p>"},"ratings":{"1":"1","2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1244051","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1244051","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1244051","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1244051","resolution":"3","location":"assets"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1244051","resolution":"4","location":"assets"}},"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."}},"plugin_section":[],"plugin_tags":[1332,86,1793,609,749],"plugin_category":[46,57],"plugin_contributors":[84349],"plugin_business_model":[],"class_list":["post-38856","plugin","type-plugin","status-closed","hentry","plugin_tags-editor","plugin_tags-post","plugin_tags-shortocde","plugin_tags-tags","plugin_tags-text","plugin_category-editor-and-writing","plugin_category-taxonomy","plugin_contributors-mikakaltoft","plugin_committers-mikakaltoft"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/horizontal-line-shortcode_319eca.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/horizontal-line-shortcode\/assets\/screenshot-1.png?rev=1244051","caption":"Post or page with the [hr] shortcode within the text."},{"src":"https:\/\/ps.w.org\/horizontal-line-shortcode\/assets\/screenshot-2.png?rev=1244051","caption":"The output on the front-end."},{"src":"https:\/\/ps.w.org\/horizontal-line-shortcode\/assets\/screenshot-3.png?rev=1244051","caption":"Post or page with the [hr] shortcode with parameters within the text."},{"src":"https:\/\/ps.w.org\/horizontal-line-shortcode\/assets\/screenshot-4.png?rev=1244051","caption":"The output on the front-end."}],"raw_content":"<!--section=description-->\n<p>Instead of shifting to the text editor, inserting the &lt; hr &gt; tag, shifting back to the visual editor, with a chance that you delete the &lt; hr &gt; 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.<\/p>\n\n<p>This will make your content mark-up mucher easier to read and manage in the backend.<\/p>\n\n<p>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.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload 'horizontal-line-shortcode' file to the '\/wp-content\/plugins\/' directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Create a new post or page<\/li>\n<li>Add a title<\/li>\n<li>Place the shortcode [hr] in the post or page\u2019s content area anywhere in your content once or multiple times different places.<\/li>\n<li>Click \u201cUpdate\u201d.<\/li>\n<li>Now, view the post or page.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What shortcode should I use to display the horizontal line<\/dt>\n<dd><p><br \/>\n    [hr]\n<br \/><\/p><\/dd>\n<dt>How can I add top and bottom margin<\/dt>\n<dd><p><br \/>\n    [hr margin-top=\"50\" margin-bottom=\"30\"]\n<br \/><\/p><\/dd>\n<dt>Do I need to add 'px' after my top and botto margin value<\/dt>\n<dd><p><br \/>\nNo, you can simply add:\n<br \/>\n    [hr margin-top=\"50\"]\n<br \/><\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"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.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/38856","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=38856"}],"author":[{"embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mikakaltoft"}],"wp:attachment":[{"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=38856"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=38856"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=38856"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=38856"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=38856"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=38856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}