jingtian– Author –
-
「Googleタグマネージャー」アカウントを作る→「GA4」を設定する方法
Google Tag Manager(GTM)とは Google Tag Managerで扱うタグとはWebサイトとマーケティングツール間で情報をやりとりするためのコードです Googleアナリティクス、Goo... -
【テンプレートタグ】the_post_thumbnailでサイズ指定ができない
<?php the_post_thumbnail(array(200, 100)); ?> 上記のように(200, 100)と指定しているのに、実際は img[Attributes Style] { width: 150px; aspect-ratio: ... -
WordPressの編集画面にCSSをあてる方法
1)CSSファイルを用意 下記のように実際の表示に近いスタイルをあてれるよう記載 https://siennahare23.sakura.ne.jp/e-style/editor.css h2.wp-block-heading { font-s... -
【WordPress】オリジナルテーマ作成手順
1)テーマのディレクトリ作成する wp-content/themes/ ディレクトリ内にテーマ名のディレクトリを作成します。 public\wp-content\themes\テーマ名 2)テーマに必要なフ...