<?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>プラグイン - わぷ道</title>
	<atom:link href="https://wapu-dou.com/post/tag/plugin/feed/" rel="self" type="application/rss+xml" />
	<link>https://wapu-dou.com</link>
	<description>主にWordPressで日々詰まったことなど、解決した際の備忘録として残していきたいと思い、作成しました。 そのほかにも、役立つ情報なんかを書いていければと思います。</description>
	<lastBuildDate>Fri, 28 Oct 2022 07:09:49 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>WordPressログイン画面 URLの変更方法</title>
		<link>https://wapu-dou.com/post/414/</link>
					<comments>https://wapu-dou.com/post/414/#comments</comments>
		
		<dc:creator><![CDATA[akkunday]]></dc:creator>
		<pubDate>Fri, 28 Oct 2022 07:09:49 +0000</pubDate>
				<category><![CDATA[ウェブ制作]]></category>
		<category><![CDATA[pickup]]></category>
		<category><![CDATA[プラグイン]]></category>
		<guid isPermaLink="false">https://wapu-dou.com/?p=414</guid>

					<description><![CDATA[<p>WordPressではデフォルトの設定のままだと、「https://dummy-url.com/wp-login/」でログイン画面に行ける他、管理画面上のURLを入れる事で意図せずともログイン画面に遷移させてしまったりします。 2段階認証を…</p>
<p>The post <a href="https://wapu-dou.com/post/414/">WordPressログイン画面 URLの変更方法</a> first appeared on <a href="https://wapu-dou.com">わぷ道</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>WordPressではデフォルトの設定のままだと、「https://dummy-url.com/wp-login/」でログイン画面に行ける他、管理画面上のURLを入れる事で意図せずともログイン画面に遷移させてしまったりします。<br>
2段階認証を用意したり、Basic認証をつけたりとログインされないようにセキュリティ対策をするのと同時にログイン画面自体にも行かせない事が理想的だと思います。<br>
今回はプラグインで簡単にログイン画面のURLを固定し、他のURLではログイン画面に遷移させないようにする方法を紹介します。
</p>
<h2>プラグイン「WPS Hide Login」</h2>
<div class="reference_site_block">
<p class="reference_site_title">参考にしたサイト</p>
<a href="https://example.com" target="_blank" rel="noopener">https://ja.wordpress.org/plugins/wps-hide-login/</a>
</div>
<p>このプラグインをインストールし、有効化すると「設定　＞　一般」の中に「WPS Hide Login」の項目が追加されます。</p>
<img fetchpriority="high" decoding="async" src="https://wapu-dou.com/wp-content/uploads/2022/10/Screenshot_18.png" alt="" width="1029" height="336" class="alignnone size-full wp-image-416" srcset="https://wapu-dou.com/wp-content/uploads/2022/10/Screenshot_18.png 1029w, https://wapu-dou.com/wp-content/uploads/2022/10/Screenshot_18-300x98.png 300w, https://wapu-dou.com/wp-content/uploads/2022/10/Screenshot_18-768x251.png 768w" sizes="(max-width: 1029px) 100vw, 1029px" />
<p>入力項目は２つ、「ログインURL」と「リダイレクトURL」があります。<br>
こちらはそれぞれ、ログイン用画面のURLを自動で指定出来る物(デフォルトだと「login」)と間違ったURLを入れた時にリダイレクトされるページ（デフォルトだと「404」)を指定出来ます。
</p>		<div class="wpulike wpulike-animated-heart " ><div class="wp_ulike_general_class wp_ulike_is_not_liked"><button type="button"
					aria-label="いいねボタン"
					data-ulike-id="414"
					data-ulike-nonce="09e26fe478"
					data-ulike-type="post"
					data-ulike-template="wpulike-animated-heart"
					data-ulike-display-likers=""
					data-ulike-likers-style="popover"
					data-ulike-append="&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop one&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop two&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop three&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop four&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop five&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop six&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop seven&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop eight&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop nine&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;"
					class="wp_ulike_btn wp_ulike_put_image wp_post_btn_414"><svg class="wpulike-svg-heart wpulike-svg-heart-icon" viewBox="0 -28 512.00002 512" xmlns="http://www.w3.org/2000/svg"><path
						d="m471.382812 44.578125c-26.503906-28.746094-62.871093-44.578125-102.410156-44.578125-29.554687 0-56.621094 9.34375-80.449218 27.769531-12.023438 9.300781-22.917969 20.679688-32.523438 33.960938-9.601562-13.277344-20.5-24.660157-32.527344-33.960938-23.824218-18.425781-50.890625-27.769531-80.445312-27.769531-39.539063 0-75.910156 15.832031-102.414063 44.578125-26.1875 28.410156-40.613281 67.222656-40.613281 109.292969 0 43.300781 16.136719 82.9375 50.78125 124.742187 30.992188 37.394531 75.535156 75.355469 127.117188 119.3125 17.613281 15.011719 37.578124 32.027344 58.308593 50.152344 5.476563 4.796875 12.503907 7.4375 19.792969 7.4375 7.285156 0 14.316406-2.640625 19.785156-7.429687 20.730469-18.128907 40.707032-35.152344 58.328125-50.171876 51.574219-43.949218 96.117188-81.90625 127.109375-119.304687 34.644532-41.800781 50.777344-81.4375 50.777344-124.742187 0-42.066407-14.425781-80.878907-40.617188-109.289063zm0 0" /></svg></button><span class="count-box wp_ulike_counter_up" data-ulike-counter-value=""></span>			</div></div><p>The post <a href="https://wapu-dou.com/post/414/">WordPressログイン画面 URLの変更方法</a> first appeared on <a href="https://wapu-dou.com">わぷ道</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://wapu-dou.com/post/414/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>【いいねボタン】プラグインで簡単！いいねボタンを設置する方法</title>
		<link>https://wapu-dou.com/post/229/</link>
					<comments>https://wapu-dou.com/post/229/#respond</comments>
		
		<dc:creator><![CDATA[akkunday]]></dc:creator>
		<pubDate>Fri, 26 Aug 2022 23:43:47 +0000</pubDate>
				<category><![CDATA[ウェブ制作]]></category>
		<category><![CDATA[pickup]]></category>
		<category><![CDATA[プラグイン]]></category>
		<guid isPermaLink="false">https://wapu-dou.com/?p=229</guid>

					<description><![CDATA[<p>「WP ULike」でいいねボタンを実装 今回は「WP ULike」というプラグインでブログに「いいね」機能を追加する方法を紹介します。 このプラグインを使うと、SNS等の「いいねボタン」とは別にWordPressに独自の「いいね」機能が追…</p>
<p>The post <a href="https://wapu-dou.com/post/229/">【いいねボタン】プラグインで簡単！いいねボタンを設置する方法</a> first appeared on <a href="https://wapu-dou.com">わぷ道</a>.</p>]]></description>
										<content:encoded><![CDATA[<h2>「WP ULike」でいいねボタンを実装</h2>
<p>今回は「WP ULike」というプラグインでブログに「いいね」機能を追加する方法を紹介します。<br>
このプラグインを使うと、SNS等の「いいねボタン」とは別にWordPressに独自の「いいね」機能が追加できます。
</p>
<h2>基本設定</h2>
<p>細かい設定もたくさんありますが、今回はよく使う設定をピックアップして説明します。</p>

<h3>デザインの指定</h3>
<p>設定画面のcontent typesでボタンのデザインを４パターンから選択出来ます。</p>
<img decoding="async" src="https://wapu-dou.com/wp-content/uploads/2022/08/ss_229_1-300x42.png" alt="" width="300" height="42" class="alignnone size-medium wp-image-234" srcset="https://wapu-dou.com/wp-content/uploads/2022/08/ss_229_1-300x42.png 300w, https://wapu-dou.com/wp-content/uploads/2022/08/ss_229_1-768x107.png 768w, https://wapu-dou.com/wp-content/uploads/2022/08/ss_229_1.png 810w" sizes="(max-width: 300px) 100vw, 300px" />

<p>自動表示の指定と、自動表示をした場合に、どこに表示させるかの設定があります。<br>
ボタンの表示位置、ボタンを出すページ出さないページの指定などが出来ます。
</p>
<img decoding="async" src="https://wapu-dou.com/wp-content/uploads/2022/08/ss_229_2-300x142.png" alt="" width="300" height="142" class="alignnone size-medium wp-image-237" srcset="https://wapu-dou.com/wp-content/uploads/2022/08/ss_229_2-300x142.png 300w, https://wapu-dou.com/wp-content/uploads/2022/08/ss_229_2.png 706w" sizes="(max-width: 300px) 100vw, 300px" />

<div class="voice clearfix left n_bottom"><div class="icon"><img decoding="async" src="https://wapu-dou.com/wp-content/uploads/2022/08/comment_icon1.png"><div class="name">わぷまる</div></div><div class="text sc_balloon left white" >自動表示をしない場合も&#091;wp_ulike&#093;のショートコードを使うと「いいねボタン」を表示出来るので、好きな場所に出したり、テンプレートのテーマ内に埋め込んで調整する事も出来ます。</div></div>

<h3>いいねされた数の表示</h3>
<p>左から、表示する、非表示にする、ログインしているユーザーだけに表示する設定です。</p>
<img decoding="async" src="https://wapu-dou.com/wp-content/uploads/2022/08/ss_229_3-300x35.png" alt="" width="300" height="35" class="alignnone size-medium wp-image-235" srcset="https://wapu-dou.com/wp-content/uploads/2022/08/ss_229_3-300x35.png 300w, https://wapu-dou.com/wp-content/uploads/2022/08/ss_229_3.png 560w" sizes="(max-width: 300px) 100vw, 300px" />

<p>いいねが０回の場合にカウンターを表示するかどうかの設定です。</p>
<img decoding="async" src="https://wapu-dou.com/wp-content/uploads/2022/08/ss_229_4-300x49.png" alt="" width="300" height="49" class="alignnone size-medium wp-image-236" srcset="https://wapu-dou.com/wp-content/uploads/2022/08/ss_229_4-300x49.png 300w, https://wapu-dou.com/wp-content/uploads/2022/08/ss_229_4.png 333w" sizes="(max-width: 300px) 100vw, 300px" />

<div class="together_post_block"><p class="together_post_block_title">あわせて読みたい</p><div class="together_post_flex_inner"><div class="together_post_img"><a href="https://wapu-dou.com/post/224/"><img decoding="async" src="https://wapu-dou.com/wp-content/uploads/2022/08/thumbnail_224.png"></a></div><div class="together_post_flex_text_inner"><p class="together_post_title"><a href="https://wapu-dou.com/post/224/">【いいねボタン】WP Ulikeでいいねされた数を一覧に表示する方法</a></p><time class="together_post_date" datatime="2022-08-25">2022年8月25日</time><a href="https://wapu-dou.com/post/tag/php/" class="together_tag">php</a><a href="https://wapu-dou.com/post/tag/plugin/" class="together_tag">プラグイン</a></div></div></div>		<div class="wpulike wpulike-animated-heart " ><div class="wp_ulike_general_class wp_ulike_is_not_liked"><button type="button"
					aria-label="いいねボタン"
					data-ulike-id="229"
					data-ulike-nonce="df27d613b7"
					data-ulike-type="post"
					data-ulike-template="wpulike-animated-heart"
					data-ulike-display-likers=""
					data-ulike-likers-style="popover"
					data-ulike-append="&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop one&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop two&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop three&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop four&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop five&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop six&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop seven&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop eight&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop nine&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;"
					class="wp_ulike_btn wp_ulike_put_image wp_post_btn_229"><svg class="wpulike-svg-heart wpulike-svg-heart-icon" viewBox="0 -28 512.00002 512" xmlns="http://www.w3.org/2000/svg"><path
						d="m471.382812 44.578125c-26.503906-28.746094-62.871093-44.578125-102.410156-44.578125-29.554687 0-56.621094 9.34375-80.449218 27.769531-12.023438 9.300781-22.917969 20.679688-32.523438 33.960938-9.601562-13.277344-20.5-24.660157-32.527344-33.960938-23.824218-18.425781-50.890625-27.769531-80.445312-27.769531-39.539063 0-75.910156 15.832031-102.414063 44.578125-26.1875 28.410156-40.613281 67.222656-40.613281 109.292969 0 43.300781 16.136719 82.9375 50.78125 124.742187 30.992188 37.394531 75.535156 75.355469 127.117188 119.3125 17.613281 15.011719 37.578124 32.027344 58.308593 50.152344 5.476563 4.796875 12.503907 7.4375 19.792969 7.4375 7.285156 0 14.316406-2.640625 19.785156-7.429687 20.730469-18.128907 40.707032-35.152344 58.328125-50.171876 51.574219-43.949218 96.117188-81.90625 127.109375-119.304687 34.644532-41.800781 50.777344-81.4375 50.777344-124.742187 0-42.066407-14.425781-80.878907-40.617188-109.289063zm0 0" /></svg></button><span class="count-box wp_ulike_counter_up" data-ulike-counter-value="+5"></span>			</div></div><p>The post <a href="https://wapu-dou.com/post/229/">【いいねボタン】プラグインで簡単！いいねボタンを設置する方法</a> first appeared on <a href="https://wapu-dou.com">わぷ道</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://wapu-dou.com/post/229/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【いいねボタン】WP Ulikeでいいねされた数を一覧に表示する方法</title>
		<link>https://wapu-dou.com/post/224/</link>
					<comments>https://wapu-dou.com/post/224/#respond</comments>
		
		<dc:creator><![CDATA[akkunday]]></dc:creator>
		<pubDate>Thu, 25 Aug 2022 14:12:47 +0000</pubDate>
				<category><![CDATA[ウェブ制作]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[プラグイン]]></category>
		<guid isPermaLink="false">https://wapu-dou.com/?p=224</guid>

					<description><![CDATA[<p>いいねボタンを設置する事が出来るプラグイン、「WP ULike」を使った際に、トップページやアーカイブページなど記事の外にも「いいね数」を表示させようとこちらの対応をしました。 いいね数の表示方法 今回はいいね数の表示と一緒に、いいね数の値…</p>
<p>The post <a href="https://wapu-dou.com/post/224/">【いいねボタン】WP Ulikeでいいねされた数を一覧に表示する方法</a> first appeared on <a href="https://wapu-dou.com">わぷ道</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>いいねボタンを設置する事が出来るプラグイン、「WP ULike」を使った際に、トップページやアーカイブページなど記事の外にも「いいね数」を表示させようとこちらの対応をしました。</p>

<h2>いいね数の表示方法</h2>
<p>今回はいいね数の表示と一緒に、いいね数の値に応じてクラスを付与する事で、たくさんいいねを押されてる記事を強調出来るように指定してみました。<br>
いいね数が100以下の時に「low_color」、101～200の時に「middle_color」、201以上の時には「high_color」と指定し、CSSでそれぞれに色指定をしています。
</p>

<h3>php</h3>
<pre class="line-numbers"><code class="language-php">&lt;?php
if(wp_ulike_get_post_likes($post-&gt;ID) &lt;= 100){
    $class_good = &quot;low_color&quot;;
}elseif(wp_ulike_get_post_likes($post-&gt;ID) &lt;= 200){
    $class_good = &quot;middle_color&quot;;
}elseif(wp_ulike_get_post_likes($post-&gt;ID) &gt;= 201){
    $class_good = &quot;high_color&quot;;
}
echo &#039;&lt;div class=&quot;good_count &#039;.$class_good.&#039;&quot;&gt;&#039;. wp_ulike_get_post_likes($post-&gt;ID) .&#039;&lt;/div&gt;&#039;;
?&gt;
</code></pre>

<div class="voice clearfix left n_bottom"><div class="icon"><img decoding="async" src="https://wapu-dou.com/wp-content/uploads/2022/08/comment_icon1.png"><div class="name">わぷまる</div></div><div class="text sc_balloon left white" >前半のif部分で100以下の場合、200以下の場合、201以上の場合を指定しているので、調整して使ってくださいね</div></div>

<h3>CSS</h3>
<pre class="line-numbers"><code class="language-css">.good_count:before{
    content:url(/wp-content/plugins/wp-ulike/assets/img/svg/like.svg);
}
.low_color{
    filter: invert(72%) sepia(26%) saturate(63%) hue-rotate(1deg) brightness(105%) contrast(102%);
}
.middle_color{
    filter: invert(72%) sepia(26%) saturate(6428%) hue-rotate(1deg) brightness(105%) contrast(102%);
}
.high_color{
    filter: invert(15%) sepia(95%) saturate(6932%) hue-rotate(358deg) brightness(95%) contrast(112%);
}
</code></pre>
<div class="voice clearfix right n_bottom"><div class="icon"><img decoding="async" src="https://wapu-dou.com/wp-content/uploads/2022/08/comment_icon1.png"><div class="name">わぷまる</div></div><div class="text sc_balloon right white" >CSSは、filterを使ってグッドアイコンと、いいね数に色を付けています<br>プラグインに元々入っているアイコンを使っているためこのような方法で対応していますが、お好みでアレンジしてみてくださいね</div></div>
<div class="reference_site_block">
<p class="reference_site_title">参考にしたサイト</p>
<a href="https://ja.wordpress.org/plugins/wp-ulike/" target="_blank" rel="noopener">https://ja.wordpress.org/plugins/wp-ulike/</a>
</div>
<div class="together_post_block"><p class="together_post_block_title">あわせて読みたい</p><div class="together_post_flex_inner"><div class="together_post_img"><a href="https://wapu-dou.com/post/229/"><img decoding="async" src="https://wapu-dou.com/wp-content/uploads/2022/08/thumbnail_229.png"></a></div><div class="together_post_flex_text_inner"><p class="together_post_title"><a href="https://wapu-dou.com/post/229/">【いいねボタン】プラグインで簡単！いいねボタンを設置する方法</a></p><time class="together_post_date" datatime="2022-08-27">2022年8月27日</time><a href="https://wapu-dou.com/post/tag/pickup/" class="together_tag">pickup</a><a href="https://wapu-dou.com/post/tag/plugin/" class="together_tag">プラグイン</a></div></div></div>		<div class="wpulike wpulike-animated-heart " ><div class="wp_ulike_general_class wp_ulike_is_not_liked"><button type="button"
					aria-label="いいねボタン"
					data-ulike-id="224"
					data-ulike-nonce="c4403fe694"
					data-ulike-type="post"
					data-ulike-template="wpulike-animated-heart"
					data-ulike-display-likers=""
					data-ulike-likers-style="popover"
					data-ulike-append="&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop one&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop two&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop three&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop four&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop five&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop six&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop seven&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop eight&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop nine&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;"
					class="wp_ulike_btn wp_ulike_put_image wp_post_btn_224"><svg class="wpulike-svg-heart wpulike-svg-heart-icon" viewBox="0 -28 512.00002 512" xmlns="http://www.w3.org/2000/svg"><path
						d="m471.382812 44.578125c-26.503906-28.746094-62.871093-44.578125-102.410156-44.578125-29.554687 0-56.621094 9.34375-80.449218 27.769531-12.023438 9.300781-22.917969 20.679688-32.523438 33.960938-9.601562-13.277344-20.5-24.660157-32.527344-33.960938-23.824218-18.425781-50.890625-27.769531-80.445312-27.769531-39.539063 0-75.910156 15.832031-102.414063 44.578125-26.1875 28.410156-40.613281 67.222656-40.613281 109.292969 0 43.300781 16.136719 82.9375 50.78125 124.742187 30.992188 37.394531 75.535156 75.355469 127.117188 119.3125 17.613281 15.011719 37.578124 32.027344 58.308593 50.152344 5.476563 4.796875 12.503907 7.4375 19.792969 7.4375 7.285156 0 14.316406-2.640625 19.785156-7.429687 20.730469-18.128907 40.707032-35.152344 58.328125-50.171876 51.574219-43.949218 96.117188-81.90625 127.109375-119.304687 34.644532-41.800781 50.777344-81.4375 50.777344-124.742187 0-42.066407-14.425781-80.878907-40.617188-109.289063zm0 0" /></svg></button><span class="count-box wp_ulike_counter_up" data-ulike-counter-value=""></span>			</div></div><p>The post <a href="https://wapu-dou.com/post/224/">【いいねボタン】WP Ulikeでいいねされた数を一覧に表示する方法</a> first appeared on <a href="https://wapu-dou.com">わぷ道</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://wapu-dou.com/post/224/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>ウィジェット活用プラグイン4選</title>
		<link>https://wapu-dou.com/post/183/</link>
					<comments>https://wapu-dou.com/post/183/#respond</comments>
		
		<dc:creator><![CDATA[akkunday]]></dc:creator>
		<pubDate>Wed, 17 Aug 2022 14:02:11 +0000</pubDate>
				<category><![CDATA[ウェブ制作]]></category>
		<category><![CDATA[pickup]]></category>
		<category><![CDATA[プラグイン]]></category>
		<guid isPermaLink="false">https://wapu-dou.com/?p=183</guid>

					<description><![CDATA[<p>ウィジェットとは ウィジェットとは、WordPressのテーマごとに用意されたサイト内のブロックを簡単に表示、非表示、並び替えたり出来る仕組みです。 基本的なWordPressサイトのレイアウトは「ヘッダー」、「ボディ」、「サイドバー」、「…</p>
<p>The post <a href="https://wapu-dou.com/post/183/">ウィジェット活用プラグイン4選</a> first appeared on <a href="https://wapu-dou.com">わぷ道</a>.</p>]]></description>
										<content:encoded><![CDATA[<h2>ウィジェットとは</h2>
<p>ウィジェットとは、WordPressのテーマごとに用意されたサイト内のブロックを簡単に表示、非表示、並び替えたり出来る仕組みです。<br>
基本的なWordPressサイトのレイアウトは「ヘッダー」、「ボディ」、「サイドバー」、「フッター」というパーツ構成で成り立っています。<br>
それらのパーツの中にウィジェットエリアと言うブロックが用意され、その中に共通で表示させたいブロックや広告などを入れる事で簡単に管理できる仕組みになっています。
</p>
<h2>すぐに使える便利ウィジェットプラグイン</h2>
<h3>DD Last Viewed</h3>
<p>このプラグインはウィジェットに追加するだけで、最近見た記事の一覧表示が出来ます。<br>
最新何件表示するか、投稿ページの他に固定ページ等も表示するか、表示から除外したいページのIDを指定するかの簡単な指定だけをウィジェット上で行って使うのでとても簡単に利用できます。
</p>
<div class="reference_site_block">
<p class="reference_site_title">参考にしたサイト</p>
<a href="https://wordpress.org/plugins/dd-lastviewed/" target="_blank" rel="noopener">https://wordpress.org/plugins/dd-lastviewed/</a>
</div>

<h3>WordPress Popular Posts</h3>
<p>Popular Posts(人気の投稿)、と名前の通りです。<br>
サイト内でよく見られてる記事を人気順に、指定の個数、指定のカテゴリ、指定した期間等詳細な設定をした上で一覧をウィジェット表示させられます。<br>
簡単な割に細かい設定まで出来るので、カテゴリーページ毎に違う指定をさせたりも面白いかもですね。
</p>
<div class="reference_site_block">
<p class="reference_site_title">参考にしたサイト</p>
<a href="https://wordpress.org/plugins/wordpress-popular-posts/" target="_blank" rel="noopener">https://wordpress.org/plugins/wordpress-popular-posts/</a>
</div>

<h3>Advanced Random Posts Widget</h3>
<p>このプラグインを使うとウィジェットエリアにランダムの記事を表示させられます。<br>
人気の記事も見てもらいたいけど、あまり目に留まらないような記事にも目を向けてもらうと言った意味ではランダム表示も使い方次第では良いですね。
</p>
<div class="reference_site_block">
<p class="reference_site_title">参考にしたサイト</p>
<a href="https://wordpress.org/plugins/advanced-random-posts-widget/" target="_blank" rel="noopener">https://wordpress.org/plugins/advanced-random-posts-widget/</a>
</div>

<h3>Ajax Search Lite</h3>
<p>通常のWordPressの検索機能では、検索ボタンを押した後にアーカイブページに表示される形ですが、このプラグインを使えば別ページに遷移させずにその場で入力したテキストに沿った検索結果を表示させることが出来ます。</p>
<div class="reference_site_block">
<p class="reference_site_title">参考にしたサイト</p>
<a href="https://wordpress.org/plugins/ajax-search-lite/" target="_blank" rel="noopener">https://wordpress.org/plugins/ajax-search-lite/</a>
</div>
		<div class="wpulike wpulike-animated-heart " ><div class="wp_ulike_general_class wp_ulike_is_not_liked"><button type="button"
					aria-label="いいねボタン"
					data-ulike-id="183"
					data-ulike-nonce="5fbf67624f"
					data-ulike-type="post"
					data-ulike-template="wpulike-animated-heart"
					data-ulike-display-likers=""
					data-ulike-likers-style="popover"
					data-ulike-append="&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop one&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop two&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop three&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop four&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop five&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop six&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop seven&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop eight&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;&lt;svg class=&quot;wpulike-svg-heart wpulike-svg-heart-pop nine&quot; viewBox=&quot;0 0 32 29.6&quot;&gt;&lt;path d=&quot;M23.6,0c-3.4,0-6.3,2.7-7.6,5.6C14.7,2.7,11.8,0,8.4,0C3.8,0,0,3.8,0,8.4c0,9.4,9.5,11.9,16,21.2c6.1-9.3,16-12.1,16-21.2C32,3.8,28.2,0,23.6,0z&quot;/&gt;&lt;/svg&gt;"
					class="wp_ulike_btn wp_ulike_put_image wp_post_btn_183"><svg class="wpulike-svg-heart wpulike-svg-heart-icon" viewBox="0 -28 512.00002 512" xmlns="http://www.w3.org/2000/svg"><path
						d="m471.382812 44.578125c-26.503906-28.746094-62.871093-44.578125-102.410156-44.578125-29.554687 0-56.621094 9.34375-80.449218 27.769531-12.023438 9.300781-22.917969 20.679688-32.523438 33.960938-9.601562-13.277344-20.5-24.660157-32.527344-33.960938-23.824218-18.425781-50.890625-27.769531-80.445312-27.769531-39.539063 0-75.910156 15.832031-102.414063 44.578125-26.1875 28.410156-40.613281 67.222656-40.613281 109.292969 0 43.300781 16.136719 82.9375 50.78125 124.742187 30.992188 37.394531 75.535156 75.355469 127.117188 119.3125 17.613281 15.011719 37.578124 32.027344 58.308593 50.152344 5.476563 4.796875 12.503907 7.4375 19.792969 7.4375 7.285156 0 14.316406-2.640625 19.785156-7.429687 20.730469-18.128907 40.707032-35.152344 58.328125-50.171876 51.574219-43.949218 96.117188-81.90625 127.109375-119.304687 34.644532-41.800781 50.777344-81.4375 50.777344-124.742187 0-42.066407-14.425781-80.878907-40.617188-109.289063zm0 0" /></svg></button><span class="count-box wp_ulike_counter_up" data-ulike-counter-value=""></span>			</div></div><p>The post <a href="https://wapu-dou.com/post/183/">ウィジェット活用プラグイン4選</a> first appeared on <a href="https://wapu-dou.com">わぷ道</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://wapu-dou.com/post/183/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
