<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule" >
  <channel>
  <title>ぼうびろく</title>
  <link>https://noanoa.bangofan.com/</link>
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="https://noanoa.bangofan.com/RSS/" />
  <description></description>
  <lastBuildDate>Tue, 03 Jun 2025 05:37:54 GMT</lastBuildDate>
  <language>ja</language>
  <copyright>© Ninja Tools Inc.</copyright>
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" />

    <item>
    <title>WP4.5.2で今までのスムーススクロールが効かなくなる</title>
    <description>
    <![CDATA[http://moralhazard.jp/2016/03/25/wp-error-jquery112/<br />
https://xakuro.com/blog/javascript/321<br />
<br />
<br />
これをコピペする<br />
アコーディオンパネルやタブ等の、ページ内リンクとのバッティグも防いでると思う<br />
ありがたい！！<br />
<br />
&lt;script type="text/javascript"&gt;<br />
(function($){<br />
&nbsp;<br />
jQuery(function() {<br />
jQuery('a[href^="#"]:not([href$="#"])').click(function() {<br />
var href = $(this).attr('href');<br />
var pos = $(href).offset().top;<br />
var duration = 200;<br />
jQuery('body, html').animate({ scrollTop: pos }, duration, 'swing');<br />
return false;<br />
});<br />
});<br />
&nbsp;<br />
})(jQuery);<br />
&lt;/script&gt;]]>
    </description>
    <category>WordPress</category>
    <link>https://noanoa.bangofan.com/wp/wp4.5.2%E3%81%A7%E4%BB%8A%E3%81%BE%E3%81%A7%E3%81%AE%E3%82%B9%E3%83%A0%E3%83%BC%E3%82%B9%E3%82%B9%E3%82%AF%E3%83%AD%E3%83%BC%E3%83%AB%E3%81%8C%E5%8A%B9%E3%81%8B%E3%81%AA%E3%81%8F%E3%81%AA%E3%82%8B</link>
    <pubDate>Wed, 31 Jul 2030 16:46:51 GMT</pubDate>
    <guid isPermaLink="false">noanoa.bangofan.com://entry/206</guid>
  </item>
    <item>
    <title>CF7のWAF有効化によるエラーについて</title>
    <description>
    <![CDATA[<p>https://carna.style/contactform7-waf/<br />
<br />
</p>
<blockquote>
<p style="box-sizing: border-box; margin: 0px 0px 10px; padding: 0px; color: #333333; font-family: メイリオ, Meiryo, arial, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 游ゴシック体, 'Yu Gothic', YuGothic, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif; font-size: 16px; letter-spacing: 0.1px;">最初のブロックされた画面から何となく予想はついていたけど、一先ず原因がわかって安心。</p>
<p style="box-sizing: border-box; margin: 0px 0px 10px; padding: 0px; color: #333333; font-family: メイリオ, Meiryo, arial, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 游ゴシック体, 'Yu Gothic', YuGothic, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif; font-size: 16px; letter-spacing: 0.1px;">編集や更新するときにだけ設定をON&rarr;OFFにするか、そもそも　Subject:　なんて言葉を本文に入れなければ良い。Subject:（コロン）に反応するので、:（コロン）を全角にする、消すで解決します。</p>
</blockquote>
<p>お願いしても解除してくれなかったくそがよ<br />
ここに引っかかる原因は「:」だとかいてあった<br />
たしかにCF7編集画面内にscriptコード入れていて「:」があった<br />
scriptを消したら保存できた！ありがてええええええええええええ</p>]]>
    </description>
    <category>WP用プラグイン</category>
    <link>https://noanoa.bangofan.com/wp%E7%94%A8%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3/cf7%E3%81%AEwaf%E6%9C%89%E5%8A%B9%E5%8C%96%E3%81%AB%E3%82%88%E3%82%8B%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6</link>
    <pubDate>Tue, 03 Jun 2025 05:37:54 GMT</pubDate>
    <guid isPermaLink="false">noanoa.bangofan.com://entry/372</guid>
  </item>
    <item>
    <title>タクソノミーアーカイブページで管理画面の順番通りにする</title>
    <description>
    <![CDATA[<br />
https://web.studio-nanntoca.com/wordpress/847<br />
ありがたいコードを引用<br />

<div>&nbsp;functions.phpにかく</div>
<div></div>
<div></div>
<div>function cat_products_sort_order($query)</div>
<div>{</div>
<div>&nbsp; &nbsp; if (is_admin() || !$query-&gt;is_main_query()) {</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; return;</div>
<div>&nbsp; &nbsp; }</div>
<div>&nbsp; &nbsp; if ($query-&gt;is_tax('<span style="color: #ff6600;"><strong>cat_products</strong></span>')) {</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; $query-&gt;set('orderby', 'menu_order');</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; $query-&gt;set('order', 'ASC');</div>
<div>&nbsp; &nbsp; }</div>
<div>}</div>
<div>add_action('pre_get_posts', 'cat_products_sort_order');</div>
<div></div>]]>
    </description>
    <category>未選択</category>
    <link>https://noanoa.bangofan.com/%E6%9C%AA%E9%81%B8%E6%8A%9E/%E3%82%BF%E3%82%AF%E3%82%BD%E3%83%8E%E3%83%9F%E3%83%BC%E3%82%A2%E3%83%BC%E3%82%AB%E3%82%A4%E3%83%96%E3%83%9A%E3%83%BC%E3%82%B8%E3%81%A7%E7%AE%A1%E7%90%86%E7%94%BB%E9%9D%A2%E3%81%AE%E9%A0%86%E7%95%AA%E9%80%9A%E3%82%8A%E3%81%AB%E3%81%99%E3%82%8B</link>
    <pubDate>Tue, 28 Jan 2025 02:01:38 GMT</pubDate>
    <guid isPermaLink="false">noanoa.bangofan.com://entry/371</guid>
  </item>
    <item>
    <title>cf7 LPコピペ用コード</title>
    <description>
    <![CDATA[&lt;table class="cf7"&gt;<br />
&nbsp; &lt;tr&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;th&gt;社名&lt;/th&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;td&gt;[text your-company] &lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&nbsp; &lt;tr&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;th&gt;担当者名&lt;/th&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;td&gt;[text your-name akismet:author class:small] &lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&nbsp; &lt;tr&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;th&gt;業種&lt;/th&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;td&gt;[text your-gyoushu class:small] &lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&nbsp; &lt;tr&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;th&gt;売上高&lt;/th&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;td&gt;[text your-uriage class:small] 万円&lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&nbsp; &lt;tr&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;th&gt;郵便番号&lt;span class="req"&gt;*&lt;/span&gt;&lt;/th&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;td&gt;[text* zip id:zip class:small] &lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&nbsp; &lt;tr&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;th&gt;都道府県&lt;span class="req"&gt;*&lt;/span&gt;&lt;/th&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;td&gt;[select* pref id:pref include_blank "北海道" "青森県" "岩手県" "宮城県" "秋田県" "山形県" "福島県" "茨城県" "栃木県" "群馬県" "埼玉県" "千葉県" "東京都" "神奈川県" "新潟県" "富山県" "石川県" "福井県" "山梨県" "長野県" "岐阜県" "静岡県" "愛知県" "三重県" "滋賀県" "京都府" "大阪府" "兵庫県" "奈良県" "和歌山県" "鳥取県" "島根県" "岡山県" "広島県" "山口県" "徳島県" "香川県" "愛媛県" "高知県" "福岡県" "佐賀県" "長崎県" "熊本県" "大分県" "宮崎県" "鹿児島県" "沖縄県"]&lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&nbsp; &lt;tr&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;th&gt;市町村区・番地等&lt;span class="req"&gt;*&lt;/span&gt;&lt;/th&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;td class="address-100"&gt;[text* addr id:addr]&lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&nbsp; &lt;tr&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;th&gt;お電話番号&lt;span class="req"&gt;*&lt;/span&gt;&lt;/th&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;td&gt;[tel* tel-17 class:small]&lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&nbsp; &lt;tr&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;th&gt;日中連絡先&lt;/th&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;td&gt;[tel tel-noon class:small]&lt;br&gt;日中連絡の付きやすい携帯電話番号などをご記入ください。&lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&nbsp; &lt;tr&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;th&gt;FAX番号&lt;/th&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;td&gt;[tel tel-fax class:small]&lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;tr&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;th&gt;メールアドレス&lt;span class="req"&gt;*&lt;/span&gt;&lt;/th&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;td&gt;[email* your-email akismet:author_email class:small]&lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&nbsp; &lt;tr&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;th&gt;ご希望&lt;/th&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;td&gt;[checkbox checkbox-572 use_label_element "無料見積もり" "無料現地相談" "無料点検" "無料相談" "その他"] <br />
&lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&nbsp; <br />
&nbsp; &lt;tr&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;th&gt;お急ぎのお客様&lt;/th&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;td&gt;[checkbox checkbox-busy use_label_element "お急ぎのお客様はこちらにチェックを入れて下さい。"]<br />
&lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&nbsp; <br />
&nbsp;&lt;tr&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;th&gt;備考欄&lt;/th&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;td&gt;[textarea textarea-690]<br />
&lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&lt;/table&gt;<br />

<div>&lt;div class="doui"&gt;[acceptance acceptance-419] 上記内容をご確認していただきチェックを入れてください [/acceptance]&lt;/div&gt;</div>
<div>&lt;p class="text-xs-center"&gt;[submit]&lt;/p&gt;</div>
<br />
<hr /><br />
社名：[your-company]<br />
担当者名：[your-name]<br />
業種：[your-gyoushu]<br />
売上高：[your-uriage] 万円<br />
<br />
郵便番号：[zip]<br />
都道府県：[pref]<br />
市町村区・番地等：[addr]<br />
お電話番号：[tel-17]<br />
日中連絡先：[tel-noon]<br />
FAX番号：[tel-fax]<br />
メールアドレス：[your-email]<br />
<br />
お問い合わせ項目：[checkbox-572]<br />
急ぎのお客様：[checkbox-busy]<br />
<br />
ご相談内容：<br />
[textarea-690]<br />
<br />
<hr /><br />
&lt;?php if(is_page('25')): ?&gt;<br />
&lt;!-- ajaxzip　住所自動入力--&gt;<br />
&lt;script src="https://ajaxzip3.github.io/ajaxzip3.js" charset="UTF-8"&gt;&lt;/script&gt;<br />
&lt;script type="text/javascript"&gt;<br />
jQuery(function(){<br />
&nbsp; jQuery('#zip').keyup(function(event){<br />
&nbsp;&nbsp;&nbsp; AjaxZip3.zip2addr(this,'','pref','addr');<br />
&nbsp; })<br />
})<br />
&lt;/script&gt;<br />
&lt;?php endif; ?&gt;<br />
<br />
<hr />/* contact */<br />
.wpcf7{<br />
&nbsp;&nbsp;&nbsp; border:none!important;<br />
&nbsp;&nbsp;&nbsp; background:none!important;<br />
&nbsp;&nbsp;&nbsp; <br />
}<br />
.cf7{<br />
&nbsp;&nbsp;&nbsp; max-width:900px;<br />
&nbsp;&nbsp;&nbsp; margin:0 auto!important;<br />
}<br />
.cf7 .small{<br />
&nbsp;&nbsp;&nbsp; max-width:300px;<br />
}<br />
.post_content th {<br />
&nbsp;&nbsp;&nbsp; background: #dcedff;<br />
&nbsp;&nbsp;&nbsp; vertical-align:middle;<br />
&nbsp;&nbsp;&nbsp; background:none;<br />
&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp; <br />
}<br />
.post_content th {<br />
&nbsp;&nbsp;&nbsp; background:#DCEDFF;<br />
<br />
}<br />
.post_content th {<br />
&nbsp;&nbsp;&nbsp; background:#DCEDFF;<br />
&nbsp;&nbsp;&nbsp; border: 1px solid #fff;<br />
}<br />
.post_content td, .post_content th {<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; padding: 10px 15px 10px;<br />
<br />
}<br />
<br />
.post_content td {<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; border: 1px solid #DCEDFF<br />
<br />
}<br />
<br />
/*.post_content tr {<br />
&nbsp;&nbsp;&nbsp; border-top:1px solid #DCEDFF;<br />
&nbsp;&nbsp;&nbsp; border-bottom:1px solid #DCEDFF;<br />
}<br />
*/<br />
.req{<br />
&nbsp;&nbsp;&nbsp; font-weight:bold;<br />
&nbsp;&nbsp;&nbsp; color:red;<br />
}<br />
<br />
.wpcf7 textarea {<br />
&nbsp;&nbsp;&nbsp; height: 150px;<br />
}<br />
<br />
.wpcf7 input.wpcf7-submit{<br />
&nbsp;&nbsp;&nbsp;&nbsp; display:inline-block; <br />
&nbsp;&nbsp;&nbsp; width: 120px!important;<br />
&nbsp;&nbsp;&nbsp; background: #ffbb57;<br />
&nbsp;&nbsp;&nbsp; margin: 0 5px!important;<br />
&nbsp;&nbsp;&nbsp;&nbsp; height: auto; <br />
&nbsp;&nbsp;&nbsp; margin: 0 5px!important;<br />
&nbsp;&nbsp;&nbsp; border-radius:3px!important;<br />
&nbsp;&nbsp;&nbsp; color:#fff!important;<br />
&nbsp;&nbsp;&nbsp; letter-spacing:2px!important;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; height: 48px;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; vertical-align:top;<br />
<br />
}<br />
<br />
.text-xs-center{<br />
&nbsp;&nbsp;&nbsp; text-align:center;<br />
}<br />
.text-xs-center input[type="submit"], .text-xs-center input[type="reset"],.text-xs-center input[type="button"] {<br />
&nbsp;&nbsp;&nbsp; width: 120px!important;<br />
&nbsp;&nbsp;&nbsp; padding: 10px 15px!important;<br />
&nbsp;&nbsp;&nbsp; background: #ffbb57;<br />
&nbsp;&nbsp;&nbsp; margin: 0 5px!important;<br />
&nbsp;&nbsp;&nbsp; border:none!important;<br />
&nbsp;&nbsp;&nbsp; border-radius:3px!important;<br />
&nbsp;&nbsp;&nbsp; color:#fff!important;<br />
&nbsp;&nbsp;&nbsp; letter-spacing:2px!important;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; height: 48px;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; vertical-align:top;<br />
}<br />
.text-xs-center input[type="submit"]{<br />
&nbsp;&nbsp;&nbsp; display:inline-block;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; vertical-align:top;<br />
}<br />
.text-xs-center input[type="submit"]:hover, .text-xs-center input[type="reset"]:hover, .text-xs-center input[type="button"]:hover{<br />
&nbsp;&nbsp;&nbsp; opacity:0.8;<br />
cursor:pointer;<br />
} <br />
.wpcf7 input.wpcf7-submit:hover {<br />
&nbsp;&nbsp;&nbsp; background-color: #ffbb57!important;<br />
}]]>
    </description>
    <category>WordPress</category>
    <link>https://noanoa.bangofan.com/wp/cf7%20lp%E3%82%B3%E3%83%94%E3%83%9A%E7%94%A8%E3%82%B3%E3%83%BC%E3%83%89</link>
    <pubDate>Sun, 06 Oct 2024 14:25:48 GMT</pubDate>
    <guid isPermaLink="false">noanoa.bangofan.com://entry/212</guid>
  </item>
    <item>
    <title>所属するターム一覧　class名をスラッグで作る　</title>
    <description>
    <![CDATA[<div>&lt;div class="voice_cat cat_name"&gt;</div>
<div>&nbsp; &nbsp;&lt;?php&nbsp;</div>
<div>&nbsp; &nbsp;// 投稿に紐づくタームの一覧を表示</div>
<div>&nbsp; &nbsp;$taxonomy_slug = 'cat_voice'; // 任意のタクソノミースラッグを指定</div>
<div>&nbsp; &nbsp;$category_terms = wp_get_object_terms($post-&gt;ID, $taxonomy_slug); // タームの情報を取得</div>
<div>&nbsp; &nbsp;if (!empty($category_terms)) { // 変数が空でなければ true</div>
<div>&nbsp; &nbsp; &nbsp; if (!is_wp_error($category_terms)) { // 変数が WordPress Error でなければ true</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;foreach ($category_terms as $category_term) { // タームのループを開始</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // タームのスラッグをクラスに追加</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo '&lt;a href="' . get_term_link($category_term-&gt;slug, $taxonomy_slug) . '" class="label label-' . esc_attr($category_term-&gt;slug) . '"&gt;' . esc_html($category_term-&gt;name) . '&lt;/a&gt;'; // タームをリンク付きで表示</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;} // ループの終了</div>
<div>&nbsp; &nbsp; &nbsp; }</div>
<div>&nbsp; &nbsp;}</div>
<div>&nbsp; &nbsp;?&gt;</div>
<div>&lt;/div&gt;</div>
<div></div>]]>
    </description>
    <category>未選択</category>
    <link>https://noanoa.bangofan.com/%E6%9C%AA%E9%81%B8%E6%8A%9E/%E6%89%80%E5%B1%9E%E3%81%99%E3%82%8B%E3%82%BF%E3%83%BC%E3%83%A0%E4%B8%80%E8%A6%A7%E3%80%80class%E5%90%8D%E3%82%92%E3%82%B9%E3%83%A9%E3%83%83%E3%82%B0%E3%81%A7%E4%BD%9C%E3%82%8B%E3%80%80</link>
    <pubDate>Fri, 02 Aug 2024 07:53:59 GMT</pubDate>
    <guid isPermaLink="false">noanoa.bangofan.com://entry/370</guid>
  </item>
    <item>
    <title>ACF　ACFの入力欄にショートコードを入れて展開させたい</title>
    <description>
    <![CDATA[https://www.sensitivity.jp/wordpress/advanced-custom-fields%E3%81%A7%E3%82%B7%E3%83%A7%E3%83%BC%E3%83%88%E3%82%B3%E3%83%BC%E3%83%89%E3%82%92%E5%85%A5%E5%8A%9B/<br />
https://midorinz.com/app/2019/04/06/advanced-custom-field%e3%81%a7%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%82%b3%e3%83%bc%e3%83%89%e3%82%92%e5%85%a5%e5%8a%9b%e3%81%97%e3%81%9f%e3%81%84/<br />
<br />
ありがたいコード<br />
<br />
<br />

<div>&lt;?php</div>
<div>echo apply_filters('the_content', get_post_meta($post-&gt;ID, '<span style="color: #ff6600;"><strong>カスタムフィールド名</strong></span>', true));</div>
<div>?&gt;<br />
<br />
<hr />普通にいれるとカッコ付きのままでてくる<br />
展開させるには上記コードでやるとok<br />
すごい簡単でありがたい！</div>]]>
    </description>
    <category>WP用プラグイン</category>
    <link>https://noanoa.bangofan.com/wp%E7%94%A8%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3/acf%E3%80%80acf%E3%81%AE%E5%85%A5%E5%8A%9B%E6%AC%84%E3%81%AB%E3%82%B7%E3%83%A7%E3%83%BC%E3%83%88%E3%82%B3%E3%83%BC%E3%83%89%E3%82%92%E5%85%A5%E3%82%8C%E3%81%A6%E5%B1%95%E9%96%8B%E3%81%95%E3%81%9B%E3%81%9F%E3%81%84</link>
    <pubDate>Tue, 18 Jul 2023 04:26:25 GMT</pubDate>
    <guid isPermaLink="false">noanoa.bangofan.com://entry/369</guid>
  </item>
    <item>
    <title>サイトヘルスを消す</title>
    <description>
    <![CDATA[<div>ダッシュボード、ツールのサイトヘルスをけす<br />
ダッシュボードのyoast SEOをけす<br />
別に放置していても問題ないことばっかりなのにいちいちうるせーサイトヘルス<br />
曖昧に警告ばっかしやがってこっちが面倒なんだよ<br />
だから全て消す！！！<br />
<br />
<br />
/*----------------------------------------------------------*/</div>
<div>//</div>
<div>// いらないものを消す</div>
<div>//</div>
<div>/*---------------------------------------------------------*/</div>
<div></div>
<div>add_action('wp_dashboard_setup', function() {</div>
<div>&nbsp; &nbsp; global $wp_meta_boxes;</div>
<div>&nbsp; &nbsp; unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_site_health']);</div>
<div>});</div>
<div></div>
<div>add_action('admin_menu', function() {</div>
<div>&nbsp; &nbsp; remove_submenu_page('tools.php', 'site-health.php');</div>
<div>});</div>
<div></div>
<div>add_action('wp_dashboard_setup', 'remove_wpseo_dashboard_overview' );</div>
<div>function remove_wpseo_dashboard_overview() {</div>
<div>&nbsp; // In some cases, you may need to replace 'side' with 'normal' or 'advanced'.</div>
<div>&nbsp; remove_meta_box( 'wpseo-dashboard-overview', 'dashboard', 'side' );</div>
<div>}</div>
<div></div>
<div>add_filter( 'site_status_should_suggest_persistent_object_cache', '__return_false' );</div>
<div></div>
<div></div>]]>
    </description>
    <category>WordPress</category>
    <link>https://noanoa.bangofan.com/wp/%E3%82%B5%E3%82%A4%E3%83%88%E3%83%98%E3%83%AB%E3%82%B9%E3%82%92%E6%B6%88%E3%81%99</link>
    <pubDate>Fri, 31 Mar 2023 08:02:10 GMT</pubDate>
    <guid isPermaLink="false">noanoa.bangofan.com://entry/368</guid>
  </item>
    <item>
    <title>CF7　完了ページへとばす</title>
    <description>
    <![CDATA[ありがたいコードをコピペ<br />
https://web-dev.tech/wordpress/plugin/contact-form-7-thanks-page/<br />
<br />
<br />

<div>&lt;script&gt;</div>
<div>document.addEventListener( 'wpcf7mailsent', function( event ) {</div>
<div>&nbsp; location = 'ここに完了ページのURLを記入';</div>
<div>}, false );</div>
<div>&lt;/script&gt;</div>]]>
    </description>
    <category>未選択</category>
    <link>https://noanoa.bangofan.com/%E6%9C%AA%E9%81%B8%E6%8A%9E/cf7%E3%80%80%E5%AE%8C%E4%BA%86%E3%83%9A%E3%83%BC%E3%82%B8%E3%81%B8%E3%81%A8%E3%81%B0%E3%81%99</link>
    <pubDate>Tue, 28 Mar 2023 10:29:31 GMT</pubDate>
    <guid isPermaLink="false">noanoa.bangofan.com://entry/367</guid>
  </item>
    <item>
    <title>ダッシュボード他のサイトヘルスステータスを消す。あとダッシュボードのyoast</title>
    <description>
    <![CDATA[<p>https://qiita.com/ki6ool/items/aaf191c37fa4a5011bbd<br />
<br />
ありがたいコードをコピペ</p>
<hr />
<p><br />
<br />
</p>
<div>
<div>add_action('wp_dashboard_setup', function() {</div>
<div>&nbsp; &nbsp; global $wp_meta_boxes;</div>
<div>&nbsp; &nbsp; unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_site_health']);</div>
<div>});</div>
<div></div>
<div>add_action('admin_menu', function() {</div>
<div>&nbsp; &nbsp; remove_submenu_page('tools.php', 'site-health.php');</div>
<div>});</div>
<div></div>
<div>add_action('wp_dashboard_setup', 'remove_wpseo_dashboard_overview' );</div>
<div>function remove_wpseo_dashboard_overview() {</div>
<div>&nbsp; // In some cases, you may need to replace 'side' with 'normal' or 'advanced'.</div>
<div>&nbsp; remove_meta_box( 'wpseo-dashboard-overview', 'dashboard', 'side' );</div>
<div>}</div>
</div>
<div>
<div></div>
</div>
<hr /><br />
<br />
どうでもいいし直らないしたいして有効でもないサイトヘルスステータス<br />
ただちょっと注意文程度の内容のくせに重大なようにいってきやがって<br />
これみてクライアントがガタガタ行ってくる場合があるのでもう非表示にすることにした<br />
あまり客にたいして制限したりそういうの好きじゃないんだけど<br />
さっとなおるような注意じゃないからめんどすぎ<br />
<br />
<br />
<br />
]]>
    </description>
    <category>WordPress</category>
    <link>https://noanoa.bangofan.com/wp/%E3%83%80%E3%83%83%E3%82%B7%E3%83%A5%E3%83%9C%E3%83%BC%E3%83%89%E4%BB%96%E3%81%AE%E3%82%B5%E3%82%A4%E3%83%88%E3%83%98%E3%83%AB%E3%82%B9%E3%82%B9%E3%83%86%E3%83%BC%E3%82%BF%E3%82%B9%E3%82%92%E6%B6%88%E3%81%99%E3%80%82%E3%81%82%E3%81%A8</link>
    <pubDate>Tue, 28 Mar 2023 10:19:10 GMT</pubDate>
    <guid isPermaLink="false">noanoa.bangofan.com://entry/366</guid>
  </item>
    <item>
    <title>php8でエラーがでそうなプラグイン</title>
    <description>
    <![CDATA[■プラグイン更新で直る<br />
search regex<br />
<br />
■プラグイン更新情報でてない
<div>WPCore Plugin Manager</div>]]>
    </description>
    <category>php</category>
    <link>https://noanoa.bangofan.com/php/php8%E3%81%A7%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%8C%E3%81%A7%E3%81%9D%E3%81%86%E3%81%AA%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3</link>
    <pubDate>Wed, 01 Mar 2023 04:02:44 GMT</pubDate>
    <guid isPermaLink="false">noanoa.bangofan.com://entry/365</guid>
  </item>

    </channel>
</rss>