﻿{"id":22422,"date":"2019-01-28T17:42:54","date_gmt":"2019-01-28T08:42:54","guid":{"rendered":"https:\/\/www.hcz.jp\/blog\/?p=22422"},"modified":"2025-10-11T17:01:03","modified_gmt":"2025-10-11T08:01:03","slug":"wordpress%ef%bc%88%e3%83%af%e3%83%bc%e3%83%89%e3%83%97%e3%83%ac%e3%82%b9%ef%bc%89%e3%81%ae%e6%8a%95%e7%a8%bf%e8%a8%98%e4%ba%8b%e3%82%92%e3%83%9b%e3%83%bc%e3%83%a0%e3%83%9a%e3%83%bc%e3%82%b8%ef%bc%88ht","status":"publish","type":"post","link":"https:\/\/www.hcz.jp\/blog\/?p=22422","title":{"rendered":"WordPress\uff08\u30ef\u30fc\u30c9\u30d7\u30ec\u30b9\uff09\u306e\u6295\u7a3f\u8a18\u4e8b\u3092\u30db\u30fc\u30e0\u30da\u30fc\u30b8\uff08html\uff09\u306b\u8cbc\u308a\u4ed8\u3051\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>WordPress\u306e\u6295\u7a3f\u8a18\u4e8b\u3092\u81ea\u52d5\u7684\u306b\u30db\u30fc\u30e0\u30da\u30fc\u30b8\uff08HTML\u30b5\u30a4\u30c8\uff09\u3078\u8868\u793a\u3055\u305b\u305f\u3044\u3068<\/p>\n<p>\u601d\u3063\u305f\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f \u300c\u30d6\u30ed\u30b0\u306fWordPress\u3067\u904b\u55b6\u3057\u3066\u3044\u308b\u3051\u308c\u3069\u3001<\/p>\n<p>\u5225\u3067\u4f5c\u3063\u3066\u3044\u308b\u4f01\u696d\u30db\u30fc\u30e0\u30da\u30fc\u30b8\uff08HTML\uff09\u306b\u3082\u6700\u65b0\u8a18\u4e8b\u3092\u8868\u793a\u3057\u305f\u3044\u300d<\/p>\n<p>\u300c\u5916\u90e8\u30b5\u30fc\u30d3\u30b9\u306b\u983c\u3089\u305a\u3001\u81ea\u5206\u3067\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u5b9f\u88c5\u3057\u305f\u3044\u300d<\/p>\n<p>\u300cWordPress\u5074\u306e\u8a18\u4e8b\u3092\u66f4\u65b0\u3057\u305f\u3089\u3001\u81ea\u52d5\u3067\u9759\u7684\u30b5\u30a4\u30c8\u306b\u3082\u53cd\u6620\u3055\u305b\u305f\u3044\u300d \u305d\u3093\u306a<\/p>\n<p>\u60a9\u307f\u3092\u305a\u3063\u3068\u62b1\u3048\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u3053\u306e\u65b9\u6cd5\u3092\u4f7f\u3048\u3070\u5916\u90e8\u30b5\u30fc\u30d3\u30b9\u3092\u4f7f\u308f\u305a\u306b\u3001<\/p>\n<p>jQuery\u3060\u3051\u3067WordPress\u306e\u8a18\u4e8b\u3092\u53d6\u5f97\u3057\u3066HTML\u30b5\u30a4\u30c8\u306b\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3082\u3001\u5b9f\u88c5\u306f\u610f\u5916\u3068\u7c21\u5358\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001WordPress\u306e\u6295\u7a3f\u8a18\u4e8b\u3092HTML\u30b5\u30a4\u30c8\u3078\u81ea\u52d5\u8868\u793a\u3059\u308b\u65b9\u6cd5\u3092\u3001<\/p>\n<p>\u3067\u304d\u308b\u3060\u3051\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002\u5f8c\u534a\u3067\u306f\u3001\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\u306e\u8868\u793a\u65b9\u6cd5\u3084<\/p>\n<p>functions.php\u306e\u6ce8\u610f\u70b9\u306a\u3069\u3001\u5b9f\u969b\u306b\u3084\u3063\u3066\u307f\u306a\u3044\u3068\u6c17\u3065\u3051\u306a\u3044\u30dd\u30a4\u30f3\u30c8\u3082\u3057\u3063\u304b\u308a\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<hr \/>\n<h3>\u904e\u53bb\u306b\u8a66\u3057\u305f\u65b9\u6cd5\u3068\u3001\u305d\u306e\u554f\u984c\u70b9<\/h3>\n<p>WordPress\u306e\u8a18\u4e8b\u3092HTML\u30b5\u30a4\u30c8\u306b\u8868\u793a\u3059\u308b\u65b9\u6cd5\u3092\u9577\u3044\u9593\u63a2\u3057\u7d9a\u3051\u3001<\/p>\n<p>\u3044\u308d\u3044\u308d\u8a66\u3057\u3066\u304d\u307e\u3057\u305f\u3002\u3067\u3059\u304c\u3001\u3069\u308c\u3082\u6c7a\u5b9a\u6253\u306b\u6b20\u3051\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u307e\u305a\u306f\u305d\u306e\u4ee3\u8868\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong> Google Feed API \u3092\u5229\u7528\u3059\u308b\u65b9\u6cd5<\/strong>\uff08\u904e\u53bb\u306e\u5b9a\u756a\uff09<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"LFePbcVpie\"><p><a href=\"https:\/\/www.hcz.jp\/blog\/?p=15284\">DW Question Answer\u3000\u8cea\u554f\u3092\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u306b\u8cbc\u308a\u4ed8\u3051\u308b\u65b9\u6cd5<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;DW Question Answer\u3000\u8cea\u554f\u3092\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u306b\u8cbc\u308a\u4ed8\u3051\u308b\u65b9\u6cd5&#8221; &#8212; HCZ BLOG\" src=\"https:\/\/www.hcz.jp\/blog\/?p=15284&#038;embed=true#?secret=wXD7SI2SYv#?secret=LFePbcVpie\" data-secret=\"LFePbcVpie\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p>\u304b\u3064\u3066\u30d6\u30ed\u30b0\u306eRSS\u30d5\u30a3\u30fc\u30c9\u3092\u6271\u3046\u65b9\u6cd5\u3068\u3057\u3066\u3088\u304f\u4f7f\u308f\u308c\u3066\u3044\u305f\u306e\u304c\u3001<\/p>\n<p>\u3053\u306e\u300cGoogle Feed API\u300d\u3002\u3057\u304b\u3057\u6b8b\u5ff5\u306a\u304c\u3089\u30012017\u5e741\u670811\u65e5\u3067\u30b5\u30fc\u30d3\u30b9\u304c\u5ec3\u6b62\u3055\u308c\u3001<\/p>\n<p>\u73fe\u5728\u306f\u4f7f\u3048\u307e\u305b\u3093\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"UIz9miKaqH\"><p><a href=\"https:\/\/www.hcz.jp\/blog\/?p=17028\">\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u306b\u8cbc\u308a\u4ed8\u3051\u305f\u30d6\u30ed\u30b0\uff08rss\uff09\u304c\u8868\u793a\u3055\u308c\u306a\u304f\u306a\u3063\u305f\u3002Google Feed API\u304c\u7d42\u4e86\u3057\u305f\u307d<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u306b\u8cbc\u308a\u4ed8\u3051\u305f\u30d6\u30ed\u30b0\uff08rss\uff09\u304c\u8868\u793a\u3055\u308c\u306a\u304f\u306a\u3063\u305f\u3002Google Feed API\u304c\u7d42\u4e86\u3057\u305f\u307d&#8221; &#8212; HCZ BLOG\" src=\"https:\/\/www.hcz.jp\/blog\/?p=17028&#038;embed=true#?secret=vapgQsN5mi#?secret=UIz9miKaqH\" data-secret=\"UIz9miKaqH\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<hr \/>\n<p><strong> FeedWind\u3092\u4f7f\u3046\u65b9\u6cd5\uff08\u5916\u90e8\u30b5\u30fc\u30d3\u30b9\uff09<\/strong><\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"8K1eCalhxU\"><p><a href=\"https:\/\/www.hcz.jp\/blog\/?p=17064\">Google Feed API\u306e\u4ee3\u66ff\u306f\u8a2d\u5b9a\u30fb\u5b9f\u88c5\u304c\u8d85\u7c21\u5358\u306e\u300cFeedWind\u300d<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Google Feed API\u306e\u4ee3\u66ff\u306f\u8a2d\u5b9a\u30fb\u5b9f\u88c5\u304c\u8d85\u7c21\u5358\u306e\u300cFeedWind\u300d&#8221; &#8212; HCZ BLOG\" src=\"https:\/\/www.hcz.jp\/blog\/?p=17064&#038;embed=true#?secret=j8b3bPUfZY#?secret=8K1eCalhxU\" data-secret=\"8K1eCalhxU\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u30b3\u30fc\u30c9\u3092\u8cbc\u308a\u4ed8\u3051\u308b\u3060\u3051\u3067RSS\u3092\u8aad\u307f\u8fbc\u3093\u3067\u8868\u793a\u3067\u304d\u308b\u4fbf\u5229\u306a\u30b5\u30fc\u30d3\u30b9\u3067\u3057\u305f\u3002<\/p>\n<p>\u5b9f\u88c5\u3082\u975e\u5e38\u306b\u7c21\u5358\u3067\u3057\u305f\u304c\u3001 \u8868\u793a\u3055\u308c\u308b\u30b3\u30fc\u30c9\u304c\u9577\u304f\u3066\u7ba1\u7406\u304c\u9762\u5012 \u5e83\u544a\u304c\u8868\u793a\u3055\u308c\u308b<\/p>\n<p>\u3088\u3046\u306b\u306a\u3063\u305f\u3002 \u7121\u6599\u3067\u4f7f\u3046\u306b\u306f\u5236\u9650\u304c\u3042\u308b \u767b\u9332\u5236\u306b\u306a\u3063\u305f \u306a\u3069\u306e\u554f\u984c\u304c\u3042\u308a\u3001<\/p>\n<p>\u30b5\u30a4\u30c8\u306e\u30c7\u30b6\u30a4\u30f3\u306b\u3082\u5408\u308f\u305a\u63a1\u7528\u3092\u65ad\u5ff5\u3002<\/p>\n<hr \/>\n<p><strong> jQuery\u3067RSS\u3092\u8aad\u307f\u8fbc\u3080\u65b9\u6cd5\uff08\u8efd\u91cf\uff09<\/strong><\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"zIDa5b4UZd\"><p><a href=\"https:\/\/www.hcz.jp\/blog\/?p=17096\">Google Feed API\u306e\u4ee3\u66ff\u306b\u306f\u30b7\u30f3\u30d7\u30eb\u306a\u300cjQuery\u300d\u304c\u7d76\u5bfe\u30aa\u30b9\u30b9\u30e1\u3002\u5b9f\u88c5\u65b9\u6cd5\u3092\u89e3\u8aac<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Google Feed API\u306e\u4ee3\u66ff\u306b\u306f\u30b7\u30f3\u30d7\u30eb\u306a\u300cjQuery\u300d\u304c\u7d76\u5bfe\u30aa\u30b9\u30b9\u30e1\u3002\u5b9f\u88c5\u65b9\u6cd5\u3092\u89e3\u8aac&#8221; &#8212; HCZ BLOG\" src=\"https:\/\/www.hcz.jp\/blog\/?p=17096&#038;embed=true#?secret=62pNE8WuxL#?secret=zIDa5b4UZd\" data-secret=\"zIDa5b4UZd\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>\u6700\u7d42\u7684\u306b\u3053\u306ejQuery\u3092\u5229\u7528\u3057\u305f\u65b9\u6cd5\u304c\u4e00\u756a\u30b7\u30f3\u30d7\u30eb\u3067\u3057\u305f\u3002<\/p>\n<p>\u5916\u90e8\u30b5\u30fc\u30d3\u30b9\u306b\u4f9d\u5b58\u3057\u306a\u3044\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3084\u3059\u3044\u3002\u8868\u793a\u306f\u81ea\u7531\u306b\u8abf\u6574\u53ef\u80fd\u3002<\/p>\n<p>\u305f\u3060\u3057\u6b20\u70b9\u304c\u4e00\u3064\u3042\u308a\u307e\u3057\u305f\u3002\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\u304c\u8868\u793a\u3067\u304d\u306a\u3044\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u300c\u30b5\u30e0\u30cd\u30a4\u30eb\u3082\u542b\u3081\u3066\u8868\u793a\u3059\u308b\u65b9\u6cd5\u304c\u306a\u3044\u304b\uff1f\u300d\u3068\u8a66\u884c\u932f\u8aa4\u3057\u3001<\/p>\n<p>\u6700\u7d42\u7684\u306b\u5b8c\u6210\u3057\u305f\u306e\u304c\u4eca\u56de\u7d39\u4ecb\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<hr \/>\n<h3>WordPress\u306e\u6295\u7a3f\u8a18\u4e8b\u3092\u81ea\u52d5\u7684\u306bHTML\u30b5\u30a4\u30c8\u3078\u8868\u793a\u3059\u308b\u65b9\u6cd5<\/h3>\n<p>\u3053\u3053\u304b\u3089\u306f\u5b9f\u969b\u306e\u624b\u9806\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<p>\u57fa\u672c\u7684\u306b\u306fjQuery\u3092\u4f7f\u3063\u3066WordPress\u306eRSS\u30d5\u30a3\u30fc\u30c9\u3092\u8aad\u307f\u8fbc\u307f\u3001<\/p>\n<p>HTML\u306b\u51fa\u529b\u3059\u308b\u4ed5\u7d44\u307f\u3067\u3059\u3002 \u3084\u308b\u3053\u3068\u306f\u6b21\u306e<span style=\"background-color: #99ccff;\"><strong>8\u30b9\u30c6\u30c3\u30d7<\/strong><\/span>\u3067\u3059\u3002<\/p>\n<h4><\/h4>\n<p>&nbsp;<\/p>\n<h4><span style=\"background-color: #99ccff;\"><strong> Step1. WordPress\u306eRSS\u30d5\u30a3\u30fc\u30c9URL\u3092\u78ba\u8a8d\u3059\u308b<\/strong><\/span><\/h4>\n<p>WordPress\u306b\u306f\u6a19\u6e96\u3067RSS\u30d5\u30a3\u30fc\u30c9\u6a5f\u80fd\u304c\u5099\u308f\u3063\u3066\u3044\u307e\u3059\u3002\u901a\u5e38\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306aURL\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>https:\/\/\u3042\u306a\u305f\u306e\u30b5\u30a4\u30c8URL\/feed\/<\/code><\/pre>\n<\/div>\n<p>\u3082\u3057\u5206\u304b\u3089\u306a\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30b5\u30a4\u30c8\u3067\u3059\u3050\u306b\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/berss.com\/feed\/Find.aspx\" target=\"_blank\" rel=\"noopener\"><span style=\"text-decoration: underline;\"><strong>https:\/\/berss.com\/feed\/Find.aspx<\/strong><\/span><\/a>\u00a0\u2197<\/p>\n<p>&nbsp;<\/p>\n<h4><span style=\"background-color: #99ccff;\"><strong>Step2. \u5fc5\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3059\u308b\uff08rss.js \/ rss.css\uff09<\/strong><\/span><\/h4>\n<p>\u4ee5\u4e0b\u306e2\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>rss.js\uff08RSS\u3092\u8aad\u307f\u8fbc\u3080JavaScript\uff09<\/li>\n<li>rss.css\uff08\u8868\u793a\u30b9\u30bf\u30a4\u30eb\u7528CSS\uff09<\/li>\n<\/ol>\n<p>\u3053\u3061\u3089\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002\u3000<strong>\u27a1\u3000<\/strong><a href=\"https:\/\/www.hcz.jp\/download\/dwqa\/rss.zip\"><span style=\"font-size: 16px;\"><strong><span style=\"text-decoration: underline;\">rss.zip\uff08\u30b5\u30a4\u30ba\uff1a1.05KB\uff09<\/span><\/strong><\/span><\/a><\/p>\n<p>\u203b rss.js\u306f\u6700\u65b0\u72482025.10.11\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4><span style=\"background-color: #99ccff;\">Step3. rss.js\u306eURL\u3092\u66f8\u304d\u63db\u3048\u308b<\/span><\/h4>\n<p>rss.js \u3092\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\uff08TeraPad\u7b49\uff09\u3067\u958b\u304d\u3001WordPress\u306eRSS\u30d5\u30a3\u30fc\u30c9URL\u306b\u66f8\u304d\u63db\u3048\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u5909\u66f4\u524d\uff1a<\/p>\n<p><a href=\"https:\/\/www.hcz.jp\/download\/dwqa\/rss.zip\"><span style=\"text-decoration: underline;\"><\/span><\/a>url: &#8216;http:\/\/www.example.com\/blog\/feed&#8217;,<\/p>\n<p>\n<\/p>\n<p>\u5909\u66f4\u5f8c\uff08\u4f8b\uff09\uff1a<\/p>\n<p>url: &#8216;https:\/\/\u3042\u306a\u305f\u306e\u30b5\u30a4\u30c8URL\/feed\/&#8217;,<\/p>\n<p><strong>\u203b \u3053\u3053\u306b\u306f\u300c1\u300d\u3067\u8abf\u3079\u305fRSS\u306eURL\u3092\u5165\u308c\u3066\u304f\u3060\u3055\u3044\u3002<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h4><span style=\"background-color: #99ccff;\">Step4. rss.css\u3092\u30b5\u30a4\u30c8\u306e\u30b9\u30bf\u30a4\u30eb\u3078\u30b3\u30d4\u30fc<\/span><\/h4>\n<p>rss.css\u306e\u5185\u5bb9\u3092\u3001\u305d\u306e\u307e\u307e\u81ea\u5206\u306eHTML\u30b5\u30a4\u30c8\u306eCSS\u30d5\u30a1\u30a4\u30eb\u306b\u30b3\u30d4\u30da\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b3\u30d4\u30da\u304c\u7d42\u308f\u308c\u3070\u3001rss.css\u306f\u524a\u9664\u3057\u3066OK\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4><span style=\"background-color: #99ccff;\">Step5. \u8aad\u307f\u8fbc\u307f\u7528\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092HTML\u306b\u8ffd\u52a0\u3059\u308b<\/span><\/h4>\n<p>WordPress\u306e\u8a18\u4e8b\u3092\u8868\u793a\u3057\u305f\u3044HTML\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u306b\u4ee5\u4e0b\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code><span id=\"line661\"><span>&lt;<span class=\"start-tag\">script<\/span> <span class=\"attribute-name\">src<\/span>='<a class=\"attribute-value\" href=\"view-source:https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/2.1.4\/jquery.min.js\">\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/2.1.4\/jquery.min.js<\/a>'&gt;<\/span><span><\/span><span>&lt;\/<span class=\"end-tag\">script<\/span>&gt;<\/span><span><\/span><\/span>\r\n<span id=\"line663\"><span>&lt;<span class=\"start-tag\">script<\/span> <span class=\"attribute-name\">src<\/span>=\"<a class=\"attribute-value\" href=\"view-source:https:\/\/www.hcz.jp\/js\/rss.js\">js\/rss.js<\/a>\"&gt;<\/span><span><\/span><span>&lt;\/<span class=\"end-tag\">script<\/span>&gt;<\/span><\/span><\/code><\/pre>\n<\/div>\n<p>\u203b rss.js \u3092\u300cjs\u300d\u30d5\u30a9\u30eb\u30c0\u306b\u5165\u308c\u3066\u3044\u308b\u5834\u5408\u306e\u4f8b\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4><span style=\"background-color: #99ccff;\">Step6. \u8868\u793a\u3057\u305f\u3044\u5834\u6240\u306bHTML\u30bf\u30b0\u3092\u8a2d\u7f6e<\/span><\/h4>\n<p>\u8a18\u4e8b\u4e00\u89a7\u3092\u8868\u793a\u3055\u305b\u305f\u3044\u4f4d\u7f6e\u306b\u3001\u6b21\u306e\u30bf\u30b0\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>&lt;div id=\"feed\"&gt;&lt;\/div&gt;<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u3067\u3072\u3068\u307e\u305a\u3001RSS\u306e\u8a18\u4e8b\uff08\u30bf\u30a4\u30c8\u30eb\u30fb\u672c\u6587\u306e\u4e00\u90e8\uff09\u304cHTML\u306b\u8868\u793a\u3055\u308c\u308b\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u203b6.\u307e\u3067\u306f\u4ee5\u524d\u306e\u8a18\u4e8b\u3067\u8aac\u660e\u3057\u305f\u3053\u3068\u3068\u540c\u3058\u3067\u3059\u3002\u2192\uff08<a href=\"https:\/\/www.hcz.jp\/blog\/?p=17096\" target=\"_blank\" rel=\"noopener\"><span>\u8a18\u4e8b\u53c2\u7167 2017\u5e741\u670820\u65e5<\/span><\/a>\uff09<\/p>\n<p>\u8a18\u4e8b\u4e2d\u306e\u30c6\u30ad\u30b9\u30c8\u6587\u3060\u3051\u306e\u8cbc\u308a\u4ed8\u3051\u3060\u3063\u305f\u3089\u4ee5\u4e0a\u3067OK\u3002<\/p>\n<p>\u3053\u3053\u307e\u3067\u306e\u624b\u9806\u3067\u306f\u8a18\u4e8b\u30bf\u30a4\u30c8\u30eb\u3084\u672c\u6587\u306f\u8868\u793a\u3067\u304d\u307e\u3059\u304c\u3001<\/p>\n<p><strong>\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\uff08\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u753b\u50cf\uff09\u306f\u8868\u793a\u3055\u308c\u307e\u305b\u3093<\/strong>\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001WordPress\u306e<strong>RSS\u30d5\u30a3\u30fc\u30c9\u306b\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u753b\u50cf\u304c\u542b\u307e\u308c\u306a\u3044\u8a2d\u5b9a<\/strong>\u306b\u306a\u3063\u3066\u3044\u308b\u305f\u3081\u3067\u3059\u3002<\/p>\n<p data-start=\"2648\" data-end=\"2677\">\u305d\u306e\u305f\u3081\u3001WordPress\u5074\u306e\u8a2d\u5b9a\u3092\u5c11\u3057\u3060\u3051\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<p data-start=\"2648\" data-end=\"2677\">\n<h4><span style=\"background-color: #99ccff;\">Step7. functions.php \u306b\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u3066\u753b\u50cf\u3092RSS\u306b\u542b\u3081\u308b<\/span><\/h4>\n<p>WordPress\u30c6\u30fc\u30de\u5185\u306b\u3042\u308b <strong data-start=\"2739\" data-end=\"2756\">functions.php<\/strong> \u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n<p>functions.php\u306e\u5834\u6240\u306f\u30d6\u30ed\u30b0\u30c6\u30fc\u30de\u5185\u3002<br \/>\n<strong>\u00a0\/wp-content\/themes\/\u30c6\u30fc\u30de\/functions.php<\/strong><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>function rss_post_thumbnail($content) {\r\nglobal $post;\r\nif(has_post_thumbnail($post-&gt;ID)) {\r\n$content = '\r\n&lt;div&gt;' . get_the_post_thumbnail($post-&gt;ID) . '&lt;\/div&gt;\r\n' . $content;\r\n}\r\nreturn $content;\r\n}\r\nadd_filter('the_excerpt_rss', 'rss_post_thumbnail');\r\nadd_filter('the_content_feed', 'rss_post_thumbnail')<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u3067\u3001<strong>RSS\u30d5\u30a3\u30fc\u30c9\u306b\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\u3082\u542b\u307e\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059<\/strong>\u3002<\/p>\n<p>\u203b functions.php \u3092\u7de8\u96c6\u3059\u308b\u3068\u304d\u306f\u5fc5\u305a\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n<p>\u8a18\u8ff0\u30df\u30b9\u3092\u3059\u308b\u3068\u30b5\u30a4\u30c8\u304c\u8868\u793a\u3055\u308c\u306a\u304f\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4><span style=\"background-color: #99ccff;\">Step8. \u3079\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u3078\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/span><\/h4>\n<p>\u3053\u3053\u307e\u3067\u306b\u7de8\u96c6\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>rss.js\uff08URL\u3092\u4fee\u6b63\u3057\u305f\u3082\u306e\uff09<\/li>\n<li>CSS\u30d5\u30a1\u30a4\u30eb\uff08rss.css\u306e\u5185\u5bb9\u3092\u8ffd\u8a18\u3057\u305f\u3082\u306e\uff09<\/li>\n<li>functions.php\uff08\u8ffd\u8a18\u3057\u305f\u3082\u306e\uff09<\/li>\n<li>\u8868\u793a\u7528\u306eHTML<\/li>\n<\/ul>\n<p>\u203b \u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306e\u969b\u306f\u30d5\u30a1\u30a4\u30eb\u306e\u7f6e\u304d\u5834\u6240\u3092\u9593\u9055\u3048\u306a\u3044\u3088\u3046\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h4>\u3088\u304f\u3042\u308b\u30c8\u30e9\u30d6\u30eb\u3068\u5bfe\u51e6\u6cd5<\/h4>\n<p><strong>\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\u304c\u7570\u5e38\u306b\u5927\u304d\u304f\u306a\u308b<\/strong><\/p>\n<p>RSS\u30d5\u30a3\u30fc\u30c9\u306b\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\u3092\u542b\u3081\u308b\u8a2d\u5b9a\u3092\u884c\u3063\u305f\u5f8c\u3001HTML\u30b5\u30a4\u30c8\u306b\u8cbc\u308a\u4ed8\u3051\u305f\u753b\u50cf\u304c\u3084\u305f\u3089\u5927\u304d\u304f\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u539f\u56e0\u306f\u3001<strong>functions.php \u5185\u3067\u30b5\u30e0\u30cd\u30a4\u30eb\u30b5\u30a4\u30ba\u3092\u56fa\u5b9a\u6307\u5b9a\u3057\u3066\u3044\u308b\u5834\u5408<\/strong>\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>set_post_thumbnail_size(500, 400, true);<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u5834\u5408\u3001\u753b\u50cf\u304c500\u00d7400\u30d4\u30af\u30bb\u30eb\u3067\u5f37\u5236\u8868\u793a\u3055\u308c\u308b\u305f\u3081\u3001\u5927\u304d\u304f\u898b\u3048\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<h4>\u5bfe\u51e6\u6cd5<\/h4>\n<p>functions.php \u306e\u6307\u5b9a\u3092\u5909\u66f4\u3057\u3066\u3001HTML\u30b5\u30a4\u30c8\u306b\u5408\u308f\u305b\u305f\u30b5\u30a4\u30ba\u306b\u8abf\u6574\u3057\u307e\u3059\u3002<\/p>\n<p>\u4f8b\uff1a<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>set_post_thumbnail_size(150, 150, true);<\/code><\/pre>\n<\/div>\n<h4>\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306e\u30e1\u30c7\u30a3\u30a2\u8a2d\u5b9a\u3082\u78ba\u8a8d<\/h4>\n<p>WordPress\u7ba1\u7406\u753b\u9762\u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9 &gt; \u8a2d\u5b9a &gt; \u30e1\u30c7\u30a3\u30a2\u8a2d\u5b9a<\/p>\n<p>\u306b\u3042\u308b\u30b5\u30e0\u30cd\u30a4\u30eb\u30b5\u30a4\u30ba\u3082\u95a2\u4fc2\u3057\u307e\u3059\u3002<\/p>\n<p>functions.php \u306b\u30b5\u30e0\u30cd\u30a4\u30eb\u30b5\u30a4\u30ba\u306e\u6307\u5b9a\u3092\u3057\u306a\u3044\u5834\u5408\u3001\u3053\u3061\u3089\u306e\u8a2d\u5b9a\u304c\u512a\u5148\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>HTML\u5074\u3067\u30b5\u30e0\u30cd\u30a4\u30eb\u30b5\u30a4\u30ba\u3092\u6307\u5b9a\u3057\u305f\u3044\u5834\u5408<\/h4>\n<p>functions.php \u306e\u4e00\u90e8\u3092\u5909\u66f4\u3057\u3066\u3001<strong>\u30e1\u30c7\u30a3\u30a2\u8a2d\u5b9a\u3067\u6c7a\u3081\u305f\u30b5\u30e0\u30cd\u30a4\u30eb\u30b5\u30a4\u30ba\u3092\u4f7f\u7528<\/strong>\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u4f8b\uff1a<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>get_the_post_thumbnail($post-&gt;ID, 'thumbnail')<\/code><\/pre>\n<\/div>\n<p>\u3053\u3046\u3059\u308b\u3053\u3068\u3067\u3001\u30aa\u30ea\u30b8\u30ca\u30eb\u753b\u50cf\u3067\u306f\u306a\u304f\u3001\u8a2d\u5b9a\u3057\u305f\u30b5\u30e0\u30cd\u30a4\u30eb\u30b5\u30a4\u30ba\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>\u8ffd\u4f38\uff1a\u753b\u50cf\u306e\u914d\u7f6e\u3000<strong>2019\u5e741\u670830\u65e5<\/strong><\/h4>\n<p>\u30b5\u30e0\u30cd\u30a4\u30eb\u3092<strong>\u5de6\u5074\u306b\u914d\u7f6e\u3057\u305f\u3044<\/strong>\u3068\u3044\u3046\u8981\u671b\u304c\u3042\u308b\u5834\u5408\u306f\u3001CSS\u3067float\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u5bfe\u5fdc\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30d5\u30a1\u30a4\u30eb\u5185\u306eCSS\u3082\u305d\u306e\u3088\u3046\u306b\u66f4\u65b0\u6e08\u307f\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>\u307e\u3068\u3081<\/h4>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001WordPress\u306e\u6295\u7a3f\u8a18\u4e8b\u3092<strong>HTML\u30b5\u30a4\u30c8\u306b\u81ea\u52d5\u8868\u793a<\/strong>\u3055\u305b\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u30dd\u30a4\u30f3\u30c8\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>&gt;WordPress\u306eRSS\u30d5\u30a3\u30fc\u30c9\u3092\u5229\u7528\u3057\u3066\u8a18\u4e8b\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b<\/li>\n<li><strong>jQuery<\/strong>\u3067RSS\u3092\u8aad\u307f\u8fbc\u307f\u3001HTML\u306b\u51fa\u529b\u3059\u308b<\/li>\n<li><strong>\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf<\/strong>\u3092\u8868\u793a\u3057\u305f\u3044\u5834\u5408\u306f\u3001functions.php \u306b\u30b3\u30fc\u30c9\u3092\u8ffd\u8a18<\/li>\n<li>\u30b5\u30e0\u30cd\u30a4\u30eb\u30b5\u30a4\u30ba\u306ffunctions.php \u307e\u305f\u306f\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306e\u30e1\u30c7\u30a3\u30a2\u8a2d\u5b9a\u3067\u8abf\u6574<\/li>\n<li>\u5b9f\u88c5\u6642\u306f<strong>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u5fc5\u305a\u53d6\u308b\u3053\u3068<\/strong>\u3001functions.php\u306e\u7de8\u96c6\u30df\u30b9\u306b\u6ce8\u610f<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u624b\u9806\u3092\u8e0f\u3081\u3070\u3001\u5916\u90e8\u30b5\u30fc\u30d3\u30b9\u306b\u4f9d\u5b58\u305b\u305a\u306b\u3001WordPress\u3067\u66f4\u65b0\u3057\u305f\u8a18\u4e8b\u304c\u81ea\u52d5\u3067HTML\u30b5\u30a4\u30c8\u306b\u53cd\u6620\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>\u6700\u5f8c\u306b<\/h4>\n<p data-start=\"4649\" data-end=\"4729\">\u30b5\u30e0\u30cd\u30a4\u30eb\u306e\u914d\u7f6e\u3084\u30b9\u30bf\u30a4\u30eb\u306fCSS\u3067\u81ea\u7531\u306b\u8abf\u6574\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>HTML\u30b5\u30a4\u30c8\u306b\u8cbc\u308a\u4ed8\u3051\u305f\u8a18\u4e8b\u306e\u898b\u305f\u76ee\u3092\u3001\u81ea\u5206\u306e\u30b5\u30a4\u30c8\u30c7\u30b6\u30a4\u30f3\u306b\u5408\u308f\u305b\u3066\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u306e\u6295\u7a3f\u8a18\u4e8b\u3092\u81ea\u52d5\u7684\u306b\u30db\u30fc\u30e0\u30da\u30fc\u30b8\uff08HTML\u30b5\u30a4\u30c8\uff09\u3078\u8868\u793a\u3055\u305b\u305f\u3044\u3068 \u601d\u3063\u305f\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f \u300c\u30d6\u30ed\u30b0\u306fWordPress\u3067\u904b\u55b6\u3057\u3066\u3044\u308b\u3051\u308c\u3069\u3001 \u5225\u3067\u4f5c\u3063\u3066\u3044\u308b\u4f01\u696d\u30db\u30fc\u30e0\u30da\u30fc\u30b8\uff08HTML\uff09\u306b\u3082\u6700\u65b0\u8a18\u4e8b\u2026<\/p>\n","protected":false},"author":1,"featured_media":17102,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41,56,213],"tags":[116,1923,392,520,2972],"class_list":["post-22422","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-41","category-wordpress","category-seo","tag-116","tag-1923","tag-wordpress","tag-520","tag-2972"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.hcz.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/22422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hcz.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hcz.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hcz.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hcz.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=22422"}],"version-history":[{"count":63,"href":"https:\/\/www.hcz.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/22422\/revisions"}],"predecessor-version":[{"id":38304,"href":"https:\/\/www.hcz.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/22422\/revisions\/38304"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hcz.jp\/blog\/index.php?rest_route=\/wp\/v2\/media\/17102"}],"wp:attachment":[{"href":"https:\/\/www.hcz.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=22422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hcz.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=22422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hcz.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=22422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}