<?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>ルクセリタス | gungiiのなるほどHack&amp;Tips</title>
	<atom:link href="https://gungii.com/tag/%E3%83%AB%E3%82%AF%E3%82%BB%E3%83%AA%E3%82%BF%E3%82%B9/feed/" rel="self" type="application/rss+xml" />
	<link>https://gungii.com</link>
	<description>「なるほど」と納得できる経験(実例)と知識(手順)を提供します。</description>
	<lastBuildDate>Tue, 23 Jul 2024 07:29:06 +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://gungii.com/wp/wp-content/uploads/2022/02/cropped-favicon-32x32.png</url>
	<title>ルクセリタス | gungiiのなるほどHack&amp;Tips</title>
	<link>https://gungii.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>【WordPressテーマLuxeritas】1カラムのLPを作る方法</title>
		<link>https://gungii.com/slpjh-info/</link>
		
		<dc:creator><![CDATA[gungii]]></dc:creator>
		<pubDate>Fri, 15 Oct 2021 06:39:45 +0000</pubDate>
				<category><![CDATA[WordPressのテーマ]]></category>
		<category><![CDATA[LP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[ランディングページ]]></category>
		<category><![CDATA[ルクセリタス]]></category>
		<guid isPermaLink="false">https://gungii.com/?p=15534</guid>

					<description><![CDATA[会社で使う評価シートが、どこかの会社のコピーを使っていて、評価項目があわなかったり、評価の定義や計算式を確認しても誰もわからない状況だった為、自分で作成し運用していました。その運用していた「人事評価シート」を、ココナラと [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>会社で使う評価シートが、どこかの会社のコピーを使っていて、評価項目があわなかったり、評価の定義や計算式を確認しても誰もわからない状況だった為、自分で作成し運用していました。その運用していた「人事評価シート」を、ココナラとSTORESでダウンロード販売しています。そこで、この「人事評価シート」の販売LPを作ってみました。前回、「有給休暇管理表」の販売LPをCocoonでつくりましたので、今回はルクセリタスで作ってみました。</p>



<p>[ 完成イメージ ]</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="436" height="719" src="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh01.jpg" alt="WordPress luxeritas 1カラム lp完成イメージ" class="wp-image-15536" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh01.jpg 436w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh01-300x495.jpg 300w" sizes="(max-width: 436px) 100vw, 436px" /></figure>



<div class="wp-block-cocoon-blocks-blogcard blogcard-type bct-none">

<a rel="noopener" target="_blank" href="https://gungii.site/jinjihsheet/" title="404 NOT FOUND | IT大好きシニアのリタ活生活" class="blogcard-wrap external-blogcard-wrap a-wrap cf"><div class="blogcard external-blogcard eb-left cf"><div class="blogcard-label external-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail external-blogcard-thumbnail"><img decoding="async" src="https://gungii.com/wp/wp-content/uploads/cocoon-resources/blog-card-cache/054e490e70113926707177c0ee2b0152.jpg" alt="" class="blogcard-thumb-image external-blogcard-thumb-image" width="160" height="90" /></figure><div class="blogcard-content external-blogcard-content"><div class="blogcard-title external-blogcard-title">404 NOT FOUND | IT大好きシニアのリタ活生活</div><div class="blogcard-snippet external-blogcard-snippet">IT大好きシニアがリタイア後のライフスタイルを提案します。</div></div><div class="blogcard-footer external-blogcard-footer cf"><div class="blogcard-site external-blogcard-site"><div class="blogcard-favicon external-blogcard-favicon"><img decoding="async" src="https://www.google.com/s2/favicons?domain=https://gungii.site/jinjihsheet/" alt="" class="blogcard-favicon-image external-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain external-blogcard-domain">gungii.site</div></div></div></div></a>
</div>




  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-2" checked><label class="toc-title" for="toc-checkbox-2">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">固定ページの作成</a><ol><li><a href="#toc2" tabindex="0">固定ページの新規作成</a></li></ol></li><li><a href="#toc3" tabindex="0">CSSの変更</a><ol><li><a href="#toc4" tabindex="0">固定ページの編集</a></li></ol></li><li><a href="#toc5" tabindex="0">テンプレートの適用</a><ol><li><a href="#toc6" tabindex="0">テンプレートファイルの作成</a></li><li><a href="#toc7" tabindex="0">固定ページの編集</a></li><li><a href="#toc8" tabindex="0">パーマリンクの変更</a></li></ol></li></ol>
    </div>
  </div>

<h2 class="wp-block-heading" id="固定ページの作成"><span id="toc1">固定ページの作成</span></h2>



<h3 class="wp-block-heading" id="固定ページの新規作成"><span id="toc2">固定ページの新規作成</span></h3>



<h4 class="wp-block-heading" id="新規追加-をクリック">「新規追加」をクリック</h4>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="326" height="70" src="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh02.jpg" alt="WordPress luxeritas 新規追加の管理画面" class="wp-image-15537" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh02.jpg 326w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh02-300x64.jpg 300w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh02-320x70.jpg 320w" sizes="(max-width: 326px) 100vw, 326px" /></figure>



<h4 class="wp-block-heading" id="タイトルの入力">タイトルの入力</h4>



<p>タイトルを入力して、下書き保存します。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="612" height="322" src="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh03.jpg" alt="WordPress luxeritas 固定ページのタイトル入力" class="wp-image-15538" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh03.jpg 612w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh03-500x263.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh03-300x158.jpg 300w" sizes="(max-width: 612px) 100vw, 612px" /></figure>



<h4 class="wp-block-heading" id="表示の確認">表示の確認</h4>



<p>当然ですが、タイトルやパンくずリスト、ヘッダー、フッター、サイドバーが表示されています。これらを非表示にしていきます。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="530" height="508" src="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh04.jpg" alt="WordPress luxeritas 固定ページの表示" class="wp-image-15539" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh04.jpg 530w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh04-500x479.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh04-300x288.jpg 300w" sizes="(max-width: 530px) 100vw, 530px" /></figure>



<h2 class="wp-block-heading" id="cssの変更"><span id="toc3">CSSの変更</span></h2>



<h3 class="wp-block-heading" id="固定ページの編集"><span id="toc4">固定ページの編集</span></h3>



<h4 class="wp-block-heading" id="固定ページのサイドバーを非表示とする">固定ページのサイドバーを非表示とする。</h4>



<p>固定ページの追加ヘッダーに以下のCSSを記述します。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="585" height="247" src="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh11.jpg" alt="WordPress luxeritas 記述したCSS" class="wp-image-15540" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh11.jpg 585w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh11-500x211.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh11-300x127.jpg 300w" sizes="(max-width: 585px) 100vw, 585px" /></figure>



<h4 class="wp-block-heading" id="サイトの確認">サイトの確認</h4>



<p>保存して、プレビューすると、以下のように表示されます。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="509" height="368" src="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh12.jpg" alt="WordPress luxeritas サイドバーが非表示となった固定ページ" class="wp-image-15541" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh12.jpg 509w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh12-500x361.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh12-300x217.jpg 300w" sizes="(max-width: 509px) 100vw, 509px" /></figure>



<p>1カラムとなり、サイドーバーが表示されなくなりました。</p>



<h4 class="wp-block-heading" id="固定ページから不要な表示を消す">固定ページから不要な表示を消す。</h4>



<p>ヘッダー画像、タイトル、パンくずリスト、メニューバーを非表示とします。但し、フッターについては、ここでは削除できませんので、テンプレートファイルを作成することで対応します。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="460" height="518" src="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh13.jpg" alt="wordPress luxeritas 記述したその他のCSS" class="wp-image-15542" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh13.jpg 460w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh13-300x338.jpg 300w" sizes="(max-width: 460px) 100vw, 460px" /></figure>



<h4 class="wp-block-heading" id="サイトの確認">サイトの確認</h4>



<p>ヘッダー画像、タイトル、パンくずリスト、メニューバーが非表示となりました。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="509" height="218" src="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh14.jpg" alt="WordPress luxeritas その他が非表示となった固定ページ" class="wp-image-15543" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh14.jpg 509w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh14-500x214.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh14-300x128.jpg 300w" sizes="(max-width: 509px) 100vw, 509px" /></figure>



<h2 class="wp-block-heading" id="テンプレートの適用"><span id="toc5">テンプレートの適用</span></h2>



<h3 class="wp-block-heading" id="テンプレートファイルの作成"><span id="toc6">テンプレートファイルの作成</span></h3>



<p>WordPress&nbsp;の公式オンラインマニュアル(Codex)に記載ある通り固定ページの表示順番は、カスタムテンプレートの後にpage.phpが読み込まれますので、カスタムテンプレートを作成して、カスタムテンプレートでフッターを非表示とします。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="581" height="120" src="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh21.jpg" alt="WordPressの公式マニュアル" class="wp-image-15544" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh21.jpg 581w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh21-500x103.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh21-300x62.jpg 300w" sizes="(max-width: 581px) 100vw, 581px" /></figure>



<h4 class="wp-block-heading" id="page-phpのダウンロード">page.phpのダウンロード</h4>



<p>カスタムテンプレートファイルは、page.phpを変更して作成しますので、ダウンロードします。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="573" height="348" src="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh22.jpg" alt="page.phpのFTP画面" class="wp-image-15545" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh22.jpg 573w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh22-500x304.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh22-300x182.jpg 300w" sizes="(max-width: 573px) 100vw, 573px" /></figure>



<h4 class="wp-block-heading" id="ファイル名の変更">ファイル名の変更</h4>



<p>ここでは、「page.php」を「1column.php」に変更します。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="108" height="114" src="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh23.jpg" alt="ファイル名を変更したダウンロードファイル" class="wp-image-15546"/></figure>



<h4 class="wp-block-heading" id="1column-phpの変更">1column.phpの変更</h4>



<p>まず、テンプレートとして認識させる為に、テンプレート変更します。ここでは、Template Nameを「1カラム」とします。<br>注意:エディターは、VSC(ビジュアルスタジオコード)を使用しています。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="543" height="351" src="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh24.jpg" alt="TemplateNameを変更したCSS" class="wp-image-15547" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh24.jpg 543w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh24-500x323.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh24-300x194.jpg 300w" sizes="(max-width: 543px) 100vw, 543px" /></figure>



<p>つぎに、サイドバーとフッターを呼び込んでいる箇所をコメントアウトします。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="550" height="267" src="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh25.jpg" alt="サイドバー等を変更したソース" class="wp-image-15548" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh25.jpg 550w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh25-500x243.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh25-300x146.jpg 300w" sizes="(max-width: 550px) 100vw, 550px" /></figure>



<h4 class="wp-block-heading" id="サーバーへupload">サーバーへUPLOAD</h4>



<p>内容を変更した1column.phpをサーバーにUPLOADします。<br>※ダウンロードしたpage.phpと同じ階層へアップロードします。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="573" height="348" src="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh26.jpg" alt="1column.phpをアップロードするFTP画面" class="wp-image-15549" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh26.jpg 573w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh26-500x304.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh26-300x182.jpg 300w" sizes="(max-width: 573px) 100vw, 573px" /></figure>



<h3 class="wp-block-heading" id="固定ページの編集"><span id="toc7">固定ページの編集</span></h3>



<h3 class="wp-block-heading" id="パーマリンクの変更"><span id="toc8">パーマリンクの変更</span></h3>



<p>日本語は、英数字に変えておきます。<br>注意:これは、LPの作成方法とは何らの関係もありませんので、変更しなくとも良いてす。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="563" height="187" src="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh31.jpg" alt="パーマリンクの変更画面" class="wp-image-15550" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh31.jpg 563w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh31-500x166.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh31-300x100.jpg 300w" sizes="(max-width: 563px) 100vw, 563px" /></figure>



<h4 class="wp-block-heading" id="テンプレートの選択">テンプレートの選択</h4>



<p>1column.phpで、「Template Name: 1カラム」と記述したテンプレートを選択します。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="614" height="544" src="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh32.jpg" alt="WordPress luxeritas テンプレートを選択した固定ページ" class="wp-image-15551" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh32.jpg 614w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh32-500x443.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh32-300x266.jpg 300w" sizes="(max-width: 614px) 100vw, 614px" /></figure>



<h4 class="wp-block-heading" id="追加ヘッダーの修正">追加ヘッダーの修正</h4>



<p>サイドバーの非表示は、「1column.php」で、読み込まない様にした為、追加ヘッダーに記載したCSSは、サイドバーの箇所は削除します。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="569" height="386" src="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh33.jpg" alt="WordPress luxeritas サイドバーの非表示を削除した追加ヘダーのCSS" class="wp-image-15552" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh33.jpg 569w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh33-500x339.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh33-300x204.jpg 300w" sizes="(max-width: 569px) 100vw, 569px" /></figure>



<p>最終的には、追加ヘッダーの設定は以下の通りです。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="566" height="268" src="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh34.jpg" alt="WordPress luxeritas 追加ヘッダー記載の最終CSS" class="wp-image-15553" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh34.jpg 566w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh34-500x237.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh34-300x142.jpg 300w" sizes="(max-width: 566px) 100vw, 566px" /></figure>



<h4 class="wp-block-heading" id="サイトの確認">サイトの確認</h4>



<p>サイトを確認すると、LP用の何もないページとなりました。完成です。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="558" height="193" src="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh35.jpg" alt="WordPress luxeritas 完成した何もない固定ページ" class="wp-image-15554" srcset="https://gungii.com/wp/wp-content/uploads/2021/10/slpjh35.jpg 558w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh35-500x173.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/10/slpjh35-300x104.jpg 300w" sizes="(max-width: 558px) 100vw, 558px" /></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>「使用していないJavaScriptの削除」で、サイトスピードが劇的改善した。</title>
		<link>https://gungii.com/flying-info/</link>
		
		<dc:creator><![CDATA[gungii]]></dc:creator>
		<pubDate>Mon, 13 Sep 2021 01:12:09 +0000</pubDate>
				<category><![CDATA[WordPressのプラグイン]]></category>
		<category><![CDATA[javascriptの削減]]></category>
		<category><![CDATA[べージの表示速度]]></category>
		<category><![CDATA[ルクセリタス]]></category>
		<guid isPermaLink="false">https://gungii.com/?p=12703</guid>

					<description><![CDATA[PageSpeed Insightsは、モバイル、PCそれぞれのWebページの読み込み速度をスコアリングして、改善ポイントを分析してくれるツールです。Googleが提供しており、URLを入力するだけで無料でWebサイトの [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>PageSpeed Insightsは、モバイル、PCそれぞれのWebページの読み込み速度をスコアリングして、改善ポイントを分析してくれるツールです。Googleが提供しており、URLを入力するだけで無料でWebサイトのページ読み込み速度や改善ポイントが分析されます。PageSpeed Insightsへの対応は検索エンジンの指標に対する最適化でもあるため、SEOに効果があり、Googleも検索順位付け要素にページスピードを組み込んでいると言われています。但し、ページの表示速度はランキング要因の１つに過ぎないので、PageSpeed Insightsの点数が仮に100点でも、1位になるとは限りません。また、PageSpeed Insightsも含めた「パフォーマンス測定ツール」は、ネットワークやサーバー・クライアントの負荷に応じて、分析結果が変動しますので、1回の計測だけでパフォーマンスを評価することはできません。正しく結果を評価するには、何回か計測を行い、その中で最良の点数を使うというのが良いようです。<br>今回、PaeSpeed Insightで表示された「改善できる項目」の内、「使用していないJavaScriptsの削減」について、良いプラグインがありましたので、実際に使ってみて効果がありましたので、ご紹介します。</p>




  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-4" checked><label class="toc-title" for="toc-checkbox-4">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">サイトスピードが遅い</a><ol><li><a href="#toc2" tabindex="0">PageSpeed Insightsのスコア</a></li><li><a href="#toc3" tabindex="0">PageSpeed Insightsの「改善できる項目」</a></li></ol></li><li><a href="#toc4" tabindex="0">サイトスピードの改善</a><ol><li><a href="#toc5" tabindex="0">改善策:「適切なサイズの画像」</a></li><li><a href="#toc6" tabindex="0">改善策:「使用していないJavaScriptの削除」</a></li><li><a href="#toc7" tabindex="0">PageSpeed Insightの再計測</a></li><li><a href="#toc8" tabindex="0">サイトのスピード改善の評価</a></li></ol></li></ol>
    </div>
  </div>

<h2 class="wp-block-heading"><span id="toc1">サイトスピードが遅い</span></h2>



<h3 class="wp-block-heading"><span id="toc2">PageSpeed Insightsのスコア</span></h3>



<p>今回、計測したのは、次の環境です。</p>



<ul class="wp-block-list">
<li>WordPress:V5.8</li>



<li>WordPressテーマ:ルクセリタスV3.20.1</li>
</ul>



<h4 class="wp-block-heading">モバイル</h4>



<p>モバイルは、明らかにスコアがアップしています。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="644" height="244" src="https://gungii.com/wp/wp-content/uploads/2021/09/flying01.jpg" alt="" class="wp-image-12705" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/flying01.jpg 644w, https://gungii.com/wp/wp-content/uploads/2021/09/flying01-500x189.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/flying01-300x114.jpg 300w" sizes="(max-width: 644px) 100vw, 644px" /></figure>



<h4 class="wp-block-heading">パソコン</h4>



<p>パソコンもアップしています。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="647" height="248" src="https://gungii.com/wp/wp-content/uploads/2021/09/flying02-1.jpg" alt="" class="wp-image-12707" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/flying02-1.jpg 647w, https://gungii.com/wp/wp-content/uploads/2021/09/flying02-1-500x192.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/flying02-1-300x115.jpg 300w" sizes="(max-width: 647px) 100vw, 647px" /></figure>



<p>注意:<br>gungii.siteは、まだアドセンス広告を表示していませんので、表示させると大幅に評価は下がると思います。逆に言えば、アドセンスがなければ、100点も可能という事です。</p>



<h3 class="wp-block-heading"><span id="toc3">PageSpeed Insightsの「改善できる項目」</span></h3>



<p>改善できる項目としてトップに挙がっているのが「使用していないJavaScriptの削除」です。詳細を見ると、「recaptcha__ja.js」や、「adsbygoogle.js」とあります。いづれもgoogleに関連するもので、reCAPTCHAやAdSenseを止めてしまえば良いのですが、スパムメールを防ぐ為であり、アドセンス収入確保の為であり、やめる訳にはいきません。</p>



<h4 class="wp-block-heading">モバイル</h4>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="607" height="731" src="https://gungii.com/wp/wp-content/uploads/2021/09/flying03.jpg" alt="" class="wp-image-12708" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/flying03.jpg 607w, https://gungii.com/wp/wp-content/uploads/2021/09/flying03-500x602.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/flying03-300x361.jpg 300w" sizes="(max-width: 607px) 100vw, 607px" /></figure>



<h4 class="wp-block-heading">パソコン</h4>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="627" height="861" src="https://gungii.com/wp/wp-content/uploads/2021/09/flying04.jpg" alt="" class="wp-image-12709" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/flying04.jpg 627w, https://gungii.com/wp/wp-content/uploads/2021/09/flying04-500x687.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/flying04-300x412.jpg 300w" sizes="(max-width: 627px) 100vw, 627px" /></figure>



<h2 class="wp-block-heading"><span id="toc4">サイトスピードの改善</span></h2>



<p>改善できる項目としてトップに挙がっているのが「使用していないJavaScriptの削除」です。そして次に素人でも取り組めそうなのが「適切なサイズの画像」です。</p>



<h3 class="wp-block-heading"><span id="toc5">改善策:「適切なサイズの画像」</span></h3>



<p>Googleが開発した画像圧縮アプリ「Squoosh」で、画像サイズを削減します。Squooshで削減した画像をアップすることで、さらにWebp(ウェッピー)と言うGoogleが開発した高圧縮率の次世代の静止画フォーマットに変換します。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="475" height="473" src="https://gungii.com/wp/wp-content/uploads/2021/09/flying11.jpg" alt="" class="wp-image-12710" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/flying11.jpg 475w, https://gungii.com/wp/wp-content/uploads/2021/09/flying11-300x299.jpg 300w, https://gungii.com/wp/wp-content/uploads/2021/09/flying11-150x150.jpg 150w, https://gungii.com/wp/wp-content/uploads/2021/09/flying11-100x100.jpg 100w" sizes="(max-width: 475px) 100vw, 475px" /></figure>



<h3 class="wp-block-heading"><span id="toc6">改善策:「使用していないJavaScriptの削除」</span></h3>



<p>こちらは、素人では難しい為、プラグインを使用して削除します。「Flying Scripts by WP Speed Matters」というプラグインをインストールします。<br>ユーザーが何等かの操作(マウスホバーやスクロール等)を起こすまでJavaScriptの実行を遅らせるというプラグインです。そして、ユーザーが何もしなくても指定した時間が経過するとJavaScriptが実行されるので、遅延時間をあまりに伸ばさない限りは、画面表示が崩れるようなことは起こる可能性は低いようです。</p>



<h4 class="wp-block-heading">インストール</h4>



<p>インストールして有効化します。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="593" height="445" src="https://gungii.com/wp/wp-content/uploads/2021/09/flying12-1.jpg" alt="" class="wp-image-12712" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/flying12-1.jpg 593w, https://gungii.com/wp/wp-content/uploads/2021/09/flying12-1-500x375.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/flying12-1-300x225.jpg 300w" sizes="(max-width: 593px) 100vw, 593px" /></figure>



<h4 class="wp-block-heading">「Flying Scripts by WP Speed Matters」の設定</h4>



<h5 class="wp-block-heading">Flying Scripts」の起動</h5>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="628" height="262" src="https://gungii.com/wp/wp-content/uploads/2021/09/flying13.jpg" alt="" class="wp-image-12713" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/flying13.jpg 628w, https://gungii.com/wp/wp-content/uploads/2021/09/flying13-500x209.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/flying13-300x125.jpg 300w" sizes="(max-width: 628px) 100vw, 628px" /></figure>



<h4 class="wp-block-heading">Javascriptの登録</h4>



<p>設定画面が表示されますので、「Include Keywords」欄にJavaScriptを登録します。<br>注意:Pagespeed Insightの「使用していないJavaScript」を登録します。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="541" height="780" src="https://gungii.com/wp/wp-content/uploads/2021/09/flying14.jpg" alt="" class="wp-image-12714" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/flying14.jpg 541w, https://gungii.com/wp/wp-content/uploads/2021/09/flying14-500x721.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/flying14-300x433.jpg 300w" sizes="(max-width: 541px) 100vw, 541px" /></figure>



<p>※Timeoutは2秒。何もしないで2秒経過するとJavascriptが稼働します。</p>



<h3 class="wp-block-heading"><span id="toc7">PageSpeed Insightの再計測</span></h3>



<h4 class="wp-block-heading">「適切なサイズの画像」</h4>



<p>再度、計測すると「改善できる項目」から「適切なサイズの画像」はなくなりました。(0.45Sが無くなりました。)</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="555" height="132" src="https://gungii.com/wp/wp-content/uploads/2021/09/flying15.jpg" alt="" class="wp-image-12715" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/flying15.jpg 555w, https://gungii.com/wp/wp-content/uploads/2021/09/flying15-500x119.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/flying15-300x71.jpg 300w" sizes="(max-width: 555px) 100vw, 555px" /></figure>



<h4 class="wp-block-heading">「使用していないJavaScriptの削除」</h4>



<p>登録したJavaScriptが全て消えたわけでなく、消えていないものもあります。ただ、これは2秒後にはJavaScriptが稼働するため、PageSpeed Insightで計測する時点では稼働している為、消えてないように見えるのかも知れません。このへんのところは、知識がない為、全くわかりません。が、スコアは上がってします。(0.46Sが、0.32S)</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="444" height="487" src="https://gungii.com/wp/wp-content/uploads/2021/09/flying16.jpg" alt="" class="wp-image-12716" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/flying16.jpg 444w, https://gungii.com/wp/wp-content/uploads/2021/09/flying16-300x329.jpg 300w" sizes="(max-width: 444px) 100vw, 444px" /></figure>



<h3 class="wp-block-heading"><span id="toc8">サイトのスピード改善の評価</span></h3>



<p>サイトのスピードアップ対策は、必要ですが、それぞれの環境によっても異なり、原因は複雑な為、常に同じ結果となることはありません。今回、WordPressのテーマ「ルクセリタス」を使って、「PageSpeed Insight」で表示された゛改善できる項目゛の一部「適切なサイズの画像」については、画像を圧縮して、「使用していないJavaScriptの削減」については、プラグインを使うことで、大きな改善をすることができました。但し、アドセンス広告がない状態なので、アドセンス広告を貼って、どのくらいのスコアとなるか?です。そして、WordPressのテーマ「Cocoon」で同様の対策を行ってみましたが、「ルクセリタス」ほどの大きな改善は見られましたが、以下のような改善となりました。(こちらは、アドセンス広告付きです。)</p>



<p>[ 計測環境 ]</p>



<ul class="wp-block-list">
<li>WordPress:V5.8</li>



<li>WordPressテーマ:CocoonV2.3.5.1</li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="631" height="338" src="https://gungii.com/wp/wp-content/uploads/2021/09/flying17.jpg" alt="" class="wp-image-12717" srcset="https://gungii.com/wp/wp-content/uploads/2021/09/flying17.jpg 631w, https://gungii.com/wp/wp-content/uploads/2021/09/flying17-500x268.jpg 500w, https://gungii.com/wp/wp-content/uploads/2021/09/flying17-300x161.jpg 300w" sizes="(max-width: 631px) 100vw, 631px" /></figure>



<p></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
