<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>アイキャッチ画像 &#8211; ケケンタの独学ITブログ</title>
	<atom:link href="https://kekenta-it-blog.com/tag/%E3%82%A2%E3%82%A4%E3%82%AD%E3%83%A3%E3%83%83%E3%83%81%E7%94%BB%E5%83%8F/feed/" rel="self" type="application/rss+xml" />
	<link>https://kekenta-it-blog.com</link>
	<description>プログラミングやWeb制作の情報を発信</description>
	<lastBuildDate>Tue, 18 Mar 2025 02:22:10 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://kekenta-it-blog.com/wp-content/uploads/2023/07/cropped-KEKENTA-BLOG-32x32.png</url>
	<title>アイキャッチ画像 &#8211; ケケンタの独学ITブログ</title>
	<link>https://kekenta-it-blog.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>【SWELL】タイトルとアイキャッチ画像の表示を上下逆にする方法</title>
		<link>https://kekenta-it-blog.com/swell-title-eyecatch-re/</link>
					<comments>https://kekenta-it-blog.com/swell-title-eyecatch-re/#respond</comments>
		
		<dc:creator><![CDATA[ケケンタ]]></dc:creator>
		<pubDate>Fri, 07 Jun 2024 11:34:45 +0000</pubDate>
				<category><![CDATA[SWELL]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[アイキャッチ画像]]></category>
		<category><![CDATA[タイトル]]></category>
		<guid isPermaLink="false">https://kekenta-it-blog.com/?p=7819</guid>

					<description><![CDATA[<p><img src="https://kekenta-it-blog.com/wp-content/uploads/2024/06/eye-catch__swell-title-eyecatch-re__7819-1024x576.jpg" class="webfeedsFeaturedVisual" /></p>SWELLでは投稿ページのタイトルとアイキャッチ画像の並び順がデフォルトで決まっています。（タイトル→アイキャッチの順番） しかし、SWELLはWordPressテーマ使用数No.1を誇っているだけあり、「デザインの差別 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img src="https://kekenta-it-blog.com/wp-content/uploads/2024/06/eye-catch__swell-title-eyecatch-re__7819-1024x576.jpg" class="webfeedsFeaturedVisual" /></p>
<p>SWELLでは投稿ページのタイトルとアイキャッチ画像の並び順がデフォルトで決まっています。（タイトル→アイキャッチの順番）</p>



<p>しかし、SWELLはWordPressテーマ使用数No.1を誇っているだけあり、「デザインの差別化」を図りたいと考える方もいらっしゃるかと思います。</p>



<p>今回はそのような方に向けて</p>



<p class="has-text-align-center is-style-big_kakko_box"><strong>SWELLでタイトルとアイキャッチ画像の表示を<br>上下逆にする方法</strong></p>



<p>をご紹介します。</p>



<p class="has-text-align-center is-style-balloon_box2">今回ご紹介する表示のイメージ</p>


<div class="wp-block-image is-style-shadow size_xs">
<figure class="aligncenter size-full"><img decoding="async" width="868" height="622" src="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-18.png" alt="SWELLでアイキャッチ画像とタイトルを逆にしたときの様子" class="wp-image-7867" srcset="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-18.png 868w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-18-300x215.png 300w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-18-768x550.png 768w" sizes="(max-width: 868px) 100vw, 868px" /></figure>
</div>

<div class="swell-block-balloon"><div class="c-balloon -bln-left" data-col="gray"><div class="c-balloon__icon -circle"><img decoding="async" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="lazyload c-balloon__iconImg" width="80px" height="80px"><noscript><img decoding="async" src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="c-balloon__iconImg" width="80px" height="80px"></noscript><span class="c-balloon__iconName">ケケンタ</span></div><div class="c-balloon__body -speaking -border-on"><div class="c-balloon__text">
<p>functions.phpにソースコードを追加するだけで誰でも簡単にできるので、ご興味のある方はぜひお試しください！</p>
<span class="c-balloon__shapes"><span class="c-balloon__before"></span><span class="c-balloon__after"></span></span></div></div></div></div>


<p class="is-style-icon_info">上述の通り、この記事でご紹介する方法ではfunctions.phpを編集します。<br>作業をする際には必ずバックアップをお取りいただき、自己責任のもとで作業を行ってください。</p>


<div class="swell-block-postLink">			<a href="https://kekenta-it-blog.com/wp-edit-functions/" class="c-blogLink -internal" data-style="text">
				<!-- <i class="c-blogLink__icon icon-link" role="presentation"></i> -->
				<span class="c-blogLink__icon">
					<svg xmlns="http://www.w3.org/2000/svg" class="swl-svg-link __svg" width="1em" height="1em" viewBox="0 0 48 48" role="img" aria-hidden="true" focusable="false"><path d="M21.2 30.2c-.5 0-1-.2-1.4-.6l-.7-.7c-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l7.1-7.1c2.3-2.3 5.3-3.5 8.5-3.5s6.2 1.2 8.5 3.5c4.7 4.7 4.7 12.3 0 17l-3.5 3.5c-.8.8-2 .8-2.8 0-.8-.8-.8-2 0-2.8l3.5-3.5c3.1-3.1 3.1-8.2 0-11.3-1.5-1.5-3.5-2.3-5.7-2.3-2.1 0-4.2.8-5.7 2.3l-7.1 7.1c-1.5 1.5-2.3 3.5-2.3 5.7s.8 4.2 2.3 5.7l.7.7c.8.8.8 2 0 2.8-.4.3-.9.5-1.4.5z" /><path d="M13.4 46.6c-3.1 0-6.1-1.2-8.5-3.5-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l3.5-3.5c.8-.8 2-.8 2.8 0 .8.8.8 2 0 2.8l-3.5 3.5c-1.5 1.5-2.3 3.5-2.3 5.7 0 2.1.8 4.2 2.3 5.7 3.1 3.1 8.2 3.1 11.3 0l7.1-7.1c1.5-1.5 2.3-3.5 2.3-5.7 0-2.1-.8-4.2-2.3-5.7l-.7-.7c-.8-.8-.8-2 0-2.8.8-.8 2-.8 2.8 0l.7.7c2.3 2.3 3.5 5.3 3.5 8.5s-1.2 6.2-3.5 8.5l-7.1 7.1c-2.3 2.3-5.3 3.5-8.4 3.5z" /></svg>				</span>
				<span class="c-blogLink__text">【WordPress】functions.phpを編集する「３つ」の方法と編集時の注意点</span>
			</a>
		</div>

<div class="swell-block-postLink">			<a href="https://kekenta-it-blog.com/swell-tocad-cat-branch/" class="c-blogLink -internal" data-style="text">
				<!-- <i class="c-blogLink__icon icon-link" role="presentation"></i> -->
				<span class="c-blogLink__icon">
					<svg xmlns="http://www.w3.org/2000/svg" class="swl-svg-link __svg" width="1em" height="1em" viewBox="0 0 48 48" role="img" aria-hidden="true" focusable="false"><path d="M21.2 30.2c-.5 0-1-.2-1.4-.6l-.7-.7c-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l7.1-7.1c2.3-2.3 5.3-3.5 8.5-3.5s6.2 1.2 8.5 3.5c4.7 4.7 4.7 12.3 0 17l-3.5 3.5c-.8.8-2 .8-2.8 0-.8-.8-.8-2 0-2.8l3.5-3.5c3.1-3.1 3.1-8.2 0-11.3-1.5-1.5-3.5-2.3-5.7-2.3-2.1 0-4.2.8-5.7 2.3l-7.1 7.1c-1.5 1.5-2.3 3.5-2.3 5.7s.8 4.2 2.3 5.7l.7.7c.8.8.8 2 0 2.8-.4.3-.9.5-1.4.5z" /><path d="M13.4 46.6c-3.1 0-6.1-1.2-8.5-3.5-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l3.5-3.5c.8-.8 2-.8 2.8 0 .8.8.8 2 0 2.8l-3.5 3.5c-1.5 1.5-2.3 3.5-2.3 5.7 0 2.1.8 4.2 2.3 5.7 3.1 3.1 8.2 3.1 11.3 0l7.1-7.1c1.5-1.5 2.3-3.5 2.3-5.7 0-2.1-.8-4.2-2.3-5.7l-.7-.7c-.8-.8-.8-2 0-2.8.8-.8 2-.8 2.8 0l.7.7c2.3 2.3 3.5 5.3 3.5 8.5s-1.2 6.2-3.5 8.5l-7.1 7.1c-2.3 2.3-5.3 3.5-8.4 3.5z" /></svg>				</span>
				<span class="c-blogLink__text">【SWELL】「目次広告」の内容をカテゴリーごとに変更する方法</span>
			</a>
		</div>

<div class="swell-block-postLink">			<a href="https://kekenta-it-blog.com/swell-f-cr-link/" class="c-blogLink -internal" data-style="text">
				<!-- <i class="c-blogLink__icon icon-link" role="presentation"></i> -->
				<span class="c-blogLink__icon">
					<svg xmlns="http://www.w3.org/2000/svg" class="swl-svg-link __svg" width="1em" height="1em" viewBox="0 0 48 48" role="img" aria-hidden="true" focusable="false"><path d="M21.2 30.2c-.5 0-1-.2-1.4-.6l-.7-.7c-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l7.1-7.1c2.3-2.3 5.3-3.5 8.5-3.5s6.2 1.2 8.5 3.5c4.7 4.7 4.7 12.3 0 17l-3.5 3.5c-.8.8-2 .8-2.8 0-.8-.8-.8-2 0-2.8l3.5-3.5c3.1-3.1 3.1-8.2 0-11.3-1.5-1.5-3.5-2.3-5.7-2.3-2.1 0-4.2.8-5.7 2.3l-7.1 7.1c-1.5 1.5-2.3 3.5-2.3 5.7s.8 4.2 2.3 5.7l.7.7c.8.8.8 2 0 2.8-.4.3-.9.5-1.4.5z" /><path d="M13.4 46.6c-3.1 0-6.1-1.2-8.5-3.5-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l3.5-3.5c.8-.8 2-.8 2.8 0 .8.8.8 2 0 2.8l-3.5 3.5c-1.5 1.5-2.3 3.5-2.3 5.7 0 2.1.8 4.2 2.3 5.7 3.1 3.1 8.2 3.1 11.3 0l7.1-7.1c1.5-1.5 2.3-3.5 2.3-5.7 0-2.1-.8-4.2-2.3-5.7l-.7-.7c-.8-.8-.8-2 0-2.8.8-.8 2-.8 2.8 0l.7.7c2.3 2.3 3.5 5.3 3.5 8.5s-1.2 6.2-3.5 8.5l-7.1 7.1c-2.3 2.3-5.3 3.5-8.4 3.5z" /></svg>				</span>
				<span class="c-blogLink__text">【SWELL】誰でも簡単！フッターのコピーライトをリンクにする方法</span>
			</a>
		</div>

<div class="swell-block-postLink">			<a href="https://kekenta-it-blog.com/change-to-swell/" class="c-blogLink -internal" data-style="text">
				<!-- <i class="c-blogLink__icon icon-link" role="presentation"></i> -->
				<span class="c-blogLink__icon">
					<svg xmlns="http://www.w3.org/2000/svg" class="swl-svg-link __svg" width="1em" height="1em" viewBox="0 0 48 48" role="img" aria-hidden="true" focusable="false"><path d="M21.2 30.2c-.5 0-1-.2-1.4-.6l-.7-.7c-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l7.1-7.1c2.3-2.3 5.3-3.5 8.5-3.5s6.2 1.2 8.5 3.5c4.7 4.7 4.7 12.3 0 17l-3.5 3.5c-.8.8-2 .8-2.8 0-.8-.8-.8-2 0-2.8l3.5-3.5c3.1-3.1 3.1-8.2 0-11.3-1.5-1.5-3.5-2.3-5.7-2.3-2.1 0-4.2.8-5.7 2.3l-7.1 7.1c-1.5 1.5-2.3 3.5-2.3 5.7s.8 4.2 2.3 5.7l.7.7c.8.8.8 2 0 2.8-.4.3-.9.5-1.4.5z" /><path d="M13.4 46.6c-3.1 0-6.1-1.2-8.5-3.5-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l3.5-3.5c.8-.8 2-.8 2.8 0 .8.8.8 2 0 2.8l-3.5 3.5c-1.5 1.5-2.3 3.5-2.3 5.7 0 2.1.8 4.2 2.3 5.7 3.1 3.1 8.2 3.1 11.3 0l7.1-7.1c1.5-1.5 2.3-3.5 2.3-5.7 0-2.1-.8-4.2-2.3-5.7l-.7-.7c-.8-.8-.8-2 0-2.8.8-.8 2-.8 2.8 0l.7.7c2.3 2.3 3.5 5.3 3.5 8.5s-1.2 6.2-3.5 8.5l-7.1 7.1c-2.3 2.3-5.3 3.5-8.4 3.5z" /></svg>				</span>
				<span class="c-blogLink__text">無料テーマCocoonからSWELLに乗り換えた７つの理由【WordPress】</span>
			</a>
		</div>

<div class="swell-block-postLink">			<div class="p-blogCard -internal" data-type="type2" data-onclick="clickLink">
				<div class="p-blogCard__inner">
					<span class="p-blogCard__caption">あわせて読みたい</span>
					<div class="p-blogCard__thumb c-postThumb"><figure class="c-postThumb__figure"><img decoding="async" src="https://kekenta-it-blog.com/wp-content/uploads/2025/03/eye-catch__school-php-and-wp__14099-300x169.jpg" alt="" class="c-postThumb__img u-obf-cover" width="320" height="180"></figure></div>					<div class="p-blogCard__body">
						<a class="p-blogCard__title" href="https://kekenta-it-blog.com/school-php-and-wp/">PHPやWordPressを学ぶのにおすすめのプログラミングスクール【７選】</a>
						<span class="p-blogCard__excerpt">僕はこれまで独学でPHPを学習してきました。結論から言えば、それでもPHPを習得することはできました。 しかし、それに費やした累計学習期間は1年ほど。モチベーション&#8230;</span>					</div>
				</div>
			</div>
		</div>


<h2 class="wp-block-heading">【ソースコード】<strong>タイトルとアイキャッチ画像の表示を上下逆にする</strong></h2>



<p>以下の２つのソースコードをfunctions.phpの最後に追加します。</p>



<p class="is-style-balloon_box2">タイトルの上にアイキャッチ画像を表示するための処理</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-php" data-lang="PHP"><code>/**
 * タイトルの上にアイキャッチ画像を表示する処理
 */
function my_eyecatch_on_title() {		
	// アイキャッチ画像のURL
	$thumb_url = get_the_post_thumbnail_url(get_the_ID(), &#39;full&#39;);

	// アイキャッチ画像が存在するなら出力
	if ($thumb_url) {
		echo &#39;&lt;img src=&quot;&#39; . esc_url($thumb_url) . &#39;&quot; alt=&quot;&#39; . esc_attr(get_the_title()) . &#39;&quot; class=&quot;my-eyecatch&quot;&gt;&#39;;
	}
}
add_action(&#39;swell_before_post_head&#39;, &#39;my_eyecatch_on_title&#39;);</code></pre></div>



<p class="is-style-balloon_box2">元々タイトルの下に表示されていたアイキャッチ画像を非表示にする処理</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-php" data-lang="PHP"><code>/**
 * 元々のアイキャッチ画像は非表示にする
 * ※これを行わないとアイキャッチ画像がダブって表示されてしまう
 */
function my_remove_swell_thumbnail($return) {
	return &#39;&#39;;
}
add_filter(&#39;swell_parts_post_thumbnail&#39;, &#39;my_remove_swell_thumbnail&#39;);</code></pre></div>


<div class="swell-block-balloon"><div class="c-balloon -bln-left" data-col="gray"><div class="c-balloon__icon -circle"><img decoding="async" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="lazyload c-balloon__iconImg" width="80px" height="80px"><noscript><img decoding="async" src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="c-balloon__iconImg" width="80px" height="80px"></noscript><span class="c-balloon__iconName">ケケンタ</span></div><div class="c-balloon__body -speaking -border-on"><div class="c-balloon__text">
<p>以上のソースコードをfunctions.phpの最後に追加することでタイトルとアイキャッチ画像の表示順序を上下逆にすることが可能です。</p>
<span class="c-balloon__shapes"><span class="c-balloon__before"></span><span class="c-balloon__after"></span></span></div></div></div></div>


<p class="is-style-bg_stripe"><strong>子テーマのfunctoins.phpにソースコードを追加する手順</strong>は<a href="#add_functinons">こちら</a><br>※このページ内で移動します。</p>



<h2 class="wp-block-heading">タイトルの上に表示したアイキャッチ画像の下の余白を調整する</h2>



<p>ただし、素の状態だとアイキャッチ画像とタイトルの間の余白が狭いため、CSSで少し調整します。</p>



<p>以下のソースコードを「外観」→「カスタマイズ」→「追加CSS」の最後に追加します。</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-css" data-lang="CSS"><code>.my-eyecatch {
    margin-bottom: 2em !important;
}</code></pre></div>



<p class="is-style-icon_pen">.my-eyecatchは前章でご紹介した「アイキャッチを表示する処理のimgタグに与えているCSSクラス」です。<br>これにCSSプロパティを当てることでアイキャッチ画像とタイトルの間の余白を調整しています。</p>



<p class="has-text-align-center is-style-balloon_box2">「追加CSS」に追加する</p>



<div class="wp-block-columns">
<div class="wp-block-column">
<figure class="wp-block-image size-full is-style-shadow size_xs"><img decoding="async" width="382" height="782" src="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-19.png" alt="「追加CSS」の場所" class="wp-image-7879" srcset="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-19.png 382w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-19-147x300.png 147w" sizes="(max-width: 382px) 100vw, 382px" /><figcaption class="wp-element-caption">「追加CSS」の場所</figcaption></figure>
</div>



<div class="wp-block-column">
<figure class="wp-block-image size-full is-style-shadow size_xs"><img decoding="async" width="370" height="560" src="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-21.png" alt="「追加CSS」にCSSを追加" class="wp-image-7888" srcset="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-21.png 370w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-21-198x300.png 198w" sizes="(max-width: 370px) 100vw, 370px" /><figcaption class="wp-element-caption">「追加CSS」に追加した様子</figcaption></figure>
</div>
</div>



<p class="is-style-icon_info">CSS追加したら右上の「公開」ボタンを忘れずにクリックしましょう。</p>


<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4374558503914683"
     crossorigin="anonymous"></script>
<!-- ディスプレイ【横長】 -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-4374558503914683"
     data-ad-slot="9744298852"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<h2 class="wp-block-heading" id="add_functinons">SWELLの子テーマのfunctions.phpにソースコードを追加する方法</h2>



<p>まずは管理画面の「外観」→「テーマファイルエディタ」をクリックします。</p>



<figure class="wp-block-image size-full is-style-shadow"><img decoding="async" width="403" height="249" src="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-8.png" alt="外観→テーマファイルエディタ" class="wp-image-7694" srcset="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-8.png 403w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-8-300x185.png 300w" sizes="(max-width: 403px) 100vw, 403px" /><figcaption class="wp-element-caption">テーマファイルエディタの場所</figcaption></figure>



<p>すると以下のような画面が表示されるので、右側にある「<strong>Theme Functions（functions.php）</strong>」をクリックします。</p>



<figure class="wp-block-image size-large size_s is-style-shadow"><img decoding="async" width="1024" height="565" src="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-9-1024x565.png" alt="SWELLで外観→テーマファイルエディタをクリックした直後の様子" class="wp-image-7695" srcset="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-9-1024x565.png 1024w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-9-300x166.png 300w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-9-768x424.png 768w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-9.png 1159w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">functions.phpの場所</figcaption></figure>



<p class="is-style-icon_info">このとき、念のため右上の「編集するテーマを選択」が「SWELL CHILD」になっていることをご確認下さい。<br>※もしなっていなければ、「SWELL CHILD」を選び、「選択」ボタンをクリックして下さい。</p>



<p>続いて、<strong>エディタの末尾にソースコードを追加</strong>します。</p>



<figure class="wp-block-image size-full size_s is-style-shadow"><img decoding="async" width="957" height="802" src="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-11.png" alt="SWELLでのfunctions.phpの編集個所" class="wp-image-7697" srcset="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-11.png 957w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-11-300x251.png 300w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-11-768x644.png 768w" sizes="(max-width: 957px) 100vw, 957px" /><figcaption class="wp-element-caption">functions.phpの編集内容</figcaption></figure>


<div class="swell-block-balloon"><div class="c-balloon -bln-left" data-col="gray"><div class="c-balloon__icon -circle"><img decoding="async" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="lazyload c-balloon__iconImg" width="80px" height="80px"><noscript><img decoding="async" src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="c-balloon__iconImg" width="80px" height="80px"></noscript><span class="c-balloon__iconName">ケケンタ</span></div><div class="c-balloon__body -speaking -border-on"><div class="c-balloon__text">
<p>ソースコードを追加したら、最後に画面左下の「ファイルを更新」をクリックして完了です。</p>
<span class="c-balloon__shapes"><span class="c-balloon__before"></span><span class="c-balloon__after"></span></span></div></div></div></div>


<h2 class="wp-block-heading">まとめ</h2>



<p>以上が「SWELLでタイトルとアイキャッチ画像の表示を上下逆にする方法」でした。</p>



<p>SWELLは利用者数が多い分、デザイン面で他の方と被りが発生しがちという側面も持ち合わせています。</p>



<p>（それでもカスタマイズ性が非常に高いためオリジナリティを出すことは十分可能です）</p>



<p>今回の方法を用いることで、各投稿記事のデザインで差別化が図れます。</p>


<div class="swell-block-balloon"><div class="c-balloon -bln-left" data-col="gray"><div class="c-balloon__icon -circle"><img decoding="async" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="lazyload c-balloon__iconImg" width="80px" height="80px"><noscript><img decoding="async" src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="c-balloon__iconImg" width="80px" height="80px"></noscript><span class="c-balloon__iconName">ケケンタ</span></div><div class="c-balloon__body -speaking -border-on"><div class="c-balloon__text">
<p>有料テーマのSWELLはカスタマイズ性が非常に高く、操作も簡単です！</p>
<span class="c-balloon__shapes"><span class="c-balloon__before"></span><span class="c-balloon__after"></span></span></div></div></div></div>


<p>それだけに、こうしたソースコードを利用したカスタマイズが他の方との違いを生み出しやすくなります。</p>



<p>このブログではWordPressやPHP、Web制作に関するお役立ち情報を発信していますので、ご興味のある方はぜひ他の記事もご覧いただけると嬉しいです。</p>



<p>それでは最後までご覧いただきありがとうございました！</p>
<div class="p-blogParts post_content" data-partsID="7607">
<p class="has-text-align-center is-style-balloon_box">SWELLのその他の記事はこちら</p>



<p class="has-text-align-center"><span data-icon="LsSwellLogo" data-id="0" style="--the-icon-svg: url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjFlbSIgd2lkdGg9IjFlbSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBhcmlhLWhpZGRlbj0idHJ1ZSIgdmlld0JveD0iMCAwIDQwIDQwIj48Y2lyY2xlIGN4PSI0LjIiIGN5PSIxNS42IiByPSIyLjEiPjwvY2lyY2xlPjxwYXRoIGQ9Ik0zNi43IDExLjZjLTEtMi4yLTMuNy0zLjktNi45LTMuMy0zLjYuNy01LjQgMi45LTcuOCA1LjktMi43IDMuNC01LjUgNy05LjQgOC41LTEuNC42LTIuOC44LTQuMy44LTEuMSAwLTIuMy0uMi0zLjUtLjUtLjctLjItMS41LS41LTIuMy0uOCAyIDcuOSA5LjIgMTMuOCAxNy44IDEzLjYgOS44LS4yIDE3LjctOC4zIDE3LjctMTgtLjEtMi4xLS40LTQuMy0xLjMtNi4yeiI+PC9wYXRoPjwvc3ZnPg==)" aria-hidden="true" class="swl-inline-icon"> </span><a href="https://kekenta-it-blog.com/category/wordpress/swell/">SWELL記事一覧</a></p>



<div class="swell-block-fullWide pc-py-60 sp-py-40 alignfull" style="background-color:#f7f7f7"><div class="swell-block-fullWide__inner l-article">
<h2 class="wp-block-heading is-style-section_ttl my-is-style-section_ttl--none"></h2>



<p class="has-text-align-center"><span class="swl-marker mark_green"><strong><span class="swl-fz u-fz-l">今回ご紹介した内容のテーマ</span></strong></span><span style="--the-icon-svg: url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjFlbSIgd2lkdGg9IjFlbSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBhcmlhLWhpZGRlbj0idHJ1ZSIgdmlld0JveD0iMCAwIDQwIDQwIj48Y2lyY2xlIGN4PSI0LjIiIGN5PSIxNS42IiByPSIyLjEiPjwvY2lyY2xlPjxwYXRoIGQ9Ik0zNi43IDExLjZjLTEtMi4yLTMuNy0zLjktNi45LTMuMy0zLjYuNy01LjQgMi45LTcuOCA1LjktMi43IDMuNC01LjUgNy05LjQgOC41LTEuNC42LTIuOC44LTQuMy44LTEuMSAwLTIuMy0uMi0zLjUtLjUtLjctLjItMS41LS41LTIuMy0uOCAyIDcuOSA5LjIgMTMuOCAxNy44IDEzLjYgOS44LS4yIDE3LjctOC4zIDE3LjctMTgtLjEtMi4xLS40LTQuMy0xLjMtNi4yeiI+PC9wYXRoPjwvc3ZnPg==)" data-icon="LsSwellLogo" data-id="13" aria-hidden="true" class="swl-inline-icon"><span class="swl-fz u-fz-l"> </span></span></p>


<p><div class="p-blogParts post_content" data-partsID="7603">
<div style="text-align: center;">



<a href="//af.moshimo.com/af/c/click?a_id=4500848&p_id=3885&pc_id=9646&pl_id=53838" rel="nofollow" referrerpolicy="no-referrer-when-downgrade"><img decoding="async" src="//image.moshimo.com/af-img/3130/000000053838.jpg" width="420" height="350" style="border:none;"></a><img decoding="async" src="//i.moshimo.com/af/i/impression?a_id=4500848&p_id=3885&pc_id=9646&pl_id=53838" width="1" height="1" style="border:none;">



</div>
</div></p>



<p class="has-text-align-center u-mb-ctrl u-mb-0"><span class="swl-fz u-fz-s"><strong>＼　19,800円・買い切り　／</strong></span></p>



<div class="swell-block-button -html green_ -size-l is-style-btn_shiny"><a href="//af.moshimo.com/af/c/click?a_id=4500848&amp;p_id=3885&amp;pc_id=9646&amp;pl_id=53798&amp;url=https%3A%2F%2Fswell-theme.com%2F" rel="nofollow" referrerpolicy="no-referrer-when-downgrade" attributionsrc="">今すぐSWELLを購入する　&gt;&gt;</a><img decoding="async" src="//i.moshimo.com/af/i/impression?a_id=4500848&amp;p_id=3885&amp;pc_id=9646&amp;pl_id=53798" width="1" height="1" style="border:none;" alt="" loading="lazy"></div>
</div></div>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://kekenta-it-blog.com/swell-title-eyecatch-re/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【SWELL】アイキャッチ画像の上に広告を表示する方法</title>
		<link>https://kekenta-it-blog.com/ad-on-eye-catch/</link>
					<comments>https://kekenta-it-blog.com/ad-on-eye-catch/#respond</comments>
		
		<dc:creator><![CDATA[ケケンタ]]></dc:creator>
		<pubDate>Tue, 04 Jun 2024 23:58:05 +0000</pubDate>
				<category><![CDATA[SWELL]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[アイキャッチ画像]]></category>
		<category><![CDATA[広告]]></category>
		<guid isPermaLink="false">https://kekenta-it-blog.com/?p=7496</guid>

					<description><![CDATA[<p><img src="https://kekenta-it-blog.com/wp-content/uploads/2024/06/eye-catch__ad-on-eye-catch__7496-1024x576.jpg" class="webfeedsFeaturedVisual" /></p>今回はこのようなお悩みをお持ちの方に SWELLでアイキャッチ画像の上に広告を表示する方法 をご紹介します。 この記事でご紹介する方法ではfunctions.phpを編集します。作業をする際には必ずバックアップをお取りい [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img src="https://kekenta-it-blog.com/wp-content/uploads/2024/06/eye-catch__ad-on-eye-catch__7496-1024x576.jpg" class="webfeedsFeaturedVisual" /></p><div class="swell-block-balloon"><div class="c-balloon -bln-left" data-col="gray"><div class="c-balloon__icon -circle"><img decoding="async" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/困った顔-150x150.jpg" alt="" class="lazyload c-balloon__iconImg" width="80px" height="80px"><noscript><img decoding="async" src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/困った顔-150x150.jpg" alt="" class="c-balloon__iconImg" width="80px" height="80px"></noscript><span class="c-balloon__iconName">ケケンタ</span></div><div class="c-balloon__body -speaking -border-on"><div class="c-balloon__text">
<p>ときどきアイキャッチの上に広告を表示させているブログがあるけど、あれってSWELLではどうやるんだろう……？</p>
<span class="c-balloon__shapes"><span class="c-balloon__before"></span><span class="c-balloon__after"></span></span></div></div></div></div>


<p>今回はこのようなお悩みをお持ちの方に</p>



<p class="has-text-align-center is-style-big_kakko_box"><strong>SWELLでアイキャッチ画像の上に広告を表示する方法</strong></p>



<p>をご紹介します。</p>



<p class="is-style-icon_info">この記事でご紹介する方法ではfunctions.phpを編集します。<br>作業をする際には必ずバックアップをお取りいただき、自己責任のもとで作業を行ってください。</p>



<p><strong>記事タイトルの上</strong>に広告を表示したい場合は以下の記事をご覧ください。</p>


<div class="swell-block-postLink">			<a href="https://kekenta-it-blog.com/ad-on-title/" class="c-blogLink -internal" data-style="text">
				<!-- <i class="c-blogLink__icon icon-link" role="presentation"></i> -->
				<span class="c-blogLink__icon">
					<svg xmlns="http://www.w3.org/2000/svg" class="swl-svg-link __svg" width="1em" height="1em" viewBox="0 0 48 48" role="img" aria-hidden="true" focusable="false"><path d="M21.2 30.2c-.5 0-1-.2-1.4-.6l-.7-.7c-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l7.1-7.1c2.3-2.3 5.3-3.5 8.5-3.5s6.2 1.2 8.5 3.5c4.7 4.7 4.7 12.3 0 17l-3.5 3.5c-.8.8-2 .8-2.8 0-.8-.8-.8-2 0-2.8l3.5-3.5c3.1-3.1 3.1-8.2 0-11.3-1.5-1.5-3.5-2.3-5.7-2.3-2.1 0-4.2.8-5.7 2.3l-7.1 7.1c-1.5 1.5-2.3 3.5-2.3 5.7s.8 4.2 2.3 5.7l.7.7c.8.8.8 2 0 2.8-.4.3-.9.5-1.4.5z" /><path d="M13.4 46.6c-3.1 0-6.1-1.2-8.5-3.5-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l3.5-3.5c.8-.8 2-.8 2.8 0 .8.8.8 2 0 2.8l-3.5 3.5c-1.5 1.5-2.3 3.5-2.3 5.7 0 2.1.8 4.2 2.3 5.7 3.1 3.1 8.2 3.1 11.3 0l7.1-7.1c1.5-1.5 2.3-3.5 2.3-5.7 0-2.1-.8-4.2-2.3-5.7l-.7-.7c-.8-.8-.8-2 0-2.8.8-.8 2-.8 2.8 0l.7.7c2.3 2.3 3.5 5.3 3.5 8.5s-1.2 6.2-3.5 8.5l-7.1 7.1c-2.3 2.3-5.3 3.5-8.4 3.5z" /></svg>				</span>
				<span class="c-blogLink__text">【SWELL】記事タイトルの上に広告を表示する方法</span>
			</a>
		</div>

<div class="swell-block-postLink">			<a href="https://kekenta-it-blog.com/wp-edit-functions/" class="c-blogLink -internal" data-style="text">
				<!-- <i class="c-blogLink__icon icon-link" role="presentation"></i> -->
				<span class="c-blogLink__icon">
					<svg xmlns="http://www.w3.org/2000/svg" class="swl-svg-link __svg" width="1em" height="1em" viewBox="0 0 48 48" role="img" aria-hidden="true" focusable="false"><path d="M21.2 30.2c-.5 0-1-.2-1.4-.6l-.7-.7c-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l7.1-7.1c2.3-2.3 5.3-3.5 8.5-3.5s6.2 1.2 8.5 3.5c4.7 4.7 4.7 12.3 0 17l-3.5 3.5c-.8.8-2 .8-2.8 0-.8-.8-.8-2 0-2.8l3.5-3.5c3.1-3.1 3.1-8.2 0-11.3-1.5-1.5-3.5-2.3-5.7-2.3-2.1 0-4.2.8-5.7 2.3l-7.1 7.1c-1.5 1.5-2.3 3.5-2.3 5.7s.8 4.2 2.3 5.7l.7.7c.8.8.8 2 0 2.8-.4.3-.9.5-1.4.5z" /><path d="M13.4 46.6c-3.1 0-6.1-1.2-8.5-3.5-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l3.5-3.5c.8-.8 2-.8 2.8 0 .8.8.8 2 0 2.8l-3.5 3.5c-1.5 1.5-2.3 3.5-2.3 5.7 0 2.1.8 4.2 2.3 5.7 3.1 3.1 8.2 3.1 11.3 0l7.1-7.1c1.5-1.5 2.3-3.5 2.3-5.7 0-2.1-.8-4.2-2.3-5.7l-.7-.7c-.8-.8-.8-2 0-2.8.8-.8 2-.8 2.8 0l.7.7c2.3 2.3 3.5 5.3 3.5 8.5s-1.2 6.2-3.5 8.5l-7.1 7.1c-2.3 2.3-5.3 3.5-8.4 3.5z" /></svg>				</span>
				<span class="c-blogLink__text">【WordPress】functions.phpを編集する「３つ」の方法と編集時の注意点</span>
			</a>
		</div>

<div class="swell-block-postLink">			<a href="https://kekenta-it-blog.com/swell-tocad-cat-branch/" class="c-blogLink -internal" data-style="text">
				<!-- <i class="c-blogLink__icon icon-link" role="presentation"></i> -->
				<span class="c-blogLink__icon">
					<svg xmlns="http://www.w3.org/2000/svg" class="swl-svg-link __svg" width="1em" height="1em" viewBox="0 0 48 48" role="img" aria-hidden="true" focusable="false"><path d="M21.2 30.2c-.5 0-1-.2-1.4-.6l-.7-.7c-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l7.1-7.1c2.3-2.3 5.3-3.5 8.5-3.5s6.2 1.2 8.5 3.5c4.7 4.7 4.7 12.3 0 17l-3.5 3.5c-.8.8-2 .8-2.8 0-.8-.8-.8-2 0-2.8l3.5-3.5c3.1-3.1 3.1-8.2 0-11.3-1.5-1.5-3.5-2.3-5.7-2.3-2.1 0-4.2.8-5.7 2.3l-7.1 7.1c-1.5 1.5-2.3 3.5-2.3 5.7s.8 4.2 2.3 5.7l.7.7c.8.8.8 2 0 2.8-.4.3-.9.5-1.4.5z" /><path d="M13.4 46.6c-3.1 0-6.1-1.2-8.5-3.5-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l3.5-3.5c.8-.8 2-.8 2.8 0 .8.8.8 2 0 2.8l-3.5 3.5c-1.5 1.5-2.3 3.5-2.3 5.7 0 2.1.8 4.2 2.3 5.7 3.1 3.1 8.2 3.1 11.3 0l7.1-7.1c1.5-1.5 2.3-3.5 2.3-5.7 0-2.1-.8-4.2-2.3-5.7l-.7-.7c-.8-.8-.8-2 0-2.8.8-.8 2-.8 2.8 0l.7.7c2.3 2.3 3.5 5.3 3.5 8.5s-1.2 6.2-3.5 8.5l-7.1 7.1c-2.3 2.3-5.3 3.5-8.4 3.5z" /></svg>				</span>
				<span class="c-blogLink__text">【SWELL】「目次広告」の内容をカテゴリーごとに変更する方法</span>
			</a>
		</div>

<div class="swell-block-postLink">			<a href="https://kekenta-it-blog.com/change-to-swell/" class="c-blogLink -internal" data-style="text">
				<!-- <i class="c-blogLink__icon icon-link" role="presentation"></i> -->
				<span class="c-blogLink__icon">
					<svg xmlns="http://www.w3.org/2000/svg" class="swl-svg-link __svg" width="1em" height="1em" viewBox="0 0 48 48" role="img" aria-hidden="true" focusable="false"><path d="M21.2 30.2c-.5 0-1-.2-1.4-.6l-.7-.7c-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l7.1-7.1c2.3-2.3 5.3-3.5 8.5-3.5s6.2 1.2 8.5 3.5c4.7 4.7 4.7 12.3 0 17l-3.5 3.5c-.8.8-2 .8-2.8 0-.8-.8-.8-2 0-2.8l3.5-3.5c3.1-3.1 3.1-8.2 0-11.3-1.5-1.5-3.5-2.3-5.7-2.3-2.1 0-4.2.8-5.7 2.3l-7.1 7.1c-1.5 1.5-2.3 3.5-2.3 5.7s.8 4.2 2.3 5.7l.7.7c.8.8.8 2 0 2.8-.4.3-.9.5-1.4.5z" /><path d="M13.4 46.6c-3.1 0-6.1-1.2-8.5-3.5-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l3.5-3.5c.8-.8 2-.8 2.8 0 .8.8.8 2 0 2.8l-3.5 3.5c-1.5 1.5-2.3 3.5-2.3 5.7 0 2.1.8 4.2 2.3 5.7 3.1 3.1 8.2 3.1 11.3 0l7.1-7.1c1.5-1.5 2.3-3.5 2.3-5.7 0-2.1-.8-4.2-2.3-5.7l-.7-.7c-.8-.8-.8-2 0-2.8.8-.8 2-.8 2.8 0l.7.7c2.3 2.3 3.5 5.3 3.5 8.5s-1.2 6.2-3.5 8.5l-7.1 7.1c-2.3 2.3-5.3 3.5-8.4 3.5z" /></svg>				</span>
				<span class="c-blogLink__text">無料テーマCocoonからSWELLに乗り換えた７つの理由【WordPress】</span>
			</a>
		</div>

<div class="swell-block-postLink">			<div class="p-blogCard -internal" data-type="type2" data-onclick="clickLink">
				<div class="p-blogCard__inner">
					<span class="p-blogCard__caption">あわせて読みたい</span>
					<div class="p-blogCard__thumb c-postThumb"><figure class="c-postThumb__figure"><img decoding="async" src="https://kekenta-it-blog.com/wp-content/uploads/2025/03/eye-catch__school-php-and-wp__14099-300x169.jpg" alt="" class="c-postThumb__img u-obf-cover" width="320" height="180"></figure></div>					<div class="p-blogCard__body">
						<a class="p-blogCard__title" href="https://kekenta-it-blog.com/school-php-and-wp/">PHPやWordPressを学ぶのにおすすめのプログラミングスクール【７選】</a>
						<span class="p-blogCard__excerpt">僕はこれまで独学でPHPを学習してきました。結論から言えば、それでもPHPを習得することはできました。 しかし、それに費やした累計学習期間は1年ほど。モチベーション&#8230;</span>					</div>
				</div>
			</div>
		</div>


<h2 class="wp-block-heading">【ソースコード】アイキャッチ画像の上に広告を表示する</h2>



<p>アイキャッチ画像の上に広告を表示するときのソースコードには大きく<strong><span class="swl-marker mark_yellow">２パターン</span></strong>あります。</p>



<ul class="wp-block-list is-style-num_circle -list-under-dashed">
<li>広告のソースコードをそのまま載せる</li>



<li>広告タグに登録した広告をショートコードで呼び出す</li>
</ul>


<div class="swell-block-balloon"><div class="c-balloon -bln-left" data-col="gray"><div class="c-balloon__icon -circle"><img decoding="async" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="lazyload c-balloon__iconImg" width="80px" height="80px"><noscript><img decoding="async" src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="c-balloon__iconImg" width="80px" height="80px"></noscript><span class="c-balloon__iconName">ケケンタ</span></div><div class="c-balloon__body -speaking -border-on"><div class="c-balloon__text">
<p>順番にソースコードをご紹介します。</p>
<span class="c-balloon__shapes"><span class="c-balloon__before"></span><span class="c-balloon__after"></span></span></div></div></div></div>


<p class="is-style-balloon_box"><strong>① 広告のソースコードをそのまま載せる</strong></p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-php" data-lang="PHP" data-line="4"><code>add_action( &#39;swell_before_post_thumb&#39;, function( $post_id ) {
?&gt;
  &lt;div class=&quot;widget widget_swell_ad_widget&quot;&gt;
      &lt;!-- 広告のコードをここに貼り付ける --&gt;
  &lt;/div&gt;
&lt;?php
});</code></pre></div>



<p class="is-style-balloon_box2">実際の使用例</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-php" data-lang="PHP" data-line="4-13"><code>add_action( &#39;swell_before_post_thumb&#39;, function( $post_id ) {
?&gt;
  &lt;div class=&quot;widget widget_swell_ad_widget&quot;&gt;
     &lt;script async src=&quot;https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-●●●●●●●●●●●●●●●&quot;
     crossorigin=&quot;anonymous&quot;&gt;&lt;/script&gt;
　　 &lt;ins class=&quot;adsbygoogle&quot;
       style=&quot;display:block; text-align:center;&quot;
       data-ad-layout=&quot;in-article&quot;
       data-ad-format=&quot;fluid&quot;
       data-ad-client=&quot;●●●●●●●●●●●●●&quot;
       data-ad-slot=&quot;●●●●●●●●●●●●●●●●●●●●&quot;&gt;
     &lt;/ins&gt;
     &lt;script&gt;(adsbygoogle = window.adsbygoogle || []).push({});&lt;/script&gt;
  &lt;/div&gt;
&lt;?php
});</code></pre></div>



<p class="is-style-balloon_box"><strong>② 広告タグに登録した広告をショートコードで呼び出す</strong></p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-php" data-lang="PHP" data-line="2"><code>add_action( &#39;swell_before_post_thumb&#39;, function( $post_id ) {
  echo do_shortcode(&#39;広告タグのショートコード&#39;);
});</code></pre></div>



<p class="is-style-balloon_box2">実際の使用例</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-php" data-lang="PHP" data-line="2"><code>add_action( &#39;swell_before_post_thumb&#39;, function( $post_id ) {
  echo do_shortcode(&#39;※ IDを指定してください。&#39;);
});</code></pre></div>



<p class="is-style-bg_stripe">ちなみに「広告タグ」は管理画面サイドメニューの以下の部分から登録可能です。</p>



<figure class="wp-block-image size-full is-style-photo_frame size_xs"><img decoding="async" width="858" height="501" src="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-13.png" alt="SWELLの広告タグ一覧画面" class="wp-image-7726" srcset="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-13.png 858w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-13-300x175.png 300w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-13-768x448.png 768w" sizes="(max-width: 858px) 100vw, 858px" /><figcaption class="wp-element-caption">広告タグ「一覧画面」</figcaption></figure>



<figure class="wp-block-image size-full is-style-photo_frame size_xs"><img decoding="async" width="610" height="719" src="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-14.png" alt="SWELLの広告タグ「新規投稿画面」" class="wp-image-7729" srcset="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-14.png 610w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-14-255x300.png 255w" sizes="(max-width: 610px) 100vw, 610px" /><figcaption class="wp-element-caption">広告タグ「新規投稿画面」</figcaption></figure>


<div class="swell-block-balloon"><div class="c-balloon -bln-left" data-col="gray"><div class="c-balloon__icon -circle"><img decoding="async" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="lazyload c-balloon__iconImg" width="80px" height="80px"><noscript><img decoding="async" src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="c-balloon__iconImg" width="80px" height="80px"></noscript><span class="c-balloon__iconName">ケケンタ</span></div><div class="c-balloon__body -speaking -border-on"><div class="c-balloon__text">
<p>以上の手順により、アイキャッチ画像の上に広告を表示させることが可能です。</p>
<span class="c-balloon__shapes"><span class="c-balloon__before"></span><span class="c-balloon__after"></span></span></div></div></div></div>


<h2 class="wp-block-heading" id="add_functinons">SWELLの子テーマのfunctions.phpにソースコードを追加する方法</h2>



<p>まずは管理画面の「外観」→「テーマファイルエディタ」をクリックします。</p>



<figure class="wp-block-image size-full is-style-photo_frame"><img decoding="async" width="403" height="249" src="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-8.png" alt="外観→テーマファイルエディタ" class="wp-image-7694" srcset="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-8.png 403w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-8-300x185.png 300w" sizes="(max-width: 403px) 100vw, 403px" /></figure>



<p>すると以下のような画面が表示されるので、右側にある「<strong>Theme Functions（functions.php）</strong>」をクリックします。</p>



<figure class="wp-block-image size-large is-style-photo_frame size_s"><img decoding="async" width="1024" height="565" src="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-9-1024x565.png" alt="SWELLで外観→テーマファイルエディタをクリックした直後の様子" class="wp-image-7695" srcset="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-9-1024x565.png 1024w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-9-300x166.png 300w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-9-768x424.png 768w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-9.png 1159w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="is-style-icon_info">このとき、念のため右上の「編集するテーマを選択」が「SWELL CHILD」になっていることをご確認下さい。<br>※もしなっていなければ、「SWELL CHILD」を選び、「選択」ボタンをクリックして下さい。</p>



<p>続いて、<strong>エディタの末尾にソースコードを追加</strong>します。</p>



<figure class="wp-block-image size-full size_s is-style-photo_frame"><img decoding="async" width="957" height="802" src="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-11.png" alt="SWELLでのfunctions.phpの編集個所" class="wp-image-7697" srcset="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-11.png 957w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-11-300x251.png 300w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-11-768x644.png 768w" sizes="(max-width: 957px) 100vw, 957px" /></figure>


<div class="swell-block-balloon"><div class="c-balloon -bln-left" data-col="gray"><div class="c-balloon__icon -circle"><img decoding="async" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="lazyload c-balloon__iconImg" width="80px" height="80px"><noscript><img decoding="async" src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="c-balloon__iconImg" width="80px" height="80px"></noscript><span class="c-balloon__iconName">ケケンタ</span></div><div class="c-balloon__body -speaking -border-on"><div class="c-balloon__text">
<p>ソースコードを追加したら、最後に画面左下の「ファイルを更新」をクリックして完了です。</p>
<span class="c-balloon__shapes"><span class="c-balloon__before"></span><span class="c-balloon__after"></span></span></div></div></div></div>


<h2 class="wp-block-heading">まとめ</h2>



<p>以上がSWELLでアイキャッチ画像の上に広告を表示させる方法でした。</p>



<p>この記事がお役に立ったなら何よりです。</p>


<div class="swell-block-balloon"><div class="c-balloon -bln-left" data-col="gray"><div class="c-balloon__icon -circle"><img decoding="async" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="lazyload c-balloon__iconImg" width="80px" height="80px"><noscript><img decoding="async" src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="c-balloon__iconImg" width="80px" height="80px"></noscript><span class="c-balloon__iconName">ケケンタ</span></div><div class="c-balloon__body -speaking -border-on"><div class="c-balloon__text">
<p>最後までご覧いただきありがとうございました！</p>
<span class="c-balloon__shapes"><span class="c-balloon__before"></span><span class="c-balloon__after"></span></span></div></div></div></div><div class="p-blogParts post_content" data-partsID="7607">
<p class="has-text-align-center is-style-balloon_box">SWELLのその他の記事はこちら</p>



<p class="has-text-align-center"><span data-icon="LsSwellLogo" data-id="0" style="--the-icon-svg: url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjFlbSIgd2lkdGg9IjFlbSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBhcmlhLWhpZGRlbj0idHJ1ZSIgdmlld0JveD0iMCAwIDQwIDQwIj48Y2lyY2xlIGN4PSI0LjIiIGN5PSIxNS42IiByPSIyLjEiPjwvY2lyY2xlPjxwYXRoIGQ9Ik0zNi43IDExLjZjLTEtMi4yLTMuNy0zLjktNi45LTMuMy0zLjYuNy01LjQgMi45LTcuOCA1LjktMi43IDMuNC01LjUgNy05LjQgOC41LTEuNC42LTIuOC44LTQuMy44LTEuMSAwLTIuMy0uMi0zLjUtLjUtLjctLjItMS41LS41LTIuMy0uOCAyIDcuOSA5LjIgMTMuOCAxNy44IDEzLjYgOS44LS4yIDE3LjctOC4zIDE3LjctMTgtLjEtMi4xLS40LTQuMy0xLjMtNi4yeiI+PC9wYXRoPjwvc3ZnPg==)" aria-hidden="true" class="swl-inline-icon"> </span><a href="https://kekenta-it-blog.com/category/wordpress/swell/">SWELL記事一覧</a></p>



<div class="swell-block-fullWide pc-py-60 sp-py-40 alignfull" style="background-color:#f7f7f7"><div class="swell-block-fullWide__inner l-article">
<h2 class="wp-block-heading is-style-section_ttl my-is-style-section_ttl--none"></h2>



<p class="has-text-align-center"><span class="swl-marker mark_green"><strong><span class="swl-fz u-fz-l">今回ご紹介した内容のテーマ</span></strong></span><span style="--the-icon-svg: url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjFlbSIgd2lkdGg9IjFlbSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBhcmlhLWhpZGRlbj0idHJ1ZSIgdmlld0JveD0iMCAwIDQwIDQwIj48Y2lyY2xlIGN4PSI0LjIiIGN5PSIxNS42IiByPSIyLjEiPjwvY2lyY2xlPjxwYXRoIGQ9Ik0zNi43IDExLjZjLTEtMi4yLTMuNy0zLjktNi45LTMuMy0zLjYuNy01LjQgMi45LTcuOCA1LjktMi43IDMuNC01LjUgNy05LjQgOC41LTEuNC42LTIuOC44LTQuMy44LTEuMSAwLTIuMy0uMi0zLjUtLjUtLjctLjItMS41LS41LTIuMy0uOCAyIDcuOSA5LjIgMTMuOCAxNy44IDEzLjYgOS44LS4yIDE3LjctOC4zIDE3LjctMTgtLjEtMi4xLS40LTQuMy0xLjMtNi4yeiI+PC9wYXRoPjwvc3ZnPg==)" data-icon="LsSwellLogo" data-id="13" aria-hidden="true" class="swl-inline-icon"><span class="swl-fz u-fz-l"> </span></span></p>


<p><div class="p-blogParts post_content" data-partsID="7603">
<div style="text-align: center;">



<a href="//af.moshimo.com/af/c/click?a_id=4500848&p_id=3885&pc_id=9646&pl_id=53838" rel="nofollow" referrerpolicy="no-referrer-when-downgrade"><img decoding="async" src="//image.moshimo.com/af-img/3130/000000053838.jpg" width="420" height="350" style="border:none;"></a><img decoding="async" src="//i.moshimo.com/af/i/impression?a_id=4500848&p_id=3885&pc_id=9646&pl_id=53838" width="1" height="1" style="border:none;">



</div>
</div></p>



<p class="has-text-align-center u-mb-ctrl u-mb-0"><span class="swl-fz u-fz-s"><strong>＼　19,800円・買い切り　／</strong></span></p>



<div class="swell-block-button -html green_ -size-l is-style-btn_shiny"><a href="//af.moshimo.com/af/c/click?a_id=4500848&amp;p_id=3885&amp;pc_id=9646&amp;pl_id=53798&amp;url=https%3A%2F%2Fswell-theme.com%2F" rel="nofollow" referrerpolicy="no-referrer-when-downgrade" attributionsrc="">今すぐSWELLを購入する　&gt;&gt;</a><img decoding="async" src="//i.moshimo.com/af/i/impression?a_id=4500848&amp;p_id=3885&amp;pc_id=9646&amp;pl_id=53798" width="1" height="1" style="border:none;" alt="" loading="lazy"></div>
</div></div>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://kekenta-it-blog.com/ad-on-eye-catch/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【SWELL】特定の投稿タイプやページでアイキャッチ画像を非表示にする</title>
		<link>https://kekenta-it-blog.com/page-eyecatch-none/</link>
					<comments>https://kekenta-it-blog.com/page-eyecatch-none/#respond</comments>
		
		<dc:creator><![CDATA[ケケンタ]]></dc:creator>
		<pubDate>Sat, 01 Jun 2024 05:55:17 +0000</pubDate>
				<category><![CDATA[SWELL]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[アイキャッチ画像]]></category>
		<category><![CDATA[投稿タイプ]]></category>
		<guid isPermaLink="false">https://kekenta-it-blog.com/?p=7494</guid>

					<description><![CDATA[<p><img src="https://kekenta-it-blog.com/wp-content/uploads/2024/06/eye-catch__page-eyecatch-none__7494-1024x576.jpg" class="webfeedsFeaturedVisual" /></p>今回はこのようなお悩みをお持ちの方に SWELLで特定の投稿タイプでのみアイキャッチ画像を非表示にする方法 をご紹介します。 この記事でご紹介する方法ではfunctions.phpを編集します。作業の際は必ずバックアップ [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img src="https://kekenta-it-blog.com/wp-content/uploads/2024/06/eye-catch__page-eyecatch-none__7494-1024x576.jpg" class="webfeedsFeaturedVisual" /></p><div class="swell-block-balloon"><div class="c-balloon -bln-left" data-col="gray"><div class="c-balloon__icon -circle"><img decoding="async" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/困った顔-150x150.jpg" alt="" class="lazyload c-balloon__iconImg" width="80px" height="80px"><noscript><img decoding="async" src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/困った顔-150x150.jpg" alt="" class="c-balloon__iconImg" width="80px" height="80px"></noscript><span class="c-balloon__iconName">ケケンタ</span></div><div class="c-balloon__body -speaking -border-on"><div class="c-balloon__text">
<p>SWELLでサイト制作をしてるけど、特定の投稿タイプではアイキャッチ画像を表示しないようにしたいんだよな……</p>
<span class="c-balloon__shapes"><span class="c-balloon__before"></span><span class="c-balloon__after"></span></span></div></div></div></div>

<div class="swell-block-balloon"><div class="c-balloon -bln-left" data-col="gray"><div class="c-balloon__icon -circle"><img decoding="async" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/困った顔-150x150.jpg" alt="" class="lazyload c-balloon__iconImg" width="80px" height="80px"><noscript><img decoding="async" src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/困った顔-150x150.jpg" alt="" class="c-balloon__iconImg" width="80px" height="80px"></noscript><span class="c-balloon__iconName">ケケンタ</span></div><div class="c-balloon__body -speaking -border-on"><div class="c-balloon__text">
<p>アイキャッチ画像の設定は使いつつ、記事上では非表示にする方法って無いのかな……</p>
<span class="c-balloon__shapes"><span class="c-balloon__before"></span><span class="c-balloon__after"></span></span></div></div></div></div>


<p>今回はこのようなお悩みをお持ちの方に</p>



<p class="has-text-align-center is-style-big_kakko_box"><strong>SWELLで特定の投稿タイプでのみアイキャッチ画像を非表示にする方法</strong></p>



<p>をご紹介します。</p>



<div class="swell-block-capbox cap_box is-style-shadow"><div class="cap_box_ttl"><span><span data-icon="LsLightbulb" data-id="0" style="--the-icon-svg: url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjFlbSIgd2lkdGg9IjFlbSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBhcmlhLWhpZGRlbj0idHJ1ZSIgdmlld0JveD0iMCAwIDQ4IDQ4Ij48cGF0aCBkPSJNMzIgNDYuNUgxNmMtMS4xIDAtMi0uOS0yLTJzLjktMiAyLTJoMTZjMS4xIDAgMiAuOSAyIDJzLS45IDItMiAyek00MS43IDE1LjlDNDEuMyAxMyA0MCAxMC4zIDM4LjIgOCAzNC41IDMuMiAyOSAuOCAyMy4xIDEgMTQgMS40IDYuNSA4LjkgNiAxOGMtLjMgNiAyLjQgMTEuNyA3LjIgMTUuNC41LjQuOC45LjggMS41djEuNmMwIDIuMiAxLjggNCA0IDRoMTJjMi4yIDAgNC0xLjggNC00VjM1YzAtLjYuMy0xLjIuOS0xLjcgNS4zLTQgOC0xMC42IDYuOC0xNy40em0tNy4xIDEuN2gtLjNjLS43IDAtMS4zLS41LTEuNS0xLjItLjctMy4yLTMuMi01LjctNi40LTYuMy0uOC0uMS0xLjQtLjktMS4yLTEuN3MuOS0xLjQgMS43LTEuMmM0LjQuOCA4IDQuMiA4LjkgOC42LjEuOC0uNCAxLjYtMS4yIDEuOHoiPjwvcGF0aD48L3N2Zz4=)" aria-hidden="true" class="swl-inline-icon"> </span><strong> この記事でわかること</strong></span></div><div class="cap_box_content">
<ul class="wp-block-list is-style-check_list -list-under-dashed">
<li>SWELLで特定のカスタム投稿タイプでのみアイキャッチ画像を非表示にする方法</li>



<li>SWELLで投稿ページや固定ページでのみアイキャッチ画像を非表示にする方法</li>



<li>SWELLで個別ページのアイキャッチ画像を非表示にする方法</li>
</ul>
</div></div>



<p class="is-style-icon_info">この記事でご紹介する方法ではfunctions.phpを編集します。<br>作業の際は必ずバックアップをお取りいただき、自己責任のもとで作業を行ってください。</p>



<p class="is-style-bg_stripe">※SWELLでfunctions.phpを編集する方法がご不明な方は<a href="#add_functinons" data-type="post" data-id="7494">こちら</a>をご覧ください（本ページ内の説明箇所に移動します）。また、以下の記事でも詳しく解説しています。</p>


<div class="swell-block-postLink">			<div class="p-blogCard -internal" data-type="type2" data-onclick="clickLink">
				<div class="p-blogCard__inner">
					<span class="p-blogCard__caption">あわせて読みたい</span>
					<div class="p-blogCard__thumb c-postThumb"><figure class="c-postThumb__figure"><img decoding="async" src="https://kekenta-it-blog.com/wp-content/uploads/2024/10/eye-catch__wp-edit-functions__11133-300x169.jpg" alt="" class="c-postThumb__img u-obf-cover" width="320" height="180"></figure></div>					<div class="p-blogCard__body">
						<a class="p-blogCard__title" href="https://kekenta-it-blog.com/wp-edit-functions/">【WordPress】functions.phpを編集する「３つ」の方法と編集時の注意点</a>
						<span class="p-blogCard__excerpt">WordPressで機能カスタマイズをする際は、必ずと言っていいほどfunctions.phpを編集することになります。 しかし、functions.phpを編集したことで何らかのエラーが発生&#8230;</span>					</div>
				</div>
			</div>
		</div>

<div class="swell-block-postLink">			<a href="https://kekenta-it-blog.com/swell-tocad-cat-branch/" class="c-blogLink -internal" data-style="text">
				<!-- <i class="c-blogLink__icon icon-link" role="presentation"></i> -->
				<span class="c-blogLink__icon">
					<svg xmlns="http://www.w3.org/2000/svg" class="swl-svg-link __svg" width="1em" height="1em" viewBox="0 0 48 48" role="img" aria-hidden="true" focusable="false"><path d="M21.2 30.2c-.5 0-1-.2-1.4-.6l-.7-.7c-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l7.1-7.1c2.3-2.3 5.3-3.5 8.5-3.5s6.2 1.2 8.5 3.5c4.7 4.7 4.7 12.3 0 17l-3.5 3.5c-.8.8-2 .8-2.8 0-.8-.8-.8-2 0-2.8l3.5-3.5c3.1-3.1 3.1-8.2 0-11.3-1.5-1.5-3.5-2.3-5.7-2.3-2.1 0-4.2.8-5.7 2.3l-7.1 7.1c-1.5 1.5-2.3 3.5-2.3 5.7s.8 4.2 2.3 5.7l.7.7c.8.8.8 2 0 2.8-.4.3-.9.5-1.4.5z" /><path d="M13.4 46.6c-3.1 0-6.1-1.2-8.5-3.5-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l3.5-3.5c.8-.8 2-.8 2.8 0 .8.8.8 2 0 2.8l-3.5 3.5c-1.5 1.5-2.3 3.5-2.3 5.7 0 2.1.8 4.2 2.3 5.7 3.1 3.1 8.2 3.1 11.3 0l7.1-7.1c1.5-1.5 2.3-3.5 2.3-5.7 0-2.1-.8-4.2-2.3-5.7l-.7-.7c-.8-.8-.8-2 0-2.8.8-.8 2-.8 2.8 0l.7.7c2.3 2.3 3.5 5.3 3.5 8.5s-1.2 6.2-3.5 8.5l-7.1 7.1c-2.3 2.3-5.3 3.5-8.4 3.5z" /></svg>				</span>
				<span class="c-blogLink__text">【SWELL】「目次広告」の内容をカテゴリーごとに変更する方法</span>
			</a>
		</div>

<div class="swell-block-postLink">			<a href="https://kekenta-it-blog.com/swell-f-cr-link/" class="c-blogLink -internal" data-style="text">
				<!-- <i class="c-blogLink__icon icon-link" role="presentation"></i> -->
				<span class="c-blogLink__icon">
					<svg xmlns="http://www.w3.org/2000/svg" class="swl-svg-link __svg" width="1em" height="1em" viewBox="0 0 48 48" role="img" aria-hidden="true" focusable="false"><path d="M21.2 30.2c-.5 0-1-.2-1.4-.6l-.7-.7c-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l7.1-7.1c2.3-2.3 5.3-3.5 8.5-3.5s6.2 1.2 8.5 3.5c4.7 4.7 4.7 12.3 0 17l-3.5 3.5c-.8.8-2 .8-2.8 0-.8-.8-.8-2 0-2.8l3.5-3.5c3.1-3.1 3.1-8.2 0-11.3-1.5-1.5-3.5-2.3-5.7-2.3-2.1 0-4.2.8-5.7 2.3l-7.1 7.1c-1.5 1.5-2.3 3.5-2.3 5.7s.8 4.2 2.3 5.7l.7.7c.8.8.8 2 0 2.8-.4.3-.9.5-1.4.5z" /><path d="M13.4 46.6c-3.1 0-6.1-1.2-8.5-3.5-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l3.5-3.5c.8-.8 2-.8 2.8 0 .8.8.8 2 0 2.8l-3.5 3.5c-1.5 1.5-2.3 3.5-2.3 5.7 0 2.1.8 4.2 2.3 5.7 3.1 3.1 8.2 3.1 11.3 0l7.1-7.1c1.5-1.5 2.3-3.5 2.3-5.7 0-2.1-.8-4.2-2.3-5.7l-.7-.7c-.8-.8-.8-2 0-2.8.8-.8 2-.8 2.8 0l.7.7c2.3 2.3 3.5 5.3 3.5 8.5s-1.2 6.2-3.5 8.5l-7.1 7.1c-2.3 2.3-5.3 3.5-8.4 3.5z" /></svg>				</span>
				<span class="c-blogLink__text">【SWELL】誰でも簡単！フッターのコピーライトをリンクにする方法</span>
			</a>
		</div>

<div class="swell-block-postLink">			<a href="https://kekenta-it-blog.com/change-to-swell/" class="c-blogLink -internal" data-style="text">
				<!-- <i class="c-blogLink__icon icon-link" role="presentation"></i> -->
				<span class="c-blogLink__icon">
					<svg xmlns="http://www.w3.org/2000/svg" class="swl-svg-link __svg" width="1em" height="1em" viewBox="0 0 48 48" role="img" aria-hidden="true" focusable="false"><path d="M21.2 30.2c-.5 0-1-.2-1.4-.6l-.7-.7c-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l7.1-7.1c2.3-2.3 5.3-3.5 8.5-3.5s6.2 1.2 8.5 3.5c4.7 4.7 4.7 12.3 0 17l-3.5 3.5c-.8.8-2 .8-2.8 0-.8-.8-.8-2 0-2.8l3.5-3.5c3.1-3.1 3.1-8.2 0-11.3-1.5-1.5-3.5-2.3-5.7-2.3-2.1 0-4.2.8-5.7 2.3l-7.1 7.1c-1.5 1.5-2.3 3.5-2.3 5.7s.8 4.2 2.3 5.7l.7.7c.8.8.8 2 0 2.8-.4.3-.9.5-1.4.5z" /><path d="M13.4 46.6c-3.1 0-6.1-1.2-8.5-3.5-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l3.5-3.5c.8-.8 2-.8 2.8 0 .8.8.8 2 0 2.8l-3.5 3.5c-1.5 1.5-2.3 3.5-2.3 5.7 0 2.1.8 4.2 2.3 5.7 3.1 3.1 8.2 3.1 11.3 0l7.1-7.1c1.5-1.5 2.3-3.5 2.3-5.7 0-2.1-.8-4.2-2.3-5.7l-.7-.7c-.8-.8-.8-2 0-2.8.8-.8 2-.8 2.8 0l.7.7c2.3 2.3 3.5 5.3 3.5 8.5s-1.2 6.2-3.5 8.5l-7.1 7.1c-2.3 2.3-5.3 3.5-8.4 3.5z" /></svg>				</span>
				<span class="c-blogLink__text">無料テーマCocoonからSWELLに乗り換えた７つの理由【WordPress】</span>
			</a>
		</div>

<div class="swell-block-postLink">			<a href="https://kekenta-it-blog.com/school-php-and-wp/" class="c-blogLink -internal" data-style="text">
				<!-- <i class="c-blogLink__icon icon-link" role="presentation"></i> -->
				<span class="c-blogLink__icon">
					<svg xmlns="http://www.w3.org/2000/svg" class="swl-svg-link __svg" width="1em" height="1em" viewBox="0 0 48 48" role="img" aria-hidden="true" focusable="false"><path d="M21.2 30.2c-.5 0-1-.2-1.4-.6l-.7-.7c-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l7.1-7.1c2.3-2.3 5.3-3.5 8.5-3.5s6.2 1.2 8.5 3.5c4.7 4.7 4.7 12.3 0 17l-3.5 3.5c-.8.8-2 .8-2.8 0-.8-.8-.8-2 0-2.8l3.5-3.5c3.1-3.1 3.1-8.2 0-11.3-1.5-1.5-3.5-2.3-5.7-2.3-2.1 0-4.2.8-5.7 2.3l-7.1 7.1c-1.5 1.5-2.3 3.5-2.3 5.7s.8 4.2 2.3 5.7l.7.7c.8.8.8 2 0 2.8-.4.3-.9.5-1.4.5z" /><path d="M13.4 46.6c-3.1 0-6.1-1.2-8.5-3.5-2.3-2.3-3.5-5.3-3.5-8.5s1.2-6.2 3.5-8.5l3.5-3.5c.8-.8 2-.8 2.8 0 .8.8.8 2 0 2.8l-3.5 3.5c-1.5 1.5-2.3 3.5-2.3 5.7 0 2.1.8 4.2 2.3 5.7 3.1 3.1 8.2 3.1 11.3 0l7.1-7.1c1.5-1.5 2.3-3.5 2.3-5.7 0-2.1-.8-4.2-2.3-5.7l-.7-.7c-.8-.8-.8-2 0-2.8.8-.8 2-.8 2.8 0l.7.7c2.3 2.3 3.5 5.3 3.5 8.5s-1.2 6.2-3.5 8.5l-7.1 7.1c-2.3 2.3-5.3 3.5-8.4 3.5z" /></svg>				</span>
				<span class="c-blogLink__text">PHPやWordPressを学ぶのにおすすめのプログラミングスクール【７選】</span>
			</a>
		</div>


<h2 class="wp-block-heading">特定のカスタム投稿タイプでアイキャッチ画像を非表示にする</h2>



<p>まずは「特定のカスタム投稿タイプでアイキャッチ画像を非表示にする方法」ですが、以下のソースコードを<strong>functions.php</strong>に追加します。</p>



<p class="is-style-balloon_box2">functions.phpに追加するソースコード</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-php" data-file="functions.php" data-lang="PHP" data-line="4"><code>add_filter( &#39;swell_parts_post_thumbnail&#39;, function( $html, $post_id, $is_youtube ) {
    
    // 特定のカスタム投稿タイプのアイキャッチ画像を非表示にする
    if ( get_post_type( $post_id ) === &#39;カスタム投稿タイプのスラッグ&#39; ) {
        return &#39;&#39;;
    }

    // それ以外の場合は通常通りアイキャッチ画像を表示
    return $html;
}, 10, 3 );</code></pre></div>



<p class="is-style-icon_pen">４行目の「カスタム投稿タイプのスラッグ」には文字通り<strong>カスタム投稿タイプのスラッグ</strong>を記述します。</p>



<p class="is-style-balloon_box2">実際の使用例</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-php" data-file="functions.php" data-lang="PHP" data-line="4"><code>add_filter( &#39;swell_parts_post_thumbnail&#39;, function( $html, $post_id, $is_youtube ) {
    
    // 投稿タイプ「sample_post_type」の場合、アイキャッチ画像を非表示にする
    if ( get_post_type( $post_id ) === &#39;sample_post_type&#39; ) {
        return &#39;&#39;;
    }

    // それ以外の場合は通常通りアイキャッチ画像を表示
    return $html;
}, 10, 3 );</code></pre></div>


<div class="swell-block-balloon"><div class="c-balloon -bln-left" data-col="gray"><div class="c-balloon__icon -circle"><img decoding="async" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="lazyload c-balloon__iconImg" width="80px" height="80px"><noscript><img decoding="async" src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="c-balloon__iconImg" width="80px" height="80px"></noscript><span class="c-balloon__iconName">ケケンタ</span></div><div class="c-balloon__body -speaking -border-on"><div class="c-balloon__text">
<p>たったこれだけの記述で「特定のカスタム投稿タイプ」でアイキャッチ画像を非表示にすることが可能です。</p>
<span class="c-balloon__shapes"><span class="c-balloon__before"></span><span class="c-balloon__after"></span></span></div></div></div></div>


<p class="is-style-bg_stripe">SWELLでfunctions.phpを編集する方法は<a href="#add_functinons" data-type="post" data-id="7494">こちら</a>（本ページ内の説明箇所に移動します）</p>



<h2 class="wp-block-heading">投稿ページや固定ページでアイキャッチ画像を非表示にする</h2>



<p>WordPressには様々な「<strong>ページ判定ができるテンプレートタグ</strong>」が用意されており、その中には</p>



<ul class="wp-block-list">
<li>投稿ページ</li>



<li>固定ページ</li>
</ul>



<p>を判定できるものもあります。</p>



<p>それらを利用することで、先ほどと同様にアイキャッチ画像を好きなページで非表示にすることが可能です。</p>



<p class="is-style-balloon_box2">具体例（<strong><span class="swl-marker mark_yellow">投稿ページ</span></strong>でアイキャッチ画像を非表示）</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-php" data-file="functions.php" data-lang="PHP" data-line="4"><code>add_filter( &#39;swell_parts_post_thumbnail&#39;, function( $html, $post_id, $is_youtube ) {
    
    // 投稿ページの場合、アイキャッチ画像を非表示にする
    if ( is_single() ) {
        return &#39;&#39;;
    }

    // それ以外の場合は通常通りアイキャッチ画像を表示
    return $html;
}, 10, 3 );</code></pre></div>



<p class="is-style-balloon_box2">具体例（<strong><span class="swl-marker mark_yellow">固定ページ</span></strong>でアイキャッチ画像を非表示）</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-php" data-file="functions.php" data-lang="PHP" data-line="4"><code>add_filter( &#39;swell_parts_post_thumbnail&#39;, function( $html, $post_id, $is_youtube ) {
    
    // 固定ページの場合、アイキャッチ画像を非表示にする
    if ( is_page() ) {
        return &#39;&#39;;
    }

    // それ以外の場合は通常通りアイキャッチ画像を表示
    return $html;
}, 10, 3 );</code></pre></div>


<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4374558503914683"
     crossorigin="anonymous"></script>
<!-- ディスプレイ【横長】 -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-4374558503914683"
     data-ad-slot="9744298852"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<h2 class="wp-block-heading">個別ページを指定したい場合（カスタム投稿タイプかどうかに関係なく）</h2>



<p>また、もしも「個別ページを指定したい」という場合には以下のソースコードで同様にアイキャッチ画像の出力を制御することが可能です。</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-plain" data-file="functions.php" data-line="6"><code>add_filter( &#39;swell_parts_post_thumbnail&#39;, function( $html, $post_id, $is_youtube ) {
    
    // 特定のページのアイキャッチ画像を非表示にする
	global $post;
  	$slug = $post-&gt;post_name;
    if ( $slug === &#39;アイキャッチ画像を非表示にしたいページのスラッグ&#39; ) {
        return &#39;&#39;;
    }

    // それ以外の場合は通常通りアイキャッチ画像を表示
    return $html;
}, 10, 3 );</code></pre></div>



<p class="is-style-icon_pen">４行目の「カスタム投稿タイプのスラッグ」には<strong>アイキャッチ画像を非表示にしたいページのスラッグ</strong>を記述します。</p>



<p class="is-style-balloon_box2">実際の使用例</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-plain" data-file="functions.php" data-line="6"><code>add_filter( &#39;swell_parts_post_thumbnail&#39;, function( $html, $post_id, $is_youtube ) {
    
    // スラッグが「sample_post」のページのアイキャッチ画像を非表示にする
	global $post;
  	$slug = $post-&gt;post_name;
    if ( $slug === &#39;sample_post&#39; ) {
        return &#39;&#39;;
    }

    // それ以外の場合は通常通りアイキャッチ画像を表示
    return $html;
}, 10, 3 );</code></pre></div>



<h2 class="wp-block-heading" id="add_functinons">SWELLの子テーマのfunctions.phpにソースコードを追加する方法</h2>



<p>まずは管理画面の「外観」→「テーマファイルエディタ」をクリックします。</p>



<figure class="wp-block-image size-full is-style-photo_frame"><img decoding="async" width="403" height="249" src="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-8.png" alt="外観→テーマファイルエディタ" class="wp-image-7694" srcset="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-8.png 403w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-8-300x185.png 300w" sizes="(max-width: 403px) 100vw, 403px" /></figure>



<p>すると以下のような画面が表示されるので、右側にある「<strong>Theme Functions（functions.php）</strong>」をクリックします。</p>



<figure class="wp-block-image size-large is-style-photo_frame size_s"><img decoding="async" width="1024" height="565" src="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-9-1024x565.png" alt="SWELLで外観→テーマファイルエディタをクリックした直後の様子" class="wp-image-7695" srcset="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-9-1024x565.png 1024w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-9-300x166.png 300w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-9-768x424.png 768w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-9.png 1159w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="is-style-icon_info">このとき、念のため右上の「編集するテーマを選択」が「SWELL CHILD」になっていることをご確認下さい。<br>※もしなっていなければ、「SWELL CHILD」を選び、「選択」ボタンをクリックして下さい。</p>



<p>続いて、<strong>エディタの末尾にソースコードを追加</strong>します。</p>



<figure class="wp-block-image size-full size_s is-style-photo_frame"><img decoding="async" width="957" height="802" src="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-11.png" alt="SWELLでのfunctions.phpの編集個所" class="wp-image-7697" srcset="https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-11.png 957w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-11-300x251.png 300w, https://kekenta-it-blog.com/wp-content/uploads/2024/06/image-11-768x644.png 768w" sizes="(max-width: 957px) 100vw, 957px" /></figure>


<div class="swell-block-balloon"><div class="c-balloon -bln-left" data-col="gray"><div class="c-balloon__icon -circle"><img decoding="async" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="lazyload c-balloon__iconImg" width="80px" height="80px"><noscript><img decoding="async" src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="c-balloon__iconImg" width="80px" height="80px"></noscript><span class="c-balloon__iconName">ケケンタ</span></div><div class="c-balloon__body -speaking -border-on"><div class="c-balloon__text">
<p>ソースコードを追加したら、最後に画面左下の「ファイルを更新」をクリックして完了です。</p>
<span class="c-balloon__shapes"><span class="c-balloon__before"></span><span class="c-balloon__after"></span></span></div></div></div></div>

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4374558503914683"
     crossorigin="anonymous"></script>
<!-- ディスプレイ【横長】 -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-4374558503914683"
     data-ad-slot="9744298852"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<h2 class="wp-block-heading">SWELLには様々なフィルター・アクションフックが用意されている</h2>


<div class="swell-block-balloon"><div class="c-balloon -bln-left" data-col="gray"><div class="c-balloon__icon -circle"><img decoding="async" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="lazyload c-balloon__iconImg" width="80px" height="80px"><noscript><img decoding="async" src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="c-balloon__iconImg" width="80px" height="80px"></noscript><span class="c-balloon__iconName">ケケンタ</span></div><div class="c-balloon__body -speaking -border-on"><div class="c-balloon__text">
<p>以上が特定の投稿タイプや特定のページでのみアイキャッチ画像を非表示にする方法でした！</p>
<span class="c-balloon__shapes"><span class="c-balloon__before"></span><span class="c-balloon__after"></span></span></div></div></div></div>


<p>実はSWELLには独自のフィルターフックやアクションフックが用意されています。</p>



<div class="swell-block-capbox cap_box is-style-onborder_ttl2"><div class="cap_box_ttl"><span>フィルターフックやアクションフックについて</span></div><div class="cap_box_content">
<p>WordPress独自の機能のひとつで、フックに対して<strong>処理を登録することが可能</strong>。<br>今回はアイキャッチ画像を表示するためのフック（<strong>swell_parts_post_thumbnail</strong>）に対して「コードを上書きする記述」を登録し、特定ページでアイキャッチ画像が表示されなくなるようにしました。</p>
</div></div>



<p>元々カスタマイズ性に優れているSWELLですが、こうしたフックを利用することでさらにできることの幅が広がります。</p>



<p>この記事をご覧になった方も、もしご興味があればご自身でSWELLの各フックについて調べてみるのもおもしろいかもしれません。</p>


<div class="swell-block-balloon"><div class="c-balloon -bln-left" data-col="gray"><div class="c-balloon__icon -circle"><img decoding="async" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="lazyload c-balloon__iconImg" width="80px" height="80px"><noscript><img decoding="async" src="https://kekenta-it-blog.com/wp-content/uploads/2023/07/キリッ-150x150.jpg" alt="" class="c-balloon__iconImg" width="80px" height="80px"></noscript><span class="c-balloon__iconName">ケケンタ</span></div><div class="c-balloon__body -speaking -border-on"><div class="c-balloon__text">
<p>この記事がお役に立ったなら何よりです！<br>最後までご覧いただきありがとうございました！</p>
<span class="c-balloon__shapes"><span class="c-balloon__before"></span><span class="c-balloon__after"></span></span></div></div></div></div><div class="p-blogParts post_content" data-partsID="7607">
<p class="has-text-align-center is-style-balloon_box">SWELLのその他の記事はこちら</p>



<p class="has-text-align-center"><span data-icon="LsSwellLogo" data-id="0" style="--the-icon-svg: url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjFlbSIgd2lkdGg9IjFlbSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBhcmlhLWhpZGRlbj0idHJ1ZSIgdmlld0JveD0iMCAwIDQwIDQwIj48Y2lyY2xlIGN4PSI0LjIiIGN5PSIxNS42IiByPSIyLjEiPjwvY2lyY2xlPjxwYXRoIGQ9Ik0zNi43IDExLjZjLTEtMi4yLTMuNy0zLjktNi45LTMuMy0zLjYuNy01LjQgMi45LTcuOCA1LjktMi43IDMuNC01LjUgNy05LjQgOC41LTEuNC42LTIuOC44LTQuMy44LTEuMSAwLTIuMy0uMi0zLjUtLjUtLjctLjItMS41LS41LTIuMy0uOCAyIDcuOSA5LjIgMTMuOCAxNy44IDEzLjYgOS44LS4yIDE3LjctOC4zIDE3LjctMTgtLjEtMi4xLS40LTQuMy0xLjMtNi4yeiI+PC9wYXRoPjwvc3ZnPg==)" aria-hidden="true" class="swl-inline-icon"> </span><a href="https://kekenta-it-blog.com/category/wordpress/swell/">SWELL記事一覧</a></p>



<div class="swell-block-fullWide pc-py-60 sp-py-40 alignfull" style="background-color:#f7f7f7"><div class="swell-block-fullWide__inner l-article">
<h2 class="wp-block-heading is-style-section_ttl my-is-style-section_ttl--none"></h2>



<p class="has-text-align-center"><span class="swl-marker mark_green"><strong><span class="swl-fz u-fz-l">今回ご紹介した内容のテーマ</span></strong></span><span style="--the-icon-svg: url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjFlbSIgd2lkdGg9IjFlbSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBhcmlhLWhpZGRlbj0idHJ1ZSIgdmlld0JveD0iMCAwIDQwIDQwIj48Y2lyY2xlIGN4PSI0LjIiIGN5PSIxNS42IiByPSIyLjEiPjwvY2lyY2xlPjxwYXRoIGQ9Ik0zNi43IDExLjZjLTEtMi4yLTMuNy0zLjktNi45LTMuMy0zLjYuNy01LjQgMi45LTcuOCA1LjktMi43IDMuNC01LjUgNy05LjQgOC41LTEuNC42LTIuOC44LTQuMy44LTEuMSAwLTIuMy0uMi0zLjUtLjUtLjctLjItMS41LS41LTIuMy0uOCAyIDcuOSA5LjIgMTMuOCAxNy44IDEzLjYgOS44LS4yIDE3LjctOC4zIDE3LjctMTgtLjEtMi4xLS40LTQuMy0xLjMtNi4yeiI+PC9wYXRoPjwvc3ZnPg==)" data-icon="LsSwellLogo" data-id="13" aria-hidden="true" class="swl-inline-icon"><span class="swl-fz u-fz-l"> </span></span></p>


<p><div class="p-blogParts post_content" data-partsID="7603">
<div style="text-align: center;">



<a href="//af.moshimo.com/af/c/click?a_id=4500848&p_id=3885&pc_id=9646&pl_id=53838" rel="nofollow" referrerpolicy="no-referrer-when-downgrade"><img decoding="async" src="//image.moshimo.com/af-img/3130/000000053838.jpg" width="420" height="350" style="border:none;"></a><img decoding="async" src="//i.moshimo.com/af/i/impression?a_id=4500848&p_id=3885&pc_id=9646&pl_id=53838" width="1" height="1" style="border:none;">



</div>
</div></p>



<p class="has-text-align-center u-mb-ctrl u-mb-0"><span class="swl-fz u-fz-s"><strong>＼　19,800円・買い切り　／</strong></span></p>



<div class="swell-block-button -html green_ -size-l is-style-btn_shiny"><a href="//af.moshimo.com/af/c/click?a_id=4500848&amp;p_id=3885&amp;pc_id=9646&amp;pl_id=53798&amp;url=https%3A%2F%2Fswell-theme.com%2F" rel="nofollow" referrerpolicy="no-referrer-when-downgrade" attributionsrc="">今すぐSWELLを購入する　&gt;&gt;</a><img decoding="async" src="//i.moshimo.com/af/i/impression?a_id=4500848&amp;p_id=3885&amp;pc_id=9646&amp;pl_id=53798" width="1" height="1" style="border:none;" alt="" loading="lazy"></div>
</div></div>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://kekenta-it-blog.com/page-eyecatch-none/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
