{"id":1952,"date":"2013-11-29T16:09:33","date_gmt":"2013-11-29T16:09:33","guid":{"rendered":"http:\/\/demo.curlythemes.com\/equestrian-v2\/?page_id=1952"},"modified":"2016-03-23T17:23:17","modified_gmt":"2016-03-23T17:23:17","slug":"weather-shortcodes","status":"publish","type":"page","link":"https:\/\/demo.curlythemes.com\/equestrian\/weather-shortcodes\/","title":{"rendered":"Weather Shortcodes"},"content":{"rendered":"<div class=\"content-column half\" ><h1>H1. <\/p>\n<div id=\"simple-weather--71204ada893bf1a6194f4d92d9ba15d2\" class=\"simple-weather simple-weather--vue\" :style=\"atts.inline_css\">\n  <template v-if=\"style !== 'widget'\"><br \/>\n    <span v-if=\"hasCurrentWeather()\" class=\"simple-weather__day simple-weather__day--current\"><br \/>\n      <span v-if=\"filter_var(atts.show_units)\" class=\"simple-weather__date\">{{current_weather.dt | moment( atts.date )}}<\/span><br \/>\n      <i class=\"sw\" :class=\"getWeatherIcon(current_weather)\"><\/i><br \/>\n      <em class=\"simple-weather__temp\">{{current_weather.temp | temp}} &deg;<template v-if=\"filter_var(atts.show_units)\">{{units}}<\/template><br \/>\n      <\/em><br \/>\n    <\/span><br \/>\n    <template v-if=\"weather_feed\"><br \/>\n      <span v-for=\"(day, index) in weather_feed\" v-if=\"isDayVisible(index, day)\" class=\"simple-weather__day\"><br \/>\n        <span v-if=\"filter_var(atts.show_units)\" class=\"simple-weather__date\">{{day.dt | moment(atts.date)}}<\/span><br \/>\n        <i class=\"sw\" :class=\"getWeatherIcon(day)\"><\/i><br \/>\n        <em class=\"simple-weather__temp\">{{day.temp | temp}} &deg;<em class=\"simple-weather__temp-min\" v-if=\"filter_var(atts.night)\">{{day.temp_min | temp}} &deg;<\/em><template v-if=\"filter_var(atts.show_units)\">{{units}}<\/template><\/em><br \/>\n      <\/span><br \/>\n    <\/template><br \/>\n    <template v-else><br \/>\n      <span v-html=\"error\" class=\"error\"><\/span><br \/>\n    <\/template><br \/>\n  <\/template><br \/>\n  <template v-else><\/p>\n<div class=\"simple-weather-widget\" v-if=\"current_weather.name || weather_feed\" :class=\"atts.inline_css ? 'simple-weather-widget--bg' : ''\">\n<h4 class='widget_title' v-if=\"atts.title || current_weather.name\" v-text=\"atts.title ? atts.title : current_weather.name\"><\/h4>\n<div class=\"temp\">\n        <span v-if=\"current_weather.temp\" class=\"degrees\">{{current_weather.temp | temp}} &deg;<\/span><br \/>\n        <span class=\"details\"><br \/>\n          <template v-if=\"current_weather.humidity\">Humidity: <em class=\"float-right\">{{current_weather.humidity}}%<\/em><br \/><\/template><br \/>\n          <template v-if=\"current_weather.clouds\">Clouds: <em class=\"float-right\">{{current_weather.clouds}}%<\/em><br \/><\/template><br \/>\n          <template v-if=\"current_weather.wind\">Wind <small>({{current_weather.wind.deg}})<\/small>:<br \/>\n          <em class=\"float-right\">{{current_weather.wind.speed}}<small>{{units_wind}}<\/small><\/em><\/template><br \/>\n        <\/span>\n      <\/div>\n<div class=\"summary\">{{current_weather.desc}}<\/div>\n<div class=\"simple-weather-table\" v-if=\"weather_feed\">\n<div v-for=\"(day, index) in weather_feed\" v-if=\"index < atts.days\" class=\"simple-weather-table__row\">\n<div class=\"simple-weather-table__date\">{{day.dt | moment(atts.date)}}<\/div>\n<div class=\"simple-weather-table__icon\"><i class=\"sw\" :class=\"getWeatherIcon(day)\"><\/i><\/div>\n<div class=\"simple-weather-table__temp\">\n            {{day.temp | temp}}&deg;<br \/>\n            <span class=\"simple-weather-table__temp-min\">{{day.temp_min | temp}} &deg;<\/span>\n          <\/div><\/div><\/div><\/div>\n<p>  <\/template>\n<\/div>\n<\/h1>\n<h2>H2. <\/p>\n<div id=\"simple-weather--71204ada893bf1a6194f4d92d9ba15d2\" class=\"simple-weather simple-weather--vue\" :style=\"atts.inline_css\">\n  <template v-if=\"style !== 'widget'\"><br \/>\n    <span v-if=\"hasCurrentWeather()\" class=\"simple-weather__day simple-weather__day--current\"><br \/>\n      <span v-if=\"filter_var(atts.show_units)\" class=\"simple-weather__date\">{{current_weather.dt | moment( atts.date )}}<\/span><br \/>\n      <i class=\"sw\" :class=\"getWeatherIcon(current_weather)\"><\/i><br \/>\n      <em class=\"simple-weather__temp\">{{current_weather.temp | temp}} &deg;<template v-if=\"filter_var(atts.show_units)\">{{units}}<\/template><br \/>\n      <\/em><br \/>\n    <\/span><br \/>\n    <template v-if=\"weather_feed\"><br \/>\n      <span v-for=\"(day, index) in weather_feed\" v-if=\"isDayVisible(index, day)\" class=\"simple-weather__day\"><br \/>\n        <span v-if=\"filter_var(atts.show_units)\" class=\"simple-weather__date\">{{day.dt | moment(atts.date)}}<\/span><br \/>\n        <i class=\"sw\" :class=\"getWeatherIcon(day)\"><\/i><br \/>\n        <em class=\"simple-weather__temp\">{{day.temp | temp}} &deg;<em class=\"simple-weather__temp-min\" v-if=\"filter_var(atts.night)\">{{day.temp_min | temp}} &deg;<\/em><template v-if=\"filter_var(atts.show_units)\">{{units}}<\/template><\/em><br \/>\n      <\/span><br \/>\n    <\/template><br \/>\n    <template v-else><br \/>\n      <span v-html=\"error\" class=\"error\"><\/span><br \/>\n    <\/template><br \/>\n  <\/template><br \/>\n  <template v-else><\/p>\n<div class=\"simple-weather-widget\" v-if=\"current_weather.name || weather_feed\" :class=\"atts.inline_css ? 'simple-weather-widget--bg' : ''\">\n<h4 class='widget_title' v-if=\"atts.title || current_weather.name\" v-text=\"atts.title ? atts.title : current_weather.name\"><\/h4>\n<div class=\"temp\">\n        <span v-if=\"current_weather.temp\" class=\"degrees\">{{current_weather.temp | temp}} &deg;<\/span><br \/>\n        <span class=\"details\"><br \/>\n          <template v-if=\"current_weather.humidity\">Humidity: <em class=\"float-right\">{{current_weather.humidity}}%<\/em><br \/><\/template><br \/>\n          <template v-if=\"current_weather.clouds\">Clouds: <em class=\"float-right\">{{current_weather.clouds}}%<\/em><br \/><\/template><br \/>\n          <template v-if=\"current_weather.wind\">Wind <small>({{current_weather.wind.deg}})<\/small>:<br \/>\n          <em class=\"float-right\">{{current_weather.wind.speed}}<small>{{units_wind}}<\/small><\/em><\/template><br \/>\n        <\/span>\n      <\/div>\n<div class=\"summary\">{{current_weather.desc}}<\/div>\n<div class=\"simple-weather-table\" v-if=\"weather_feed\">\n<div v-for=\"(day, index) in weather_feed\" v-if=\"index < atts.days\" class=\"simple-weather-table__row\">\n<div class=\"simple-weather-table__date\">{{day.dt | moment(atts.date)}}<\/div>\n<div class=\"simple-weather-table__icon\"><i class=\"sw\" :class=\"getWeatherIcon(day)\"><\/i><\/div>\n<div class=\"simple-weather-table__temp\">\n            {{day.temp | temp}}&deg;<br \/>\n            <span class=\"simple-weather-table__temp-min\">{{day.temp_min | temp}} &deg;<\/span>\n          <\/div><\/div><\/div><\/div>\n<p>  <\/template>\n<\/div>\n<\/h2>\n<h3>H3. <\/p>\n<div id=\"simple-weather--71204ada893bf1a6194f4d92d9ba15d2\" class=\"simple-weather simple-weather--vue\" :style=\"atts.inline_css\">\n  <template v-if=\"style !== 'widget'\"><br \/>\n    <span v-if=\"hasCurrentWeather()\" class=\"simple-weather__day simple-weather__day--current\"><br \/>\n      <span v-if=\"filter_var(atts.show_units)\" class=\"simple-weather__date\">{{current_weather.dt | moment( atts.date )}}<\/span><br \/>\n      <i class=\"sw\" :class=\"getWeatherIcon(current_weather)\"><\/i><br \/>\n      <em class=\"simple-weather__temp\">{{current_weather.temp | temp}} &deg;<template v-if=\"filter_var(atts.show_units)\">{{units}}<\/template><br \/>\n      <\/em><br \/>\n    <\/span><br \/>\n    <template v-if=\"weather_feed\"><br \/>\n      <span v-for=\"(day, index) in weather_feed\" v-if=\"isDayVisible(index, day)\" class=\"simple-weather__day\"><br \/>\n        <span v-if=\"filter_var(atts.show_units)\" class=\"simple-weather__date\">{{day.dt | moment(atts.date)}}<\/span><br \/>\n        <i class=\"sw\" :class=\"getWeatherIcon(day)\"><\/i><br \/>\n        <em class=\"simple-weather__temp\">{{day.temp | temp}} &deg;<em class=\"simple-weather__temp-min\" v-if=\"filter_var(atts.night)\">{{day.temp_min | temp}} &deg;<\/em><template v-if=\"filter_var(atts.show_units)\">{{units}}<\/template><\/em><br \/>\n      <\/span><br \/>\n    <\/template><br \/>\n    <template v-else><br \/>\n      <span v-html=\"error\" class=\"error\"><\/span><br \/>\n    <\/template><br \/>\n  <\/template><br \/>\n  <template v-else><\/p>\n<div class=\"simple-weather-widget\" v-if=\"current_weather.name || weather_feed\" :class=\"atts.inline_css ? 'simple-weather-widget--bg' : ''\">\n<h4 class='widget_title' v-if=\"atts.title || current_weather.name\" v-text=\"atts.title ? atts.title : current_weather.name\"><\/h4>\n<div class=\"temp\">\n        <span v-if=\"current_weather.temp\" class=\"degrees\">{{current_weather.temp | temp}} &deg;<\/span><br \/>\n        <span class=\"details\"><br \/>\n          <template v-if=\"current_weather.humidity\">Humidity: <em class=\"float-right\">{{current_weather.humidity}}%<\/em><br \/><\/template><br \/>\n          <template v-if=\"current_weather.clouds\">Clouds: <em class=\"float-right\">{{current_weather.clouds}}%<\/em><br \/><\/template><br \/>\n          <template v-if=\"current_weather.wind\">Wind <small>({{current_weather.wind.deg}})<\/small>:<br \/>\n          <em class=\"float-right\">{{current_weather.wind.speed}}<small>{{units_wind}}<\/small><\/em><\/template><br \/>\n        <\/span>\n      <\/div>\n<div class=\"summary\">{{current_weather.desc}}<\/div>\n<div class=\"simple-weather-table\" v-if=\"weather_feed\">\n<div v-for=\"(day, index) in weather_feed\" v-if=\"index < atts.days\" class=\"simple-weather-table__row\">\n<div class=\"simple-weather-table__date\">{{day.dt | moment(atts.date)}}<\/div>\n<div class=\"simple-weather-table__icon\"><i class=\"sw\" :class=\"getWeatherIcon(day)\"><\/i><\/div>\n<div class=\"simple-weather-table__temp\">\n            {{day.temp | temp}}&deg;<br \/>\n            <span class=\"simple-weather-table__temp-min\">{{day.temp_min | temp}} &deg;<\/span>\n          <\/div><\/div><\/div><\/div>\n<p>  <\/template>\n<\/div>\n<\/h3>\n<\/div><div class=\"content-column last clearfix half\" ><h3>Simple Paragraph, with multiple days:<\/h3>\n<div id=\"simple-weather--de33bf7f8d263b9d603a31625ec7d618\" class=\"simple-weather simple-weather--vue\" :style=\"atts.inline_css\">\n  <template v-if=\"style !== 'widget'\"><br \/>\n    <span v-if=\"hasCurrentWeather()\" class=\"simple-weather__day simple-weather__day--current\"><br \/>\n      <span v-if=\"filter_var(atts.show_units)\" class=\"simple-weather__date\">{{current_weather.dt | moment( atts.date )}}<\/span><br \/>\n      <i class=\"sw\" :class=\"getWeatherIcon(current_weather)\"><\/i><br \/>\n      <em class=\"simple-weather__temp\">{{current_weather.temp | temp}} &deg;<template v-if=\"filter_var(atts.show_units)\">{{units}}<\/template><br \/>\n      <\/em><br \/>\n    <\/span><br \/>\n    <template v-if=\"weather_feed\"><br \/>\n      <span v-for=\"(day, index) in weather_feed\" v-if=\"isDayVisible(index, day)\" class=\"simple-weather__day\"><br \/>\n        <span v-if=\"filter_var(atts.show_units)\" class=\"simple-weather__date\">{{day.dt | moment(atts.date)}}<\/span><br \/>\n        <i class=\"sw\" :class=\"getWeatherIcon(day)\"><\/i><br \/>\n        <em class=\"simple-weather__temp\">{{day.temp | temp}} &deg;<em class=\"simple-weather__temp-min\" v-if=\"filter_var(atts.night)\">{{day.temp_min | temp}} &deg;<\/em><template v-if=\"filter_var(atts.show_units)\">{{units}}<\/template><\/em><br \/>\n      <\/span><br \/>\n    <\/template><br \/>\n    <template v-else><br \/>\n      <span v-html=\"error\" class=\"error\"><\/span><br \/>\n    <\/template><br \/>\n  <\/template><br \/>\n  <template v-else><\/p>\n<div class=\"simple-weather-widget\" v-if=\"current_weather.name || weather_feed\" :class=\"atts.inline_css ? 'simple-weather-widget--bg' : ''\">\n<h4 class='widget_title' v-if=\"atts.title || current_weather.name\" v-text=\"atts.title ? atts.title : current_weather.name\"><\/h4>\n<div class=\"temp\">\n        <span v-if=\"current_weather.temp\" class=\"degrees\">{{current_weather.temp | temp}} &deg;<\/span><br \/>\n        <span class=\"details\"><br \/>\n          <template v-if=\"current_weather.humidity\">Humidity: <em class=\"float-right\">{{current_weather.humidity}}%<\/em><br \/><\/template><br \/>\n          <template v-if=\"current_weather.clouds\">Clouds: <em class=\"float-right\">{{current_weather.clouds}}%<\/em><br \/><\/template><br \/>\n          <template v-if=\"current_weather.wind\">Wind <small>({{current_weather.wind.deg}})<\/small>:<br \/>\n          <em class=\"float-right\">{{current_weather.wind.speed}}<small>{{units_wind}}<\/small><\/em><\/template><br \/>\n        <\/span>\n      <\/div>\n<div class=\"summary\">{{current_weather.desc}}<\/div>\n<div class=\"simple-weather-table\" v-if=\"weather_feed\">\n<div v-for=\"(day, index) in weather_feed\" v-if=\"index < atts.days\" class=\"simple-weather-table__row\">\n<div class=\"simple-weather-table__date\">{{day.dt | moment(atts.date)}}<\/div>\n<div class=\"simple-weather-table__icon\"><i class=\"sw\" :class=\"getWeatherIcon(day)\"><\/i><\/div>\n<div class=\"simple-weather-table__temp\">\n            {{day.temp | temp}}&deg;<br \/>\n            <span class=\"simple-weather-table__temp-min\">{{day.temp_min | temp}} &deg;<\/span>\n          <\/div><\/div><\/div><\/div>\n<p>  <\/template>\n<\/div>\n<p>&nbsp;<\/p>\n<h3>Simple Paragraph, with day &amp; night:<\/h3>\n<div id=\"simple-weather--6e9d1deb9ae22279b43f2be679d52ee2\" class=\"simple-weather simple-weather--vue\" :style=\"atts.inline_css\">\n  <template v-if=\"style !== 'widget'\"><br \/>\n    <span v-if=\"hasCurrentWeather()\" class=\"simple-weather__day simple-weather__day--current\"><br \/>\n      <span v-if=\"filter_var(atts.show_units)\" class=\"simple-weather__date\">{{current_weather.dt | moment( atts.date )}}<\/span><br \/>\n      <i class=\"sw\" :class=\"getWeatherIcon(current_weather)\"><\/i><br \/>\n      <em class=\"simple-weather__temp\">{{current_weather.temp | temp}} &deg;<template v-if=\"filter_var(atts.show_units)\">{{units}}<\/template><br \/>\n      <\/em><br \/>\n    <\/span><br \/>\n    <template v-if=\"weather_feed\"><br \/>\n      <span v-for=\"(day, index) in weather_feed\" v-if=\"isDayVisible(index, day)\" class=\"simple-weather__day\"><br \/>\n        <span v-if=\"filter_var(atts.show_units)\" class=\"simple-weather__date\">{{day.dt | moment(atts.date)}}<\/span><br \/>\n        <i class=\"sw\" :class=\"getWeatherIcon(day)\"><\/i><br \/>\n        <em class=\"simple-weather__temp\">{{day.temp | temp}} &deg;<em class=\"simple-weather__temp-min\" v-if=\"filter_var(atts.night)\">{{day.temp_min | temp}} &deg;<\/em><template v-if=\"filter_var(atts.show_units)\">{{units}}<\/template><\/em><br \/>\n      <\/span><br \/>\n    <\/template><br \/>\n    <template v-else><br \/>\n      <span v-html=\"error\" class=\"error\"><\/span><br \/>\n    <\/template><br \/>\n  <\/template><br \/>\n  <template v-else><\/p>\n<div class=\"simple-weather-widget\" v-if=\"current_weather.name || weather_feed\" :class=\"atts.inline_css ? 'simple-weather-widget--bg' : ''\">\n<h4 class='widget_title' v-if=\"atts.title || current_weather.name\" v-text=\"atts.title ? atts.title : current_weather.name\"><\/h4>\n<div class=\"temp\">\n        <span v-if=\"current_weather.temp\" class=\"degrees\">{{current_weather.temp | temp}} &deg;<\/span><br \/>\n        <span class=\"details\"><br \/>\n          <template v-if=\"current_weather.humidity\">Humidity: <em class=\"float-right\">{{current_weather.humidity}}%<\/em><br \/><\/template><br \/>\n          <template v-if=\"current_weather.clouds\">Clouds: <em class=\"float-right\">{{current_weather.clouds}}%<\/em><br \/><\/template><br \/>\n          <template v-if=\"current_weather.wind\">Wind <small>({{current_weather.wind.deg}})<\/small>:<br \/>\n          <em class=\"float-right\">{{current_weather.wind.speed}}<small>{{units_wind}}<\/small><\/em><\/template><br \/>\n        <\/span>\n      <\/div>\n<div class=\"summary\">{{current_weather.desc}}<\/div>\n<div class=\"simple-weather-table\" v-if=\"weather_feed\">\n<div v-for=\"(day, index) in weather_feed\" v-if=\"index < atts.days\" class=\"simple-weather-table__row\">\n<div class=\"simple-weather-table__date\">{{day.dt | moment(atts.date)}}<\/div>\n<div class=\"simple-weather-table__icon\"><i class=\"sw\" :class=\"getWeatherIcon(day)\"><\/i><\/div>\n<div class=\"simple-weather-table__temp\">\n            {{day.temp | temp}}&deg;<br \/>\n            <span class=\"simple-weather-table__temp-min\">{{day.temp_min | temp}} &deg;<\/span>\n          <\/div><\/div><\/div><\/div>\n<p>  <\/template>\n<\/div>\n<\/div><div class=\"clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"H1. {{current_weather.dt | moment( atts.date )}} {{current_weather.temp | temp}} &deg;{{units}} {{day.dt | moment(atts.date)}} {{day.temp | temp}} &deg;{{day.temp_min | temp}} &deg;{{units}} {{current_weather.temp | temp}} &deg; Humidity: {{current_weather.humidity}}% Clouds: {{current_weather.clouds}}% Wind ({{current_weather.wind.deg}}): {{current_weather.wind.speed}}{{units_wind}} {{current_weather.desc}} {{day.dt | moment(atts.date)}} {{day.temp | temp}}&deg; {{day.temp_min | temp}} &deg; H2. {{current_weather.dt | moment( atts.date )}} {{current_weather.temp | temp}} &deg;{{units}} {{day.dt | moment(atts.date)}} {{day.temp | temp}} &deg;{{day.temp_min | [...] <a class=\"continue-reading h6 color-primary\" href=\"https:\/\/demo.curlythemes.com\/equestrian\/weather-shortcodes\/\"><i class=\"fa fa-fw fa-angle-double-right \"><\/i>Continue Reading<\/a>","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1952","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/demo.curlythemes.com\/equestrian\/wp-json\/wp\/v2\/pages\/1952","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.curlythemes.com\/equestrian\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.curlythemes.com\/equestrian\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo.curlythemes.com\/equestrian\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.curlythemes.com\/equestrian\/wp-json\/wp\/v2\/comments?post=1952"}],"version-history":[{"count":0,"href":"https:\/\/demo.curlythemes.com\/equestrian\/wp-json\/wp\/v2\/pages\/1952\/revisions"}],"wp:attachment":[{"href":"https:\/\/demo.curlythemes.com\/equestrian\/wp-json\/wp\/v2\/media?parent=1952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}