{"id":33931,"date":"2019-03-04T08:56:38","date_gmt":"2019-03-04T08:56:38","guid":{"rendered":"http:\/\/getshortcodes.com\/?post_type=docs&#038;p=33931"},"modified":"2020-10-21T11:58:00","modified_gmt":"2020-10-21T11:58:00","slug":"divider","status":"publish","type":"docs","link":"https:\/\/getshortcodes.com\/docs\/divider\/","title":{"rendered":"Divider"},"content":{"rendered":"<div class=\"block-demo block-demo-default\">\n\t<div class=\"block-demo-viewport\">\n\t\t<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum maximus et risus in blandit. Sed vel scelerisque elit.<\/p>\n<div class=\"su-divider su-divider-style-default\" style=\"margin:16px 0;border-width:1px;border-color:#F73F43\"><a href=\"#\" style=\"color:#F73F43\">Go to top<\/a><\/div>\n<p>Aenean finibus sem tellus. Vestibulum accumsan justo turpis, a consectetur magna vulputate pretium.<\/p>\n\t<\/div>\n\t<div class=\"block-demo-source\">\n\t\t<pre contenteditable=\"true\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum maximus et risus in blandit. Sed vel scelerisque elit.\n\n<div class=\"su-divider su-divider-style-quotdefaultquot\" style=\"margin:0px 0;border-width:0px;border-color:&quot;#F73F43&quot;\"><\/div>\n\nAenean finibus sem tellus. Vestibulum accumsan justo turpis, a consectetur magna vulputate pretium.<\/pre>\n\t<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"description\">Description<\/h2>\n\n\n\n<p>This shortcode allows you to divide page content with styled divider. You can customize colors, hide &#8220;Got to top&#8221; link and adjust divider size.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"options\">Options<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Option name<\/th><th>Possible values<\/th><th>Default value<\/th><\/tr><\/thead><tbody><tr><td><strong>top<\/strong><br><small>Show link to top of the page or not<\/small><\/td><td>yes or no<\/td><td>yes<\/td><\/tr><tr><td><strong>text<\/strong><br><small>Text for the GO TOP link<\/small><\/td><td>Any text value<\/td><td>Go to top<\/td><\/tr><tr><td><strong>anchor<\/strong><br><small>Use this option to set a custom anchor for the Go to top link<\/small><\/td><td>Any text value<\/td><td>#<\/td><\/tr><tr><td><strong>style<\/strong><br><small>Choose style for this divider<\/small><\/td><td>default (Default)<br>dotted (Dotted)<br>dashed (Dashed)<br>double (Double)<\/td><td>default<\/td><\/tr><tr><td><strong>divider_color<\/strong><br><small>Pick the color for divider<\/small><\/td><td>#HEX color<\/td><td>#999999<\/td><\/tr><tr><td><strong>link_color<\/strong><br><small>Pick the color for TOP link<\/small><\/td><td>#HEX color<\/td><td>#999999<\/td><\/tr><tr><td><strong>size<\/strong><br><small>Height of the divider (in pixels)<\/small><\/td><td>Number from 0 to 40<\/td><td>3<\/td><\/tr><tr><td><strong>margin<\/strong><br><small>Adjust the top and bottom margins of this divider (in pixels)<\/small><\/td><td>Number from 0 to 200<\/td><td>15<\/td><\/tr><tr><td><strong>class<\/strong><br><small>Additional CSS class name(s) separated by space(s)<\/small><\/td><td>CSS class name(s) separated by space(s)<\/td><td><em>\u2013 none \u2013<\/em><\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"featured_media":36691,"template":"","docs_category":[21],"class_list":["post-33931","docs","type-docs","status-publish","has-post-thumbnail","hentry","docs_category-shortcodes"],"_links":{"self":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/docs\/33931","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/types\/docs"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/media\/36691"}],"wp:attachment":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/media?parent=33931"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/docs_category?post=33931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}