<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									SmartNews対応フィードのロゴの指定について - Cocoonテーマに関する質問				            </title>
            <link>https://wp-cocoon.com/community/cocoon-theme/smartnews%e5%af%be%e5%bf%9c%e3%83%95%e3%82%a3%e3%83%bc%e3%83%89%e3%81%ae%e3%83%ad%e3%82%b4%e3%81%ae%e6%8c%87%e5%ae%9a%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/</link>
            <description>Cocoon ディスカッション掲示板</description>
            <language>ja</language>
            <lastBuildDate>Wed, 22 Apr 2026 08:02:53 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: SmartNews対応フィードのロゴの指定について</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/smartnews%e5%af%be%e5%bf%9c%e3%83%95%e3%82%a3%e3%83%bc%e3%83%89%e3%81%ae%e3%83%ad%e3%82%b4%e3%81%ae%e6%8c%87%e5%ae%9a%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-62782</link>
                        <pubDate>Sun, 26 Jun 2022 09:23:44 +0000</pubDate>
                        <description><![CDATA[@chu-ya さま
 
既にあったのですね！
申し訳ございません。
 
よく読んでみます。
 
ご教示くださりありがとうございました。]]></description>
                        <content:encoded><![CDATA[<p>@chu-ya さま</p>
<p> </p>
<p>既にあったのですね！</p>
<p>申し訳ございません。</p>
<p> </p>
<p>よく読んでみます。</p>
<p> </p>
<p>ご教示くださりありがとうございました。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/cocoon-theme/">Cocoonテーマに関する質問</category>                        <dc:creator>underforestman</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/cocoon-theme/smartnews%e5%af%be%e5%bf%9c%e3%83%95%e3%82%a3%e3%83%bc%e3%83%89%e3%81%ae%e3%83%ad%e3%82%b4%e3%81%ae%e6%8c%87%e5%ae%9a%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-62782</guid>
                    </item>
				                    <item>
                        <title>RE: SmartNews対応フィードのロゴの指定について</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/smartnews%e5%af%be%e5%bf%9c%e3%83%95%e3%82%a3%e3%83%bc%e3%83%89%e3%81%ae%e3%83%ad%e3%82%b4%e3%81%ae%e6%8c%87%e5%ae%9a%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-62781</link>
                        <pubDate>Sun, 26 Jun 2022 09:22:53 +0000</pubDate>
                        <description><![CDATA[@mk2_mk2 さま
さっそくありがとうございました！
ロゴ、変更できました！！
ありがとうございます。]]></description>
                        <content:encoded><![CDATA[<p>@mk2_mk2 さま</p>
<p>さっそくありがとうございました！</p>
<p>ロゴ、変更できました！！</p>
<p>ありがとうございます。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/cocoon-theme/">Cocoonテーマに関する質問</category>                        <dc:creator>underforestman</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/cocoon-theme/smartnews%e5%af%be%e5%bf%9c%e3%83%95%e3%82%a3%e3%83%bc%e3%83%89%e3%81%ae%e3%83%ad%e3%82%b4%e3%81%ae%e6%8c%87%e5%ae%9a%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-62781</guid>
                    </item>
				                    <item>
                        <title>RE: SmartNews対応フィードのロゴの指定について</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/smartnews%e5%af%be%e5%bf%9c%e3%83%95%e3%82%a3%e3%83%bc%e3%83%89%e3%81%ae%e3%83%ad%e3%82%b4%e3%81%ae%e6%8c%87%e5%ae%9a%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-62780</link>
                        <pubDate>Sun, 26 Jun 2022 08:56:50 +0000</pubDate>
                        <description><![CDATA[以下のCocoonのカスタマイズに書いてあります。
SmartNews用のロゴ画像URLを独自に設定するカスタマイズ方法]]></description>
                        <content:encoded><![CDATA[<p>以下のCocoonのカスタマイズに書いてあります。</p>
<p><a href="https://wp-cocoon.com/smartnews-logo-hook/" target="_blank">SmartNews用のロゴ画像URLを独自に設定するカスタマイズ方法</a></p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/cocoon-theme/">Cocoonテーマに関する質問</category>                        <dc:creator>大門未知子</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/cocoon-theme/smartnews%e5%af%be%e5%bf%9c%e3%83%95%e3%82%a3%e3%83%bc%e3%83%89%e3%81%ae%e3%83%ad%e3%82%b4%e3%81%ae%e6%8c%87%e5%ae%9a%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-62780</guid>
                    </item>
				                    <item>
                        <title>RE: SmartNews対応フィードのロゴの指定について</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/smartnews%e5%af%be%e5%bf%9c%e3%83%95%e3%82%a3%e3%83%bc%e3%83%89%e3%81%ae%e3%83%ad%e3%82%b4%e3%81%ae%e6%8c%87%e5%ae%9a%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-62779</link>
                        <pubDate>Sun, 26 Jun 2022 08:53:22 +0000</pubDate>
                        <description><![CDATA[underforestmanさん
私はこの辺りのことには疎いもので、間違っていたら申し訳ない・・・という感じです。
もし、以下でダメであれば、他の方のご回答をお待ちいただきたいところですが・・・。
add_filter(&#039;smartnews_logo_url&#039;,function($logo_url) {
    $logo_url = &#039;https://xxxxxxxx...]]></description>
                        <content:encoded><![CDATA[<p>underforestmanさん</p>
<p>私はこの辺りのことには疎いもので、間違っていたら申し訳ない・・・という感じです。</p>
<p>もし、以下でダメであれば、他の方のご回答をお待ちいただきたいところですが・・・。</p>
<pre contenteditable="false">add_filter('smartnews_logo_url',function($logo_url) {
    $logo_url = 'https://xxxxxxxxxxxxx';
    return $logo_url;
});</pre>
<p> </p>
<p>上記の「xxxxxxxxx」のところを、設定したい画像のURLにすると、どうでしょうか。</p>
<p> </p>
<p>Cocoonは、既にSmartNews用の処理がありますから、寝ログ記載のような処理追加は不要だと思うのですが。<br />修正するのであれば、CocoonのSmartNews用の処理部分かと思います。</p>
<p>（Cocoonの仕様としては、AMP用のロゴが設定されていると、それが設定されるっぽいです。AMP用のロゴを変えても、手っ取り早いかもしれないです、AMPのロゴが変わってしまいますけど。）</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/cocoon-theme/">Cocoonテーマに関する質問</category>                        <dc:creator>ｍｋ２</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/cocoon-theme/smartnews%e5%af%be%e5%bf%9c%e3%83%95%e3%82%a3%e3%83%bc%e3%83%89%e3%81%ae%e3%83%ad%e3%82%b4%e3%81%ae%e6%8c%87%e5%ae%9a%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-62779</guid>
                    </item>
				                    <item>
                        <title>RE: SmartNews対応フィードのロゴの指定について</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/smartnews%e5%af%be%e5%bf%9c%e3%83%95%e3%82%a3%e3%83%bc%e3%83%89%e3%81%ae%e3%83%ad%e3%82%b4%e3%81%ae%e6%8c%87%e5%ae%9a%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-62778</link>
                        <pubDate>Sun, 26 Jun 2022 08:19:10 +0000</pubDate>
                        <description><![CDATA[こちら、そもそもの設定の仕方が間違っておりました。しかしやり直しても、添付のようにエラーになってしまいました。
スマートニュースフィード用のロゴ画像を別途指定する方法について、ご教示いただけませんでしょうか。
お手数をおかけいたします。
宜しくお願いいたします。
&nbsp;invalid.jpg]]></description>
                        <content:encoded><![CDATA[<p>こちら、そもそもの設定の仕方が間違っておりました。<br /><br />しかしやり直しても、添付のようにエラーになってしまいました。</p>
<p>スマートニュースフィード用のロゴ画像を別途指定する方法について、ご教示いただけませんでしょうか。</p>
<p>お手数をおかけいたします。</p>
<p>宜しくお願いいたします。</p>
<div id="wpfa-30047" class="wpforo-attached-file"><a class="wpforo-default-attachment" href="//wp-cocoon.com/wp-content/uploads/wpforo/default_attachments/1656231550-invalid.jpg" target="_blank" title="invalid.jpg"><i class="fas fa-paperclip"></i>&nbsp;invalid.jpg</a></div>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/cocoon-theme/">Cocoonテーマに関する質問</category>                        <dc:creator>underforestman</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/cocoon-theme/smartnews%e5%af%be%e5%bf%9c%e3%83%95%e3%82%a3%e3%83%bc%e3%83%89%e3%81%ae%e3%83%ad%e3%82%b4%e3%81%ae%e6%8c%87%e5%ae%9a%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-62778</guid>
                    </item>
				                    <item>
                        <title>SmartNews対応フィードのロゴの指定について</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/smartnews%e5%af%be%e5%bf%9c%e3%83%95%e3%82%a3%e3%83%bc%e3%83%89%e3%81%ae%e3%83%ad%e3%82%b4%e3%81%ae%e6%8c%87%e5%ae%9a%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-62777</link>
                        <pubDate>Sun, 26 Jun 2022 07:41:31 +0000</pubDate>
                        <description><![CDATA[不具合・カスタマイズ対象ページのURL
 
相談内容：
上記のウェブサイトを運営しております。スマートニュースへの記事配信にチャレンジしたいと考えております。
現在のcocoonでは、自動でフィードが出せる仕様になっておりますが、ロゴをサイトのヘッダーロゴとは別のロゴに設定したいと考えいます。（ヘッダーロゴはスクエア型にしており、サイズが合わないため。）
・スマートニュ...]]></description>
                        <content:encoded><![CDATA[<p>不具合・カスタマイズ対象ページのURL：<br />https://gourmethunters.net/<br />https://gourmethunters.news/</p>
<p> </p>
<p>相談内容：</p>
<p>上記のウェブサイトを運営しております。<br />スマートニュースへの記事配信にチャレンジしたいと考えております。</p>
<p>現在のcocoonでは、自動でフィードが出せる仕様になっておりますが、ロゴをサイトのヘッダーロゴとは別のロゴに設定したいと考えいます。（ヘッダーロゴはスクエア型にしており、サイズが合わないため。）</p>
<p>・スマートニュースフィードにて使用したいロゴ<br />　https://gourmethunters.news/wp-content/uploads/2022/06/ghn-logo-650-100.png　</p>
<p>・現在のヘッダーロゴ<br />　https://gourmethunters.news/wp-content/uploads/2021/09/logo-of-gourmet-hunters-news.png</p>
<p>　</p>
<p>解決のために試したこと：</p>
<p>「寝ログ」の下記ページを参照に、smartnews.phpを作成し、cocoon-childe直下に格納しました。あわせて、function.phpにもコピペしました。</p>
<p>https://nelog.jp/smartnews-feed</p>
<p>しかしながら、スマートニュースチェックツールにて確認すると、ヘッダーロゴが出てしまいました。</p>
<p>・チェックツール<br />https://sf-validator.smartnews.com/url</p>
<p>・フィードURL<br />http://gourmethunters.news/?feed=smartnews</p>
<p> </p>
<p>なにがしかの方法で、ヘッダーロゴではなく、別途指定したロゴが出るようにできませんでしょうか。</p>
<p> </p>
<p>（環境情報）</p>
<pre contenteditable="false">----------------------------------------------
サイト名：グルメハンターズニュース
サイトURL：https://gourmethunters.news
ホームURL：https://gourmethunters.news
コンテンツURL：/wp-content
インクルードURL：/wp-includes/
テンプレートURL：/wp-content/themes/cocoon-master
スタイルシートURL：/wp-content/themes/cocoon-child-master
親テーマスタイル：/wp-content/themes/cocoon-master/style.css
子テーマスタイル：/wp-content/themes/cocoon-child-master/style.css
スキン：/wp-content/themes/cocoon-master/skins/skin-simplicity/style.css
WordPressバージョン：6.0
PHPバージョン：7.4.29
ブラウザ：Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
サーバーソフト：Apache
サーバープロトコル：HTTP/1.1
エンコーディング：gzip, deflate, br
言語：ja,en-US;q=0.9,en;q=0.8
----------------------------------------------
テーマ名：Cocoon
バージョン：2.4.5.7
カテゴリ数：3
タグ数：45
ユーザー数：1
----------------------------------------------
子テーマ名：Cocoon Child
バージョン：1.1.3
style.cssサイズ：845バイト
functions.phpサイズ：203バイト
----------------------------------------------
Gutenberg：1
AMP：1
PWA：0
Font Awesome：5
Auto Post Thumbnail：0
Retina：1
ホームイメージ：/wp-content/uploads/2021/09/gourmet-hunters-news-banner.jpg
----------------------------------------------
ブラウザキャッシュ有効化：0
HTML縮小化：0
CSS縮小化：0
JavaScript縮小化：0
Lazy Load：0
WEBフォントLazy Load：0
----------------------------------------------
利用中のプラグイン：
BackWPup 3.10.0
ConoHa WING コントロールパネルプラグイン 1.0
ConoHa WING 自動キャッシュクリア 1.0.0
SiteGuard WP Plugin 1.6.1
TypeSquare Webfonts for ConoHa 2.0.2
WP Multibyte Patch 2.9
----------------------------------------------</pre>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/cocoon-theme/">Cocoonテーマに関する質問</category>                        <dc:creator>underforestman</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/cocoon-theme/smartnews%e5%af%be%e5%bf%9c%e3%83%95%e3%82%a3%e3%83%bc%e3%83%89%e3%81%ae%e3%83%ad%e3%82%b4%e3%81%ae%e6%8c%87%e5%ae%9a%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-62777</guid>
                    </item>
							        </channel>
        </rss>
		