{"id":942,"date":"2016-08-12T14:25:51","date_gmt":"2016-08-12T12:25:51","guid":{"rendered":"http:\/\/meteotemplate.com\/blog\/?p=942"},"modified":"2016-08-12T14:27:53","modified_gmt":"2016-08-12T12:27:53","slug":"new-block-nws-forecast-custom","status":"publish","type":"post","link":"https:\/\/meteotemplate.com\/blog\/?p=942","title":{"rendered":"New Block &#8211; NWS Forecast &#8211; Custom"},"content":{"rendered":"<p>Hi guys,<\/p>\n<p>I created another block using the NWS forecast.<\/p>\n<p>This block shows a map where the user can choose a point in the area of the United States and it will show them the NWS forecast for that place. If you only want to show forecast for your location use the nwsForecast block instead, this one does not use caching and therefore will be slower.<\/p>\n<p><a href=\"http:\/\/www.meteotemplate.com\/template\/indexBlockDemoWide.php?block=nwsForecastCustom\" target=\"_blank\">DEMO<\/a><\/p>\n<p><em>Note: <\/em><br \/>\n<em>The block\u00a0uses your station coordinates by default, so in the demo you see N\/A because my station is outside the U.S. Simply drag the marker to wherever you want to change the forecast.<\/em><\/p>\n<p>Enjoy<\/p>\n<div style=\"min-height: 30px;display: inline-block;\"><input id=\"942\" style=\"float: right;max-width: 50px;\" src=\"https:\/\/meteotemplate.com\/blog\/wp-content\/plugins\/wp-advanced-pdf\/asset\/images\/pdf.png\" alt=\"#TB_inline?height=230&amp;width=400&amp;inlineId=examplePopup1\" title=\"Export pdf to your Email\" class=\"thickbox export-pdf\" type=\"image\" value=\"Export to PDF\" \/><\/div>","protected":false},"excerpt":{"rendered":"<p>Hi guys, I created another block using the NWS forecast. This block shows a map where the user can choose a point in the area of the United States and it will show them the NWS forecast for that place. If you only want to show forecast for your location use the nwsForecast block instead, &#8230; <a title=\"New Block &#8211; NWS Forecast &#8211; Custom\" class=\"read-more\" href=\"https:\/\/meteotemplate.com\/blog\/?p=942\">Read more<span class=\"screen-reader-text\">New Block &#8211; NWS Forecast &#8211; Custom<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":484,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[85],"tags":[243],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/meteotemplate.com\/blog\/wp-content\/uploads\/2016\/03\/us.png","_links":{"self":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/942"}],"collection":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=942"}],"version-history":[{"count":2,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/942\/revisions"}],"predecessor-version":[{"id":944,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/942\/revisions\/944"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/484"}],"wp:attachment":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=942"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=942"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=942"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}