Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: Cannot modify header information - headers already sent by (output started at /home/chiee/g-outfitter.com/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /home/chiee/g-outfitter.com/public_html/wp-includes/feed-rss2.php on line 8
設定 – G-outfitter.com https://g-outfitter.com Fri, 16 Mar 2018 09:28:47 +0000 ja hourly 1 https://wordpress.org/?v=7.1.4 ウィジェットの設定 https://g-outfitter.com/tools/wordpress/widgets.html https://g-outfitter.com/tools/wordpress/widgets.html#respond Sun, 13 Nov 2016 06:25:47 +0000 http://g-outfitter.com/?p=1548 ウィジェットとは

WordPressにとってのウィジェットとはサイドバーなどに見せるブログパーツのことです。

新着記事やカテゴリー・人気記事など、訪問者がサイト閲覧を行いやすいようなパーツや興味のありそうなパーツが置いてあることが望ましいです。

ウィジェットの設置

以前カテゴリー設定に関する記事を書きましたがWordPress内ダッシュボード>>外観>>ウィジェットでサイトに表示したいウィジェットを設置します。

>>>カテゴリーの表示と並べ替え

ウィジェット設定画面の左側には利用できるパーツが表示されていて、右側のほうにはそれらのウィジェットを置くことができる場所が表示されています。

ワードプレスウィジェット設定

左側から右側へ、パーツを選んでドラッグ&ドロップすることで簡単に設置できます。

また、左側のパーツの上をクリックすると表示先のプルダウンメニューが出て来て選べるので、そこで表示させたい場所をクリックすることで追加することもできます。

ワードプレスウィジェット設定

ワードプレスウィジェット設定

モニター画面の大きさやマウスの使い方などによっては、ドラッグ&ドロップでの追加よりもこちらの方法のほうが間違いが無くていいかもしれません。

ウィジェットの設定

各ウィジェットパーツは設置した後でそのパーツをクリックするとそれぞれに細かな設定があったりします。

例えばカテゴリーのウィジェットパーツの場合はタイトル・ドロップダウン表示・投稿数の表示・階層を表示 というような設定項目が準備されています。

こういった設定は、チェックを入れてみたりしてどのようにサイト上の見た目が変わるのかを確認し、好みの状態に設定しましょう。

画像付きのアフィリエイトリンクを置くというような時によく利用するパーツにはテキストがあります。このパーツの設定はタイトル・内容という項目だけとなっていて内容の中に表示したいHTML文章を書き入れるという使い方をします。

テーマ毎に違うウィジェット設置

いくつかのWordPressテーマを使ってみるとわかるのですが、このウィジェットの設定や場所はテーマ毎によってかなり違うことが普通です。

そのテーマのサンプルサイトなどを見てみると推測できますが、新しいテーマを使ってみるときはどんなウィジェットパーツがどんな場所に置けるのかを確認してみるといいです。

]]>
https://g-outfitter.com/tools/wordpress/widgets.html/feed/ 0
パーマリンクの設定 https://g-outfitter.com/tools/wordpress/permalink.html https://g-outfitter.com/tools/wordpress/permalink.html#comments Sun, 23 Oct 2016 06:10:37 +0000 http://g-outfitter.com/?p=1490 パーマリンクとは

WordPressはもちろん記事を書いてサイトを作っていくことが目的ですが、記事を書く前に必ず設定しておきたいものの一つにパーマリンクがあります。

そもそもパーマリンクとは何なのかというと、サイト内の個別のコンテンツに対して設定されたURLのことです。

WordPress内ダッシュボード>>設定>>パーマリンク設定を確認してみましょう。

パーマリンク設定

●基本
●日付と投稿名
●月と投稿名
●数字ベース
●カスタム構造

とありますが、それぞれ http://ドメインURL/ 以降の部分のURLがパーマリンクとなります。

WordPressにとって良いパーマリンク設定

当サイトではカスタム設定を選択して、/%category%/%postname%.html と設定してあります。%category%にはカテゴリー設定のスラッグが入り、%postname%には個別記事投稿の際に設定するパーマリンクが入ります。

一概にどれが絶対に良いとは断言できません。ですが、グーグルが推奨しているURLの要件として下記が提唱されています。

●できる限りシンプルであること。
●論理的かつ人間が理解できること。

これらを考慮した結果としてこのように設定しています。

基本・数字ベースではIDでの表現なので人間が論理的かつ人間が理解できるという部分が完全に欠けています。更にカテゴリーの配下状態を入れるということで、訪問者も検索エンジンもサイト構成を簡単に把握できるようになるという状態にしています。

当サイトでは .html を付けて個別記事ページのURLとしていますが、これは昔から .html がついているとサイトのページなのだと一般的に認識しやすいということで採用しています。

WordPressなのだから.html は付ける必要はないであろうという方もいらっしゃいますが、それも一理です。ですが、より一般的に認識されている表現に寄り添うことができるならそのほうが良いであろうという判断です。

グーグルが提唱している人間が理解できるURLであったほうがいいならば、日本人向けのサイトならば日本語表記のパーマリンクがいいのではないかと思われる方もいるでしょう。

それもそうなのかもしれないのですが、実際には内部では日本語表記はピュニコードというやたらと長いコードに変換されて管理されます。そうなるとできる限りシンプルであることという目線から大幅にかけ離れてしまうことになってしまいます。

もちろん、数字ベースの基本設定のままでも日本語表記のパーマリンクでも、コンテンツ内容によってしっかりと上位表示されているサイトもたくさんあります。結局のところはパーマリンクをどんなに設定してしていてもコンテンツが大切だということです。

さて、サイトの記事はあるいはサイトの見直しでカテゴリーを移動することもあるでしょうし、WordPressの場合は複数のカテゴリーに記事を所属させることもできます。

カテゴリーをパーマリンクに入れてしまっていると、当然ながらカテゴリーを変更した場合にはパーマリンクは変わってしまいますし、複数カテゴリーに所属させているとまったく同じ記事内容の複数のパーマリンクが存在することになってしまいます。

カテゴリー変動や複数カテゴリーに記事を存在させることが多いようなサイトの場合はカテゴリーはパーマリンクに入れないほうがいいかもしれません。

]]>
https://g-outfitter.com/tools/wordpress/permalink.html/feed/ 2