{"id":18174,"date":"2016-08-12T01:57:54","date_gmt":"2016-08-11T16:57:54","guid":{"rendered":"http:\/\/oichinote.com\/plus\/?p=18174"},"modified":"2016-08-12T10:51:33","modified_gmt":"2016-08-12T01:51:33","slug":"customize-feedzy-rss-feeds-with-css-changing","status":"publish","type":"post","link":"https:\/\/oichinote.com\/plus\/2016\/08\/customize-feedzy-rss-feeds-with-css-changing.html","title":{"rendered":"Customize Feedzy RSS Feeds by CSS"},"content":{"rendered":"<p>I&#8217;m using a plugin &#8211; Feedzy RSS Feeds &#8211; to display abstracts of my website.<\/p>\n<ul>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/feedzy-rss-feeds\/\" target=\"_blank\">WordPress \u203a FEEDZY RSS Feeds \u00ab WordPress Plugins<\/a><\/li>\n<\/ul>\n<blockquote class=\"wp-embedded-content\" data-secret=\"AibGEILf23\"><a href=\"https:\/\/oichinote.com\/plus\/2015\/06\/embed-rss-with-image-by-wordpress-plugin.html\">WordPress\u3067\u6295\u7a3f\u8a18\u4e8b\u5185\u306b\u753b\u50cf\u4ed8\u304d\u3067RSS\u3092\u57cb\u3081\u8fbc\u3080[\u8ffd\u8a18\u3042\u308a]<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;WordPress\u3067\u6295\u7a3f\u8a18\u4e8b\u5185\u306b\u753b\u50cf\u4ed8\u304d\u3067RSS\u3092\u57cb\u3081\u8fbc\u3080[\u8ffd\u8a18\u3042\u308a]&#8221; &#8212; \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593\" src=\"https:\/\/oichinote.com\/plus\/2015\/06\/embed-rss-with-image-by-wordpress-plugin.html\/embed#?secret=oEcuFFOTbh#?secret=AibGEILf23\" data-secret=\"AibGEILf23\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<p>(In Japanese)<\/p>\n<p>However, Its specification doesn&#8217;t match my requirement, so I was using an alternated version of it. The version is developed by me. It accepts some new sort-codes.<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"zvwy7uZ0A5\"><a href=\"https:\/\/oichinote.com\/plus\/2015\/07\/oichinote-version-of-feedzy-rss-feeds.html\">Oichinote version of FEEDZY RSS Feeds<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Oichinote version of FEEDZY RSS Feeds&#8221; &#8212; \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593\" src=\"https:\/\/oichinote.com\/plus\/2015\/07\/oichinote-version-of-feedzy-rss-feeds.html\/embed#?secret=w7d5YMEosz#?secret=zvwy7uZ0A5\" data-secret=\"zvwy7uZ0A5\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<p>The result is as follows.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/oichinote.com\/plus\/files\/2016\/02\/20160203feedzy-tuned.png\" alt=\"Feedzy RSS Feeds\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\" width=\"454\" height=\"480\" class=\"alignnone size-full wp-image-17045\" srcset=\"https:\/\/oichinote.com\/plus\/files\/2016\/02\/20160203feedzy-tuned.png 454w, https:\/\/oichinote.com\/plus\/files\/2016\/02\/20160203feedzy-tuned-142x150.png 142w\" sizes=\"auto, (max-width: 454px) 100vw, 454px\" \/><\/p>\n<p>However, the original plugin was updated, then the alternative version has to be updated also. Otherwise, the customize will be never reflected. Feedzy RSS Feeds isn&#8217;t an exception. I thought I should update my alternative version.<\/p>\n<p>I made a miss-operation on WordPress, the customize has gone. Then, the display is no good for me without custimize.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/oichinote.com\/plus\/files\/2016\/02\/20160203feedzy-normal.png\" alt=\"Feedzy RSS Feeds\u30ce\u30fc\u30de\u30eb\" width=\"450\" height=\"480\" class=\"alignnone size-full wp-image-17044\" srcset=\"https:\/\/oichinote.com\/plus\/files\/2016\/02\/20160203feedzy-normal.png 450w, https:\/\/oichinote.com\/plus\/files\/2016\/02\/20160203feedzy-normal-141x150.png 141w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/p>\n<p>Can you catch the different? The second photo is zoomed up of its center. Oh, my god! I have to update it.<\/p>\n<p>The point of my customize for Feedzy RSS Feeds is embedding CSS to feedzy-rss-feeds-shortcode.php that displays images.<\/p>\n<pre class=\"hljs\"><code class=\"css\">background-size: contain; background-repeat: no-repeat;\r\n<\/code><\/pre>\n<p>If you customize the plugin, then it is as follows.<\/p>\n<pre class=\"hljs\"><code class=\"diff\">--- feedzy-rss-feeds-shortcode.php\t2016-01-30 18:25:25.000000000 +0900\r\n+++ feedzy-rss-feeds-shortcode.php.revised\t2016-01-30 17:55:37.000000000 +0900\r\n@@ -155,7 +155,7 @@\r\n \t\t\t\t\t\t\r\n \t\t\t\t\t\t$thethumbnail = feedzy_image_encode( $thethumbnail );\r\n \t\t\t\t\t\t$contentThumb .= &#039;&lt;span class=&quot;default&quot; style=&quot;width:&#039; . $sizes&#091;&#039;width&#039;&#093; . &#039;px; height:&#039; . $sizes&#091;&#039;height&#039;&#093; . &#039;px; background-image:  url(&#039; . $default . &#039;);&quot; alt=&quot;&#039; . $item-&gt;get_title() . &#039;&quot;&gt;&lt;\/span&gt;&#039;;\r\n-\t\t\t\t\t\t$contentThumb .= &#039;&lt;span class=&quot;fetched&quot; style=&quot;width:&#039; . $sizes&#091;&#039;width&#039;&#093; . &#039;px; height:&#039; . $sizes&#091;&#039;height&#039;&#093; . &#039;px; background-image:  url(&#039; . $thethumbnail . &#039;);&quot; alt=&quot;&#039; . $item-&gt;get_title() . &#039;&quot;&gt;&lt;\/span&gt;&#039;;\r\n+\t\t\t\t\t\t$contentThumb .= &#039;&lt;span class=&quot;fetched&quot; style=&quot;width:&#039; . $sizes&#091;&#039;width&#039;&#093; . &#039;px; height:&#039; . $sizes&#091;&#039;height&#039;&#093; . &#039;px; background-image:  url(&#039; . $thethumbnail . &#039;); background-size: contain; background-repeat: no-repeat;&quot; alt=&quot;&#039; . $item-&gt;get_title() . &#039;&quot;&gt;&lt;\/span&gt;&#039;;\r\n \t\t\t\t\t\r\n \t\t\t\t\t} else if ( empty( $thethumbnail ) &amp;&amp; $thumb == &#039;yes&#039; ) {\r\n\r\n<\/code><\/pre>\n<p>If I would add the CSS without customizing the plugin, it is happy for me. I found a definition of its class when I analyzed the plugin. I will be able to embed the CSS without customize the plugin.<\/p>\n<pre class=\"hljs\"><code class=\"css\">.feedzy-rss .rss_item .rss_image .fetched {\r\n    background-size: contain;\r\n    background-repeat: no-repeat;\r\n}\r\n\r\n.feedzy-rss .rss_item .rss_image .default {\r\n    display: none;\r\n}\r\n<\/code><\/pre>\n<p>Please include this CSS your WordPress such as JetPack&#8217;s custom CSS. I got a good view as follows.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/oichinote.com\/plus\/files\/2016\/02\/20160203feedzy-tuned.png\" alt=\"Feedzy RSS Feeds\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\" width=\"454\" height=\"480\" class=\"alignnone size-full wp-image-17045\" srcset=\"https:\/\/oichinote.com\/plus\/files\/2016\/02\/20160203feedzy-tuned.png 454w, https:\/\/oichinote.com\/plus\/files\/2016\/02\/20160203feedzy-tuned-142x150.png 142w\" sizes=\"auto, (max-width: 454px) 100vw, 454px\" \/><\/p>\n[amazonjs asin=\"B01B48SKDK\" locale=\"JP\"]\n<p>Japanese Version of this article is below.<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"QRcMokBLey\"><a href=\"https:\/\/oichinote.com\/plus\/2016\/02\/customize-feedzy-rss-feeds-by-css.html\">CSS\u3067Feedzy RSS Feeds\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;CSS\u3067Feedzy RSS Feeds\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba&#8221; &#8212; \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593\" src=\"https:\/\/oichinote.com\/plus\/2016\/02\/customize-feedzy-rss-feeds-by-css.html\/embed#?secret=coxYyN1TXJ#?secret=QRcMokBLey\" data-secret=\"QRcMokBLey\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m using a plugin &#8211; Feedzy RSS Feeds &#8211; to display abstracts of my website. WordPress \u203a FEED [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":17045,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u65b0\u3057\u3044\u8a18\u4e8b\u300eCustomize Feedzy RSS Feeds by CSS\u300f\u3092\u6295\u7a3f\u3057\u307e\u3057\u305f\u3002\u8aad\u3093\u3067\u3044\u305f\u3060\u3051\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\u3002","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[9,33],"tags":[],"class_list":["post-18174","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-webblog-cocolog","category-wordpress"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/oichinote.com\/plus\/files\/2016\/02\/20160203feedzy-tuned.png","jetpack-related-posts":[{"id":15416,"url":"https:\/\/oichinote.com\/plus\/2015\/07\/oichinote-version-of-feedzy-rss-feeds.html","url_meta":{"origin":18174,"position":0},"title":"Oichinote version of FEEDZY RSS Feeds","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2015\u5e747\u67084\u65e5","format":false,"excerpt":"This site is using a great WordPress plugin FEEDZY\u2026","rel":"","context":"Web-log\u30fb\u30b3\u30b3\u30ed\u30b0\u95a2\u9023","block_context":{"text":"Web-log\u30fb\u30b3\u30b3\u30ed\u30b0\u95a2\u9023","link":"https:\/\/oichinote.com\/plus\/category\/webblog-cocolog"},"img":{"alt_text":"Oichinote Version FEEDZY RSS Feeds","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2015\/07\/20150704feedzy-rss-feeds.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":17038,"url":"https:\/\/oichinote.com\/plus\/2016\/02\/customize-feedzy-rss-feeds-by-css.html","url_meta":{"origin":18174,"position":1},"title":"CSS\u3067Feedzy RSS Feeds\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2016\u5e742\u67083\u65e5","format":false,"excerpt":"Feedzy RSS Feeds\u3068\u8a00\u3046\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u3063\u3066\u3001\u672c\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u4e2d\u306e\u629c\u7c8b\u8868\u793a\u306b\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002\u2026","rel":"","context":"Web-log\u30fb\u30b3\u30b3\u30ed\u30b0\u95a2\u9023","block_context":{"text":"Web-log\u30fb\u30b3\u30b3\u30ed\u30b0\u95a2\u9023","link":"https:\/\/oichinote.com\/plus\/category\/webblog-cocolog"},"img":{"alt_text":"Feedzy\u4fee\u6b63\u7248","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2016\/02\/20160203feedzy-tuned.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":18990,"url":"https:\/\/oichinote.com\/plus\/2017\/01\/feedzy-rss-feeds-lite-3-0-2.html","url_meta":{"origin":18174,"position":2},"title":"FEEDZY RSS Feeds Lite\u304c\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3055\u308c\u3066\u307e\u3057\u305f","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2017\u5e741\u67086\u65e5","format":false,"excerpt":"\u672c\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u4e2d\u306b\u3001RSS\u3092\u57cb\u3081\u8fbc\u3080\u305f\u3081\u306b\u3001FEEDZY RSS Feeds Lite\u3092\u4f7f\u3063\u3066\u3044\u307e\u2026","rel":"","context":"Web-log\u30fb\u30b3\u30b3\u30ed\u30b0\u95a2\u9023","block_context":{"text":"Web-log\u30fb\u30b3\u30b3\u30ed\u30b0\u95a2\u9023","link":"https:\/\/oichinote.com\/plus\/category\/webblog-cocolog"},"img":{"alt_text":"Feedzy3.0.1","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2017\/01\/20170106feedzy-default.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":15336,"url":"https:\/\/oichinote.com\/plus\/2015\/06\/embed-rss-with-image-by-wordpress-plugin.html","url_meta":{"origin":18174,"position":3},"title":"WordPress\u3067\u6295\u7a3f\u8a18\u4e8b\u5185\u306b\u753b\u50cf\u4ed8\u304d\u3067RSS\u3092\u57cb\u3081\u8fbc\u3080[\u8ffd\u8a18\u3042\u308a]","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2015\u5e746\u670822\u65e5","format":false,"excerpt":"\u672c\u30a6\u30a7\u30d6\u3092\u8a2a\u308c\u3066\u3044\u305f\u3060\u3044\u305f\u65b9\u306b\u3001\u4ed6\u306e\u30da\u30fc\u30b8\u3082\u898b\u3066\u3082\u3089\u3046\u305f\u3081\u306b\u3001\u6295\u7a3f\u306e\u6982\u8981\u3092\u753b\u50cf\u4ed8\u304d\u3067\u57cb\u3081\u8fbc\u307f\u305f\u3044\u3068\u601d\u2026","rel":"","context":"WordPress","block_context":{"text":"WordPress","link":"https:\/\/oichinote.com\/plus\/category\/wordpress"},"img":{"alt_text":"Feedzy\u4fee\u6b63\u7248","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2016\/02\/20160203feedzy-tuned.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":19141,"url":"https:\/\/oichinote.com\/plus\/2017\/01\/how-to-display-rss-feed-time-and-date-in-local-time-for-feedzy.html","url_meta":{"origin":18174,"position":4},"title":"Feedzy RSS Feeds\u3067\u30ed\u30fc\u30ab\u30eb\u30bf\u30a4\u30e0\u3092\u8868\u793a\u3059\u308b\u6a5f\u80fd\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2017\u5e741\u670827\u65e5","format":false,"excerpt":"Feedzy RSS Feeds\u3067RSS Feed\u4e2d\u306e\u8a18\u4e8b\u3092\u8868\u793a\u3055\u308c\u308b\u3068\u3001\u6295\u7a3f\u65e5\u6642\u304cUTC\u3067\u8868\u793a\u3055\u308c\u2026","rel":"","context":"Web-log\u30fb\u30b3\u30b3\u30ed\u30b0\u95a2\u9023","block_context":{"text":"Web-log\u30fb\u30b3\u30b3\u30ed\u30b0\u95a2\u9023","link":"https:\/\/oichinote.com\/plus\/category\/webblog-cocolog"},"img":{"alt_text":"JST\u8868\u793a","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2017\/01\/20170127feedzy-jst.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":13909,"url":"https:\/\/oichinote.com\/plus\/2015\/04\/how-to-regist-to-goo-blog-index.html","url_meta":{"origin":18174,"position":5},"title":"WordPress\u306e\u8a18\u4e8b\u3092Goo\u30d6\u30ed\u30b0\u691c\u7d22\u69d8\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3057\u3066\u9802\u304f","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2015\u5e744\u670824\u65e5","format":false,"excerpt":"Goo\u30d6\u30ed\u30b0\u691c\u7d22\u69d8\u306f\u3001\u72ec\u7279\u306e\u4fa1\u5024\u89b3\u3092\u6301\u3063\u3066\u304a\u3089\u308c\u3001\u6a19\u6e96\u306eWordPress\u304b\u3089\u306eping\u3092\u53d7\u3051\u4ed8\u3051\u3066\u2026","rel":"","context":"Web-log\u30fb\u30b3\u30b3\u30ed\u30b0\u95a2\u9023","block_context":{"text":"Web-log\u30fb\u30b3\u30b3\u30ed\u30b0\u95a2\u9023","link":"https:\/\/oichinote.com\/plus\/category\/webblog-cocolog"},"img":{"alt_text":"Goo Blog\u691c\u7d22\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3055\u308c\u305f","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2015\/04\/20150424goo-indexed-480x86.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/18174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/comments?post=18174"}],"version-history":[{"count":10,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/18174\/revisions"}],"predecessor-version":[{"id":18187,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/18174\/revisions\/18187"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media\/17045"}],"wp:attachment":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media?parent=18174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/categories?post=18174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/tags?post=18174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}