{"id":10707,"date":"2014-02-11T15:46:29","date_gmt":"2014-02-11T15:46:29","guid":{"rendered":"http:\/\/www.oik-plugins.com\/?post_type=shortcode_example&#038;p=10707"},"modified":"2014-02-11T15:59:14","modified_gmt":"2014-02-11T15:59:14","slug":"bw_address-styled-address-label","status":"publish","type":"shortcode_example","link":"https:\/\/www.oik-plugins.com\/shortcode_example\/bw_address-styled-address-label\/","title":{"rendered":"bw_address <span class=\"summary\">&#8211; styled as an address label<\/span>"},"content":{"rendered":"Use custom CSS to style the output from the bw_address shortcode.<!--more-->\r\nNote: The region and postal-code are set to <code>display: inline;<\/code>\r\n<div class=\"w70pc\">\r\n<div><style  type=\"text\/css\" media=\"screen,print\">.bw_address {border: 1px gray solid;\r\nbackground-color: white;margin: 3pt 3pt 6pt 3pt;\r\n-webkit-border-radius: 10px;-moz-border-radius: 10px;\r\nborder-radius: 10pt;padding: 3pt 5pt 3pt 10pt;}\r\n.bw_address .postal-code, \r\n.bw_address .region { display: inline; }\r\n<\/style><div class=\"bw_css\"><code><span style=\"color: #6666ff;\">.bw_address<\/span> <span style=\"color: #00AA00;\">&#123;<\/span><span style=\"color: #000000; font-weight: bold;\">border<\/span><span style=\"color: #00AA00;\">:<\/span> <span style=\"color: #933;\">1px<\/span> <span style=\"color: #dc143c;\">gray<\/span> <span style=\"color: #993333;\">solid<\/span><span style=\"color: #00AA00;\">;<\/span><br \/>\n<span style=\"color: #000000; font-weight: bold;\">background-color<\/span><span style=\"color: #00AA00;\">:<\/span> <span style=\"color: #dc143c;\">white<\/span><span style=\"color: #00AA00;\">;<\/span><span style=\"color: #000000; font-weight: bold;\">margin<\/span><span style=\"color: #00AA00;\">:<\/span> <span style=\"color: #933;\">3pt<\/span> <span style=\"color: #933;\">3pt<\/span> <span style=\"color: #933;\">6pt<\/span> <span style=\"color: #933;\">3pt<\/span><span style=\"color: #00AA00;\">;<\/span><br \/>\n-webkit-border-radius<span style=\"color: #00AA00;\">:<\/span> <span style=\"color: #933;\">10px<\/span><span style=\"color: #00AA00;\">;<\/span>-moz-border-radius<span style=\"color: #00AA00;\">:<\/span> <span style=\"color: #933;\">10px<\/span><span style=\"color: #00AA00;\">;<\/span><br \/>\n<span style=\"color: #000000; font-weight: bold;\">border-radius<\/span><span style=\"color: #00AA00;\">:<\/span> <span style=\"color: #933;\">10pt<\/span><span style=\"color: #00AA00;\">;<\/span><span style=\"color: #000000; font-weight: bold;\">padding<\/span><span style=\"color: #00AA00;\">:<\/span> <span style=\"color: #933;\">3pt<\/span> <span style=\"color: #933;\">5pt<\/span> <span style=\"color: #933;\">3pt<\/span> <span style=\"color: #933;\">10pt<\/span><span style=\"color: #00AA00;\">;<\/span><span style=\"color: #00AA00;\">&#125;<\/span><br \/>\n<span style=\"color: #6666ff;\">.bw_address<\/span> <span style=\"color: #6666ff;\">.postal-code<\/span><span style=\"color: #00AA00;\">,<\/span> <br \/>\n<span style=\"color: #6666ff;\">.bw_address<\/span> <span style=\"color: #6666ff;\">.region<\/span> <span style=\"color: #00AA00;\">&#123;<\/span> <span style=\"color: #000000; font-weight: bold;\">display<\/span><span style=\"color: #00AA00;\">:<\/span> <span style=\"color: #993333;\">inline<\/span><span style=\"color: #00AA00;\">;<\/span> <span style=\"color: #00AA00;\">&#125;<\/span><br \/>\n&nbsp;<\/code><\/div><\/div>\r\n\r\n<strong>Note:<\/strong>Region and postal-code are set to <code>display: inline;<\/code> so that they appear on the same line. \r\n\r\n<\/div>\r\n<div class=\"w30pc\">\r\n<div class=\"adr bw_address\"><div class=\"type\">Work<\/div><div class=\"extended-address\">The Long Room<\/div><div class=\"street-address\">41 Redhill Road<\/div><div class=\"locality\">Rowlands Castle<\/div><div class=\"region\">HANTS<\/div><div class=\"postal-code\">PO9 6DE<\/div><div class=\"country-name\">UK<\/div><\/div> \r\n<\/div>\r\n<div class=\"cleared clear\"><\/div>\r\n\r\n\r\n<h3>See also<\/h3>\r\n<ul>\r\n\t<li><a class=\"bw_link\" href=\"https:\/\/www.oik-plugins.com\/wordpress-plugins-from-oik-plugins\/oik-base-plugin\/oik-options\/oik-options-overview\/oik-options-overview-custom-css\/\">oik options &gt; Overview: Custom CSS<\/a><\/li>\r\n\r\n\t<li><span class=\"bw_plug\"><a class=\"plugin\" href=\"https:\/\/www.oik-plugins.com\/oik-plugins\/oik-css\/\" title=\"Link to the oik-css (oik-css: Internal CSS styling) plugin\">oik-css<\/a><\/span><\/li>\r\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Use custom CSS to style the output from the bw_address shortcode.<\/p>\n","protected":false},"featured_media":0,"template":"","letters":[],"class_list":{"0":"post-10707","1":"shortcode_example","2":"type-shortcode_example","3":"status-publish","5":"entry"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>bw_address - styled as an address label - [oik] plugins.com<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.oik-plugins.com\/shortcode_example\/bw_address-styled-address-label\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"bw_address - styled as an address label - [oik] plugins.com\" \/>\n<meta property=\"og:description\" content=\"Use custom CSS to style the output from the bw_address shortcode.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.oik-plugins.com\/shortcode_example\/bw_address-styled-address-label\/\" \/>\n<meta property=\"og:site_name\" content=\"[oik] plugins.com\" \/>\n<meta property=\"article:modified_time\" content=\"2014-02-11T15:59:14+00:00\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.oik-plugins.com\/shortcode_example\/bw_address-styled-address-label\/\",\"url\":\"https:\/\/www.oik-plugins.com\/shortcode_example\/bw_address-styled-address-label\/\",\"name\":\"bw_address - styled as an address label - [oik] plugins.com\",\"isPartOf\":{\"@id\":\"https:\/\/www.oik-plugins.com\/#website\"},\"datePublished\":\"2014-02-11T15:46:29+00:00\",\"dateModified\":\"2014-02-11T15:59:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.oik-plugins.com\/shortcode_example\/bw_address-styled-address-label\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.oik-plugins.com\/shortcode_example\/bw_address-styled-address-label\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.oik-plugins.com\/shortcode_example\/bw_address-styled-address-label\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Shortcode examples\",\"item\":\"https:\/\/www.oik-plugins.com\/shortcode_example\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"bw_address &#8211; styled as an address label\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.oik-plugins.com\/#website\",\"url\":\"https:\/\/www.oik-plugins.com\/\",\"name\":\"[oik] plugins.com\",\"description\":\"WordPress plugins and themes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.oik-plugins.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"bw_address - styled as an address label - [oik] plugins.com","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.oik-plugins.com\/shortcode_example\/bw_address-styled-address-label\/","og_locale":"en_US","og_type":"article","og_title":"bw_address - styled as an address label - [oik] plugins.com","og_description":"Use custom CSS to style the output from the bw_address shortcode.","og_url":"https:\/\/www.oik-plugins.com\/shortcode_example\/bw_address-styled-address-label\/","og_site_name":"[oik] plugins.com","article_modified_time":"2014-02-11T15:59:14+00:00","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.oik-plugins.com\/shortcode_example\/bw_address-styled-address-label\/","url":"https:\/\/www.oik-plugins.com\/shortcode_example\/bw_address-styled-address-label\/","name":"bw_address - styled as an address label - [oik] plugins.com","isPartOf":{"@id":"https:\/\/www.oik-plugins.com\/#website"},"datePublished":"2014-02-11T15:46:29+00:00","dateModified":"2014-02-11T15:59:14+00:00","breadcrumb":{"@id":"https:\/\/www.oik-plugins.com\/shortcode_example\/bw_address-styled-address-label\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.oik-plugins.com\/shortcode_example\/bw_address-styled-address-label\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.oik-plugins.com\/shortcode_example\/bw_address-styled-address-label\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Shortcode examples","item":"https:\/\/www.oik-plugins.com\/shortcode_example\/"},{"@type":"ListItem","position":2,"name":"bw_address &#8211; styled as an address label"}]},{"@type":"WebSite","@id":"https:\/\/www.oik-plugins.com\/#website","url":"https:\/\/www.oik-plugins.com\/","name":"[oik] plugins.com","description":"WordPress plugins and themes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.oik-plugins.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/shortcode_example\/10707","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/shortcode_example"}],"about":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/types\/shortcode_example"}],"version-history":[{"count":1,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/shortcode_example\/10707\/revisions"}],"predecessor-version":[{"id":10708,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/shortcode_example\/10707\/revisions\/10708"}],"wp:attachment":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/media?parent=10707"}],"wp:term":[{"taxonomy":"letters","embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/letters?post=10707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}