{"id":3588,"date":"2026-04-12T18:42:50","date_gmt":"2026-04-12T09:42:50","guid":{"rendered":"https:\/\/sbsc.mixh.jp\/trs\/?p=3588"},"modified":"2026-04-12T18:42:50","modified_gmt":"2026-04-12T09:42:50","slug":"3588","status":"publish","type":"post","link":"https:\/\/sbsc.mixh.jp\/trs\/cat01\/3588\/","title":{"rendered":""},"content":{"rendered":"<div id=\"simple-weather--1704138f5e0297525e616becf17f87d0\" class=\"simple-weather simple-weather--vue\" :style=\"atts.inline_css\">\n  <template v-if=\"style !== 'widget'\">\n    <span v-if=\"hasCurrentWeather()\" class=\"simple-weather__day simple-weather__day--current\">\n      <span v-if=\"filter_var(atts.show_units)\" class=\"simple-weather__date\">{{current_weather?.dt | momentjs(atts?.date)}}<\/span>\n      <i class=\"sw\" :class=\"getWeatherIcon(current_weather)\"><\/i>\n      <em class=\"simple-weather__temp\">{{current_weather.temp | temp}} &deg;<template v-if=\"filter_var(atts.show_units)\">{{units}}<\/template>\n      <\/em>\n    <\/span>\n    <template v-if=\"weather_feed\">\n      <span v-for=\"(day, index) in weather_feed\" v-if=\"isDayVisible(index, day)\" class=\"simple-weather__day\">\n        <span v-if=\"filter_var(atts.show_units)\" class=\"simple-weather__date\">{{day.dt | momentjs(atts?.date)}}<\/span>\n        <i class=\"sw\" :class=\"getWeatherIcon(day)\"><\/i>\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>\n      <\/span>\n    <\/template>\n    <template v-else>\n      <span v-html=\"error\" class=\"error\"><\/span>\n    <\/template>\n  <\/template>\n  <template v-else>\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>\n        <span class=\"details\">\n          <template v-if=\"current_weather.humidity\">Humidity: <em class=\"float-right\">{{current_weather.humidity}}%<\/em><br><\/template>\n          <template v-if=\"current_weather.clouds\">Clouds: <em class=\"float-right\">{{current_weather.clouds}}%<\/em><br><\/template>\n          <template v-if=\"current_weather.wind\">Wind <small>({{current_weather.wind.deg}})<\/small>:\n          <em class=\"float-right\">{{current_weather.wind.speed}}<small>{{units_wind}}<\/small><\/em><\/template>\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\t\t\t\t\t<div class=\"simple-weather-table__date\">{{day.dt | momentjs(atts.date)}}<\/div>\n\t\t\t\t\t<div class=\"simple-weather-table__icon\"><i class=\"sw\" :class=\"getWeatherIcon(day)\"><\/i><\/div>\n\t\t\t\t\t<div class=\"simple-weather-table__temp\">\n            {{day.temp | temp}}&deg;\n            <span class=\"simple-weather-table__temp-min\">{{day.temp_min | temp}} &deg;<\/span>\n          <\/div>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/template>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3588","post","type-post","status-publish","format-standard","hentry","category-cat01"],"_links":{"self":[{"href":"https:\/\/sbsc.mixh.jp\/trs\/wp-json\/wp\/v2\/posts\/3588","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sbsc.mixh.jp\/trs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sbsc.mixh.jp\/trs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sbsc.mixh.jp\/trs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sbsc.mixh.jp\/trs\/wp-json\/wp\/v2\/comments?post=3588"}],"version-history":[{"count":1,"href":"https:\/\/sbsc.mixh.jp\/trs\/wp-json\/wp\/v2\/posts\/3588\/revisions"}],"predecessor-version":[{"id":3589,"href":"https:\/\/sbsc.mixh.jp\/trs\/wp-json\/wp\/v2\/posts\/3588\/revisions\/3589"}],"wp:attachment":[{"href":"https:\/\/sbsc.mixh.jp\/trs\/wp-json\/wp\/v2\/media?parent=3588"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sbsc.mixh.jp\/trs\/wp-json\/wp\/v2\/categories?post=3588"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sbsc.mixh.jp\/trs\/wp-json\/wp\/v2\/tags?post=3588"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}