<?xml version="1.0" encoding="UTF-8" ?>
<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns="http://purl.org/rss/1.0/"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/">

  <channel rdf:about="http://flexfun.tosalog.com/RSS/100/">
    <title>プログラムメモ</title>
    <link>http://flexfun.tosalog.com/</link>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://flexfun.tosalog.com/RSS/" />
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" />
    <description>Flex,Java,Html など、調べた事のメモ帳です。
間違ってたらゴメンなさい。</description>
    <dc:language>ja</dc:language>
    <dc:date>2022-01-27T14:56:24+09:00</dc:date>
    <items>
    <rdf:Seq>
      <rdf:li rdf:resource="http://flexfun.tosalog.com/web/%E3%82%B9%E3%82%AF%E3%83%AC%E3%82%A4%E3%83%94%E3%83%B3%E3%82%B0%20chromedriver" />
      <rdf:li rdf:resource="http://flexfun.tosalog.com/%E3%83%AC%E3%83%B3%E3%82%BF%E3%83%AB%E3%82%B5%E3%83%BC%E3%83%90%E3%83%BC/%E3%83%A1%E3%83%BC%E3%83%AB%E3%81%AE%E3%82%B5%E3%83%BC%E3%83%90%E3%83%BC%E7%A7%BB%E8%A1%8C%E3%81%A7%E3%81%AF%E3%81%BE%E3%81%A3%E3%81%9F%E8%A9%B1" />
      <rdf:li rdf:resource="http://flexfun.tosalog.com/flex/dns%E3%81%8C%E6%AD%A3%E3%81%97%E3%81%8F%E8%A8%AD%E5%AE%9A%E5%87%BA%E6%9D%A5%E3%81%A6%E3%81%84%E3%82%8B%E3%81%8B%E7%A2%BA%E8%AA%8D%E3%81%99%E3%82%8B%E3%81%AB%E3%81%AF-wind" />
      <rdf:li rdf:resource="http://flexfun.tosalog.com/flex/putty%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E3%80%81xserver%E3%81%ABssh%E6%8E%A5%E7%B6%9A" />
      <rdf:li rdf:resource="http://flexfun.tosalog.com/eclipse/eclipse%E3%81%A7php%E3%81%AE%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%82%92%E5%8F%AF%E8%83%BD%E3%81%AB%E3%81%99%E3%82%8B-xde" />
      <rdf:li rdf:resource="http://flexfun.tosalog.com/web/%E3%82%A2%E3%83%A1%E3%83%BC%E3%83%90%E3%83%96%E3%83%AD%E3%82%B0%E3%81%ABgoogle%E3%82%A2%E3%83%89%E3%82%BB%E3%83%B3%E3%82%B9-google" />
      <rdf:li rdf:resource="http://flexfun.tosalog.com/wordpress/wordpress%E3%81%AE%E3%83%91%E3%83%BC%E3%83%9E%E3%83%AA%E3%83%B3%E3%82%AF%E3%81%8C%E8%A1%A8%E7%A4%BA%E3%81%95%E3%82%8C%E3%81%AA%E3%81%84%E3%81%A8%E3%81%8D%E3%81%AE" />
      <rdf:li rdf:resource="http://flexfun.tosalog.com/wordpress/%E3%80%90wordpress%E3%80%91%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3%20%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%A7%E6%8E%A5%E7%B6%9A" />
      <rdf:li rdf:resource="http://flexfun.tosalog.com/wordpress/%E3%80%90wordpress%E3%80%91%E3%82%A2%E3%82%A4%E3%82%AD%E3%83%A3%E3%83%83%E3%83%81%E7%94%BB%E5%83%8F%E3%82%92%E8%87%AA%E5%8B%95%E7%9A%84%E3%81%AB%E3%83%AA%E3%82%B5%E3%82%A4%E3%82%BA%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95" />
      <rdf:li rdf:resource="http://flexfun.tosalog.com/wordpress/%E3%80%90wordpress%E3%80%91%E3%81%AE%E3%82%A2%E3%82%A4%E3%82%AD%E3%83%A3%E3%83%83%E3%83%81%E6%A9%9F%E8%83%BD%E3%82%92%E6%9C%89%E5%8A%B9%E5%8C%96" />
    </rdf:Seq>
    </items>
  </channel>

  <item rdf:about="http://flexfun.tosalog.com/web/%E3%82%B9%E3%82%AF%E3%83%AC%E3%82%A4%E3%83%94%E3%83%B3%E3%82%B0%20chromedriver">
    <link>http://flexfun.tosalog.com/web/%E3%82%B9%E3%82%AF%E3%83%AC%E3%82%A4%E3%83%94%E3%83%B3%E3%82%B0%20chromedriver</link>
    <title>スクレイピング chromedriver</title>
    <description>ChromeDriverをwindows10でインストールする方法【画像付き】

pathを通す必要あり。



...</description>
    <content:encoded><![CDATA[<h1 class="cps-post-title entry-title" itemprop="headline" style="margin: 0px; padding: 0px; border: 0px; font-size: 1.8rem; vertical-align: baseline; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-weight: 300; line-height: 2.3rem; color: #3b4675; font-family: 'ヒラギノ角ゴ ProN W3', 'Hiragino Sans', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif; letter-spacing: 1px;"><a href="https://www.mittsu-kosen.com/chromedriver%E3%82%92windows10%E3%81%A7%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95%E3%80%90%E7%94%BB%E5%83%8F%E4%BB%98%E3%81%8D%E3%80%91/" title="">ChromeDriverをwindows10でインストールする方法【画像付き】</a><br />
<br />
pathを通す必要あり。<br />
<br />
<br />
</h1>
<h1 class="cps-post-title entry-title" itemprop="headline" style="margin: 0px; padding: 0px; border: 0px; font-size: 1.8rem; vertical-align: baseline; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-weight: 300; line-height: 2.3rem; color: #3b4675; font-family: 'ヒラギノ角ゴ ProN W3', 'Hiragino Sans', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif; letter-spacing: 1px;"></h1>]]></content:encoded>
    <dc:subject>web</dc:subject>
    <dc:date>2022-01-27T14:56:24+09:00</dc:date>
    <dc:creator>No Name Ninja</dc:creator>
    <dc:publisher>NINJA BLOG</dc:publisher>
    <dc:rights>No Name Ninja</dc:rights>
  </item>
  <item rdf:about="http://flexfun.tosalog.com/%E3%83%AC%E3%83%B3%E3%82%BF%E3%83%AB%E3%82%B5%E3%83%BC%E3%83%90%E3%83%BC/%E3%83%A1%E3%83%BC%E3%83%AB%E3%81%AE%E3%82%B5%E3%83%BC%E3%83%90%E3%83%BC%E7%A7%BB%E8%A1%8C%E3%81%A7%E3%81%AF%E3%81%BE%E3%81%A3%E3%81%9F%E8%A9%B1">
    <link>http://flexfun.tosalog.com/%E3%83%AC%E3%83%B3%E3%82%BF%E3%83%AB%E3%82%B5%E3%83%BC%E3%83%90%E3%83%BC/%E3%83%A1%E3%83%BC%E3%83%AB%E3%81%AE%E3%82%B5%E3%83%BC%E3%83%90%E3%83%BC%E7%A7%BB%E8%A1%8C%E3%81%A7%E3%81%AF%E3%81%BE%E3%81%A3%E3%81%9F%E8%A9%B1</link>
    <title>メールのサーバー移行ではまった話</title>
    <description>https://www.fmworld.net/cs/azbyclub/qanavi/jsp/qacontents.jsp?rid=5&amp;amp;amp;PID=3611-1889
windows10メールを使ってる人がいて、過去データがなくなったと。
windows10メールはローカルにデータを保存していな...</description>
    <content:encoded><![CDATA[<p><a href="https://www.fmworld.net/cs/azbyclub/qanavi/jsp/qacontents.jsp?rid=5&amp;PID=3611-1889" title="">https://www.fmworld.net/cs/azbyclub/qanavi/jsp/qacontents.jsp?rid=5&amp;PID=3611-1889</a><br />
windows10メールを使ってる人がいて、過去データがなくなったと。</p>
<p>windows10メールはローカルにデータを保存していないと。</p>]]></content:encoded>
    <dc:subject>レンタルサーバー</dc:subject>
    <dc:date>2022-01-23T10:59:15+09:00</dc:date>
    <dc:creator>No Name Ninja</dc:creator>
    <dc:publisher>NINJA BLOG</dc:publisher>
    <dc:rights>No Name Ninja</dc:rights>
  </item>
  <item rdf:about="http://flexfun.tosalog.com/flex/dns%E3%81%8C%E6%AD%A3%E3%81%97%E3%81%8F%E8%A8%AD%E5%AE%9A%E5%87%BA%E6%9D%A5%E3%81%A6%E3%81%84%E3%82%8B%E3%81%8B%E7%A2%BA%E8%AA%8D%E3%81%99%E3%82%8B%E3%81%AB%E3%81%AF-wind">
    <link>http://flexfun.tosalog.com/flex/dns%E3%81%8C%E6%AD%A3%E3%81%97%E3%81%8F%E8%A8%AD%E5%AE%9A%E5%87%BA%E6%9D%A5%E3%81%A6%E3%81%84%E3%82%8B%E3%81%8B%E7%A2%BA%E8%AA%8D%E3%81%99%E3%82%8B%E3%81%AB%E3%81%AF-wind</link>
    <title>DNSが正しく設定出来ているか確認するには(windows nslookup) DNSが正しく設定出来ているか確認するには(windows nslookup)</title>
    <description>https://www.willnet.ad.jp/dns-windows-nslookup/

こちらのサイトがすごくわかりやすい

レンタルサーバーの切り替え時にとても役に立ちます。...</description>
    <content:encoded><![CDATA[<a title="">https://www.willnet.ad.jp/dns-windows-nslookup/<br />
<br />
</a>こちらのサイトがすごくわかりやすい<br />
<br />
レンタルサーバーの切り替え時にとても役に立ちます。]]></content:encoded>
    <dc:subject>Flex</dc:subject>
    <dc:date>2022-01-22T23:23:09+09:00</dc:date>
    <dc:creator>No Name Ninja</dc:creator>
    <dc:publisher>NINJA BLOG</dc:publisher>
    <dc:rights>No Name Ninja</dc:rights>
  </item>
  <item rdf:about="http://flexfun.tosalog.com/flex/putty%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E3%80%81xserver%E3%81%ABssh%E6%8E%A5%E7%B6%9A">
    <link>http://flexfun.tosalog.com/flex/putty%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E3%80%81xserver%E3%81%ABssh%E6%8E%A5%E7%B6%9A</link>
    <title>puttyを使って、xserverにssh接続</title>
    <description> https://www.en-pc.jp/blog/archives/100  
 
puttyを使って、xserverにssh接続 
かなり重要</description>
    <content:encoded><![CDATA[<a href="https://www.en-pc.jp/blog/archives/100" title="">https://www.en-pc.jp/blog/archives/100</a><br />
<br />
puttyを使って、xserverにssh接続<br />
かなり重要]]></content:encoded>
    <dc:subject>Flex</dc:subject>
    <dc:date>2022-01-20T15:41:21+09:00</dc:date>
    <dc:creator>No Name Ninja</dc:creator>
    <dc:publisher>NINJA BLOG</dc:publisher>
    <dc:rights>No Name Ninja</dc:rights>
  </item>
  <item rdf:about="http://flexfun.tosalog.com/eclipse/eclipse%E3%81%A7php%E3%81%AE%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%82%92%E5%8F%AF%E8%83%BD%E3%81%AB%E3%81%99%E3%82%8B-xde">
    <link>http://flexfun.tosalog.com/eclipse/eclipse%E3%81%A7php%E3%81%AE%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%82%92%E5%8F%AF%E8%83%BD%E3%81%AB%E3%81%99%E3%82%8B-xde</link>
    <title>EclipseでPHPのデバッグを可能にする(xdebugを使用)</title>
    <description>https://qiita.com/twinblack/items/2b112441e0753cd5e6c2
こちらのサイト


php.ini の設定忘れずに...</description>
    <content:encoded><![CDATA[<a href="https://qiita.com/twinblack/items/2b112441e0753cd5e6c2" title="">https://qiita.com/twinblack/items/2b112441e0753cd5e6c2<br />
こ</a>ちらのサイト<br />
<br />
<br />
php.ini の設定忘れずに]]></content:encoded>
    <dc:subject>eclipse</dc:subject>
    <dc:date>2022-01-19T21:59:44+09:00</dc:date>
    <dc:creator>No Name Ninja</dc:creator>
    <dc:publisher>NINJA BLOG</dc:publisher>
    <dc:rights>No Name Ninja</dc:rights>
  </item>
  <item rdf:about="http://flexfun.tosalog.com/web/%E3%82%A2%E3%83%A1%E3%83%BC%E3%83%90%E3%83%96%E3%83%AD%E3%82%B0%E3%81%ABgoogle%E3%82%A2%E3%83%89%E3%82%BB%E3%83%B3%E3%82%B9-google">
    <link>http://flexfun.tosalog.com/web/%E3%82%A2%E3%83%A1%E3%83%BC%E3%83%90%E3%83%96%E3%83%AD%E3%82%B0%E3%81%ABgoogle%E3%82%A2%E3%83%89%E3%82%BB%E3%83%B3%E3%82%B9-google</link>
    <title>アメーバブログにgoogleアドセンス(Google adsense)を導入し収益を得たい</title>
    <description>まず、googleアドセンスからコードをコピーします。

&amp;amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;amp;gt;&amp;amp;lt;!--
google_ad_client = &amp;quot;※※&amp;quot;;

google_ad_slot = &amp;quot;※※&amp;quot;;
google_ad_width = 160;
goog...</description>
    <content:encoded><![CDATA[<p style="margin: 1.2em 0px; padding: 0px; line-height: 1.5em; text-align: justify; font-family: 'Trebuchet MS', Verdana, Futura, Arial, Helvetica, sans-serif;">まず、googleアドセンスからコードをコピーします。</p>
<div style="font-family: 'Trebuchet MS', Verdana, Futura, Arial, Helvetica, sans-serif; text-align: justify; border: 1px solid #cccccc; padding: 5px;">
<pre style="white-space: pre-wrap; word-wrap: break-word; padding: 1px; font-family: 'Courier New', Courier, mono; color: #ffffff; text-align: left; margin: 10px; font-size: 1.1em; overflow: hidden; background-color: #808080;">&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "※※";

google_ad_slot = "※※";
google_ad_width = 160;
google_ad_height = 600;
//--&lt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;

</pre>
</div>
<p style="margin: 1.2em 0px; padding: 0px; line-height: 1.5em; text-align: justify; font-family: 'Trebuchet MS', Verdana, Futura, Arial, Helvetica, sans-serif;">そのあと、メモ帳にコピーしてコードを張り付け最初と最後の( script)(/script&gt;)を 消します。</p>
<div style="font-family: 'Trebuchet MS', Verdana, Futura, Arial, Helvetica, sans-serif; text-align: justify; border: 1px solid #cccccc; padding: 5px;">
<pre style="white-space: pre-wrap; word-wrap: break-word; padding: 1px; font-family: 'Courier New', Courier, mono; color: #ffffff; text-align: left; margin: 10px; font-size: 1.1em; overflow: hidden; background-color: #808080;">&lt;!--
google_ad_client = "※※";

google_ad_slot = "※※";
google_ad_width = 160;
google_ad_height = 600;
//-&gt;



</pre>
</div>
<div style="font-family: 'Trebuchet MS', Verdana, Futura, Arial, Helvetica, sans-serif; text-align: justify; border: 1px solid #cccccc; padding: 5px;">
<pre style="white-space: pre-wrap; word-wrap: break-word; padding: 1px; font-family: 'Courier New', Courier, mono; color: #ffffff; text-align: left; margin: 10px; font-size: 1.1em; overflow: hidden; background-color: #808080;">&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&lt;
&lt;/script&lt;
</pre>
</div>
<p style="margin: 1.2em 0px; padding: 0px; line-height: 1.5em; text-align: justify; font-family: 'Trebuchet MS', Verdana, Futura, Arial, Helvetica, sans-serif;">そして、上記のhttp://pagead2.googlesyndication.com/pagead/show_ads.jsをURLで検索をして、 取得したソースをコピーして、メモ帳に張り付けます。</p>
<p style="margin: 1.2em 0px; padding: 0px; line-height: 1.5em; text-align: justify; font-family: 'Trebuchet MS', Verdana, Futura, Arial, Helvetica, sans-serif;">下記が出来上がりのファイル(main.js)&darr;</p>
<p style="margin: 1.2em 0px; padding: 0px; line-height: 1.5em; text-align: justify; font-family: 'Trebuchet MS', Verdana, Futura, Arial, Helvetica, sans-serif;">上記のファイルを、自分で契約しているサーバーがございましたら、適当なサーバーにあげて下記のscriptファイルをアメーバﾌﾞﾛｸﾞ（アメブロ）のフリープラグインに張り付ければ完了です。</p>
<p style="margin: 1.2em 0px; padding: 0px; line-height: 1.5em; text-align: justify; font-family: 'Trebuchet MS', Verdana, Futura, Arial, Helvetica, sans-serif;">&ldquo;&lt;script src=&rdquo;http://www.**************/main.js&rdquo;&gt;&lt;/script&gt;&rdquo;</p>]]></content:encoded>
    <dc:subject>web</dc:subject>
    <dc:date>2014-11-28T14:00:24+09:00</dc:date>
    <dc:creator>No Name Ninja</dc:creator>
    <dc:publisher>NINJA BLOG</dc:publisher>
    <dc:rights>No Name Ninja</dc:rights>
  </item>
  <item rdf:about="http://flexfun.tosalog.com/wordpress/wordpress%E3%81%AE%E3%83%91%E3%83%BC%E3%83%9E%E3%83%AA%E3%83%B3%E3%82%AF%E3%81%8C%E8%A1%A8%E7%A4%BA%E3%81%95%E3%82%8C%E3%81%AA%E3%81%84%E3%81%A8%E3%81%8D%E3%81%AE">
    <link>http://flexfun.tosalog.com/wordpress/wordpress%E3%81%AE%E3%83%91%E3%83%BC%E3%83%9E%E3%83%AA%E3%83%B3%E3%82%AF%E3%81%8C%E8%A1%A8%E7%A4%BA%E3%81%95%E3%82%8C%E3%81%AA%E3%81%84%E3%81%A8%E3%81%8D%E3%81%AE</link>
    <title>【WordPress】のパーマリンクが表示されないときの解決法(ubuntu ×　apache2)</title>
    <description>mod_rewriteを有効にする
Ubuntuでは、apache2をインストールした時に、デフォルトでmod_rewriteがインストールされている
しかし、有効になっていないので、それを有効にする作業が必要
rewrite.loadがあることを確認する


% cat /etc/apache2/...</description>
    <content:encoded><![CDATA[<h1 style="margin: 1.3em 0px 0.7em; font-family: 'Helvetica Neue', Helvetica, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif; line-height: 1.3; color: #4a4a4a; text-rendering: optimizelegibility; font-size: 24px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; padding: 3px 10px; text-shadow: rgba(255, 255, 255, 0.6) 0px 1px 0px; position: relative; background-color: rgba(0, 0, 0, 0.0980392);">mod_rewriteを有効にする</h1>
<p style="margin: 1em 0px; word-wrap: break-word; line-height: 1.7; color: #4a4a4a; font-family: 'Helvetica Neue', Helvetica, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif;">Ubuntuでは、apache2をインストールした時に、デフォルトでmod_rewriteがインストールされている<br />
しかし、有効になっていないので、それを有効にする作業が必要</p>
<h2 style="margin: 1.3em 0px 0.7em; font-family: 'Helvetica Neue', Helvetica, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif; line-height: 1.3; color: #4a4a4a; text-rendering: optimizelegibility; font-size: 22px; border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #d4d4d4; position: relative;"><span id="2-1" class="fragment" style="position: relative; top: -10px; display: block;"></span><a href="http://qiita.com/hyperkinoko/items/de018714c95e675fd5f9#2-1" style="color: #117ec6; text-decoration: none; word-wrap: break-word; word-break: break-all;"></a>rewrite.loadがあることを確認する</h2>
<div class="code-frame" data-lang="zsh" style="border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; margin: 1em 0px; border: 1px solid #cccccc; line-height: 0; color: #4a4a4a; font-family: 'Helvetica Neue', Helvetica, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif; background-color: #fbfbfb;">
<div class="highlight">
<pre style="padding: 8px 15px; font-family: 'Bitstream Vera Sans Mono', Courier, monospace; font-size: 13px; color: #333333; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; margin-top: 0px; margin-bottom: 0px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 0px; background-color: transparent;">% cat /etc/apache2/mods-available/rewrite.load
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
</pre>
</div>
</div>
<h2 style="margin: 1.3em 0px 0.7em; font-family: 'Helvetica Neue', Helvetica, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif; line-height: 1.3; color: #4a4a4a; text-rendering: optimizelegibility; font-size: 22px; border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #d4d4d4; position: relative;"><span id="2-2" class="fragment" style="position: relative; top: -10px; display: block;"></span><a href="http://qiita.com/hyperkinoko/items/de018714c95e675fd5f9#2-2" style="color: #117ec6; text-decoration: none; word-wrap: break-word; word-break: break-all;"></a>mod_rewriteを有効にする</h2>
<div class="code-frame" data-lang="zsh" style="border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; margin: 1em 0px; border: 1px solid #cccccc; line-height: 0; color: #4a4a4a; font-family: 'Helvetica Neue', Helvetica, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif; background-color: #fbfbfb;">
<div class="highlight">
<pre style="padding: 8px 15px; font-family: 'Bitstream Vera Sans Mono', Courier, monospace; font-size: 13px; color: #333333; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; margin-top: 0px; margin-bottom: 0px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 0px; background-color: transparent;">% sudo a2enmod rewrite
</pre>
</div>
</div>
<p style="margin: 1em 0px; word-wrap: break-word; line-height: 1.7; color: #4a4a4a; font-family: 'Helvetica Neue', Helvetica, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif;">有効になったことを確認する</p>
<div class="code-frame" data-lang="zsh" style="border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; margin: 1em 0px; border: 1px solid #cccccc; line-height: 0; color: #4a4a4a; font-family: 'Helvetica Neue', Helvetica, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif; background-color: #fbfbfb;">
<div class="highlight">
<pre style="padding: 8px 15px; font-family: 'Bitstream Vera Sans Mono', Courier, monospace; font-size: 13px; color: #333333; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; margin-top: 0px; margin-bottom: 0px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 0px; background-color: transparent;">% ls -al /etc/apache2/mods-enabled/rewrite.load
lrwxrwxrwx 1 root root 30 Feb  2 20:12 /etc/apache2/mods-enabled/rewrite.load -&gt; ../mods-available/rewrite.load
</pre>
</div>
</div>
<h1 style="margin: 1.3em 0px 0.7em; font-family: 'Helvetica Neue', Helvetica, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif; line-height: 1.3; color: #4a4a4a; text-rendering: optimizelegibility; font-size: 24px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; padding: 3px 10px; text-shadow: rgba(255, 255, 255, 0.6) 0px 1px 0px; position: relative; background-color: rgba(0, 0, 0, 0.0980392);"><span id="1-2" class="fragment" style="position: relative; top: -10px; display: block;"></span><a href="http://qiita.com/hyperkinoko/items/de018714c95e675fd5f9#1-2" style="color: #117ec6; text-decoration: none; word-wrap: break-word; word-break: break-all;"></a>apache設定ファイルのAllowOverrideを書き換える</h1>
<p style="margin: 1em 0px; word-wrap: break-word; line-height: 1.7; color: #4a4a4a; font-family: 'Helvetica Neue', Helvetica, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif;">よく httpd.conf というファイル名で見られる、いわゆるapacheの設定ファイルみたいなものは、Ubuntuでは、apache2.confであり、しかも、AllowOverrideについては、そのファイルではなく<br />
/etc/apache2/sites-available/default<br />
に書き込むのだそうだ<br />
私自身は結構ハマったところだが、Ubuntuを使い慣れている方は大丈夫なのだろう</p>
<div class="code-frame" data-lang="" style="border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; margin: 1em 0px; border: 1px solid #cccccc; line-height: 0; color: #4a4a4a; font-family: 'Helvetica Neue', Helvetica, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif; background-color: #fbfbfb;">
<div class="code-lang" style="border-bottom-right-radius: 3px; color: #555555; display: inline-block; padding: 3px 6px; margin: 0px; line-height: 12px; font-size: 12px; border-right-style: solid; border-right-width: 1px; border-right-color: #cccccc; border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #cccccc; background-color: #eeeeee;"><span class="bold">/etc/apache2/sites-available/default</span></div>
<div class="highlight">
<pre style="padding: 8px 15px; font-family: 'Bitstream Vera Sans Mono', Courier, monospace; font-size: 13px; color: #333333; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; margin-top: 0px; margin-bottom: 0px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 0px; background-color: transparent;"><span class="nt" style="color: #008000; font-weight: bold;">&lt;Directory</span> <span class="err" style="border: 1px solid #ff0000;">/var/www</span><span class="nt" style="color: #008000; font-weight: bold;">/&gt;</span>
    Options Indexes FollowSymLinks MultiViews
#   AllowOverride None
    AllowOverride All
    Order allow,deny
    allow from all
<span class="nt" style="color: #008000; font-weight: bold;">&lt;/Directory&gt;</span>
</pre>
</div>
</div>
<p style="margin: 1em 0px; word-wrap: break-word; line-height: 1.7; color: #4a4a4a; font-family: 'Helvetica Neue', Helvetica, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif;">そしてapacheを再起動する</p>
<div class="code-frame" data-lang="zsh" style="border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; margin: 1em 0px; border: 1px solid #cccccc; line-height: 0; color: #4a4a4a; font-family: 'Helvetica Neue', Helvetica, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif; background-color: #fbfbfb;">
<div class="highlight">
<pre style="padding: 8px 15px; font-family: 'Bitstream Vera Sans Mono', Courier, monospace; font-size: 13px; color: #333333; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; margin-top: 0px; margin-bottom: 0px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 0px; background-color: transparent;">% sudo service apache2 restart
</pre>
</div>
</div>
<h1 style="margin: 1.3em 0px 0.7em; font-family: 'Helvetica Neue', Helvetica, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif; line-height: 1.3; color: #4a4a4a; text-rendering: optimizelegibility; font-size: 24px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; padding: 3px 10px; text-shadow: rgba(255, 255, 255, 0.6) 0px 1px 0px; position: relative; background-color: rgba(0, 0, 0, 0.0980392);"><span id="1-3" class="fragment" style="position: relative; top: -10px; display: block;"></span><a href="http://qiita.com/hyperkinoko/items/de018714c95e675fd5f9#1-3" style="color: #117ec6; text-decoration: none; word-wrap: break-word; word-break: break-all;"></a>WordPressのパーマリンクRewrite設定を確認する</h1>
<p style="margin: 1em 0px; word-wrap: break-word; line-height: 1.7; color: #4a4a4a; font-family: 'Helvetica Neue', Helvetica, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif;">パーマリンク設定をデフォルト以外にして更新すると、wordpressフォルダの下に.htaccessが生成される<br />
自動生成されない場合は、以下のファイルを.htaccessとしてアップロードすればよいが、そもそも.htaccessが自動生成されない環境では、今後も問題が起こるのではないかと思う<br />
その.htaccessが正しく書かれているか確認する</p>
<div class="code-frame" data-lang="" style="border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; margin: 1em 0px; border: 1px solid #cccccc; line-height: 0; color: #4a4a4a; font-family: 'Helvetica Neue', Helvetica, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif; background-color: #fbfbfb;">
<div class="code-lang" style="border-bottom-right-radius: 3px; color: #555555; display: inline-block; padding: 3px 6px; margin: 0px; line-height: 12px; font-size: 12px; border-right-style: solid; border-right-width: 1px; border-right-color: #cccccc; border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #cccccc; background-color: #eeeeee;"><span class="bold">.htaccess</span></div>
<div class="highlight">
<pre style="padding: 8px 15px; font-family: 'Bitstream Vera Sans Mono', Courier, monospace; font-size: 13px; color: #333333; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; margin-top: 0px; margin-bottom: 0px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 0px; background-color: transparent;"><span class="err" style="border: 1px solid #ff0000;">#</span> <span class="nx">BEGIN</span> <span class="nx">WordPress</span>
<span class="o" style="color: #666666;">&lt;</span><span class="nx">IfModule</span> <span class="nx">mod_rewrite.c</span><span class="o" style="color: #666666;">&gt;</span>
<span class="nx">RewriteEngine</span> <span class="k" style="color: #008000; font-weight: bold;">On</span>
<span class="nx">RewriteBase</span> <span class="p">/</span><span class="nx">wordpress</span><span class="o" style="color: #666666;">/</span>
<span class="nx">RewriteRule</span> <span class="p">^</span><span class="nb" style="color: #008000;">index</span><span class="o" style="color: #666666;">\</span><span class="bp" style="color: #008000;">.</span><span class="nx">php</span><span class="err" style="border: 1px solid #ff0000;">$</span> <span class="o" style="color: #666666;">-</span> <span class="err" style="border: 1px solid #ff0000;">[</span><span class="nx">L</span><span class="cp" style="color: #bc7a00;">]</span>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php <span class="cp" style="color: #bc7a00;">[</span><span class="nx">L</span><span class="cp" style="color: #bc7a00;">]</span>
<span class="nt" style="color: #008000; font-weight: bold;">&lt;/IfModule&gt;</span>
# END WordPress</pre>
</div>
</div>]]></content:encoded>
    <dc:subject>wordpress</dc:subject>
    <dc:date>2014-08-10T09:34:34+09:00</dc:date>
    <dc:creator>No Name Ninja</dc:creator>
    <dc:publisher>NINJA BLOG</dc:publisher>
    <dc:rights>No Name Ninja</dc:rights>
  </item>
  <item rdf:about="http://flexfun.tosalog.com/wordpress/%E3%80%90wordpress%E3%80%91%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3%20%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%A7%E6%8E%A5%E7%B6%9A">
    <link>http://flexfun.tosalog.com/wordpress/%E3%80%90wordpress%E3%80%91%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3%20%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%A7%E6%8E%A5%E7%B6%9A</link>
    <title>【WordPress】プラグイン インストールで接続情報を求められた時の対処方法</title>
    <description>wp-config.phpに
define(&#039;FS_METHOD&#039;, &#039;direct&#039;);
を追記したら、表示されなくなりました。...</description>
    <content:encoded><![CDATA[<p style="border: 0px; margin: 0px 0px 2em; padding: 0px; vertical-align: baseline; color: #333333; font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Hiragino Kaku Gothic Pro', '�q���M�m�p�S Pro W3', ���C���I, Meiryo, '�l�r �o�S�V�b�N', Helvetica, Arial, Verdana, sans-serif; font-size: 16px; line-height: 24px; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><ins datetime="2012-10-17T00:50:40+00:00" style="border: 0px; margin: 0px; padding: 0px; vertical-align: baseline; background: #ffffcc;">wp-config.phpに</ins></p>
<pre style="border: 0px; margin-top: 0px; margin-bottom: 2em; padding: 1.5em; vertical-align: baseline; font-family: 'Courier 10 Pitch', Courier, monospace; color: #222222; line-height: 21px; overflow: auto; font-size: 15px; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; background-color: #f7f7f7;"><code style="border: 0px; margin: 0px; padding: 0px; vertical-align: baseline; font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px; background: transparent;">define('FS_METHOD', 'direct');</code></pre>
<p style="border: 0px; margin: 0px 0px 2em; padding: 0px; vertical-align: baseline; color: #333333; font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Hiragino Kaku Gothic Pro', '�q���M�m�p�S Pro W3', ���C���I, Meiryo, '�l�r �o�S�V�b�N', Helvetica, Arial, Verdana, sans-serif; font-size: 16px; line-height: 24px; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">を追記したら、表示されなくなりました。</p>]]></content:encoded>
    <dc:subject>wordpress</dc:subject>
    <dc:date>2014-08-09T20:50:50+09:00</dc:date>
    <dc:creator>No Name Ninja</dc:creator>
    <dc:publisher>NINJA BLOG</dc:publisher>
    <dc:rights>No Name Ninja</dc:rights>
  </item>
  <item rdf:about="http://flexfun.tosalog.com/wordpress/%E3%80%90wordpress%E3%80%91%E3%82%A2%E3%82%A4%E3%82%AD%E3%83%A3%E3%83%83%E3%83%81%E7%94%BB%E5%83%8F%E3%82%92%E8%87%AA%E5%8B%95%E7%9A%84%E3%81%AB%E3%83%AA%E3%82%B5%E3%82%A4%E3%82%BA%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95">
    <link>http://flexfun.tosalog.com/wordpress/%E3%80%90wordpress%E3%80%91%E3%82%A2%E3%82%A4%E3%82%AD%E3%83%A3%E3%83%83%E3%83%81%E7%94%BB%E5%83%8F%E3%82%92%E8%87%AA%E5%8B%95%E7%9A%84%E3%81%AB%E3%83%AA%E3%82%B5%E3%82%A4%E3%82%BA%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95</link>
    <title>【Wordpress】アイキャッチ画像を自動的にリサイズする方法</title>
    <description>ワードプレスでアイキャッチ画像は使ってますか？ 私は80%の割合で使用しています！ 使い方はサイトによって様々ですが、主に投稿のタイトル画像にしています。 アップする画像のサイズはデジカメで撮った写真や携帯で撮った写真、サイズがバラバラだと思いますが表示させる場所には指定したサイズにアップしたい！ ...</description>
    <content:encoded><![CDATA[<span style="color: #442603; font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', Osaka, sans-serif; line-height: 21px;">ワードプレスでアイキャッチ画像は使ってますか？ 私は80%の割合で使用しています！ 使い方はサイトによって様々ですが、主に投稿の</span><span style="font-size: 18px; line-height: 1.5; font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', Osaka, sans-serif; color: #442603;">タイトル画像</span><span style="color: #442603; font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', Osaka, sans-serif; line-height: 21px;">にしています。 アップする画像のサイズはデジカメで撮った写真や携帯で撮った写真、サイズがバラバラだと思いますが表示させる場所には指定したサイズにアップしたい！ そんな時に、画像サイズをリサイズしてくれるコードのメモ書きです。</span><span id="more-539" style="color: #442603; font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', Osaka, sans-serif; line-height: 21px;"></span><span style="color: #442603; font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', Osaka, sans-serif; line-height: 21px;"></span>
<h2 style="font-weight: 400; font-size: 20px; line-height: 1.5; font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', Osaka, sans-serif; width: 607.1875px; height: 35px; margin: 40px auto 5px; padding: 25px 0px 0px 59.390625px; letter-spacing: -1px; color: #442603; background: url('http://www.aimin10.com/system/wp-content/themes/aimi10/img/common/blog/title_contents.jpg') no-repeat;">アイキャッチ画像を表示させる為のコード</h2>
<span style="color: #442603; font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', Osaka, sans-serif; line-height: 21px;">まずはfunction.phpにアイキャッチを表示させる為のコードを記述</span>
<div id="highlighter_544360" class="syntaxhighlighter  " style="margin: 0px auto; padding: 0px 10px; width: 653.390625px; clear: both; color: #442603; border: 1px solid #e0e0e0; outline: 0px; float: none; vertical-align: baseline; position: relative; left: auto; top: auto; right: auto; bottom: auto; height: auto; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; direction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<div class="lines" style="ction: ltr; background: none;">
<div class="line alt1" style="ction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">1</code></td>
<td class="content"><code class="comments" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; color: #008200; background: none;">//アイキャッチ画像を使用する</code></td>
</tr>
</tbody>
</table>
</div>
<div class="line alt2" style="ction: ltr; background: none #f8f8f8;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">2</code></td>
<td class="content"><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">add_theme_support(</code><code class="string" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; color: blue; background: none;">'post-thumbnails'</code><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">);</code></td>
</tr>
</tbody>
</table>
</div>
<div class="line alt1" style="ction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">3</code></td>
<td class="content">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
<div class="line alt2" style="ction: ltr; background: none #f8f8f8;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">4</code></td>
<td class="content"><code class="comments" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; color: #008200; background: none;">//サイズを指定して切り抜きをする(縦：100px 横100px)</code></td>
</tr>
</tbody>
</table>
</div>
<div class="line alt1" style="ction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">5</code></td>
<td class="content"><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">set_post_thumbnail_size(100, 100, true);</code></td>
</tr>
</tbody>
</table>
</div>
<div class="line alt2" style="ction: ltr; background: none #f8f8f8;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">6</code></td>
<td class="content">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
<div class="line alt1" style="ction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">7</code></td>
<td class="content"><code class="comments" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; color: #008200; background: none;">//サイズを指定してリサイズさせる(縦：100px 横100px)</code></td>
</tr>
</tbody>
</table>
</div>
<div class="line alt2" style="ction: ltr; background: none #f8f8f8;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">8</code></td>
<td class="content"><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">set_post_thumbnail_size(100, 100);</code></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="text" style="margin: 10px auto 20px; padding: 10px; width: 627px; clear: both; color: #442603; font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', Osaka, sans-serif; line-height: 21px; background: #eeeeee;"><span style="font-size: 18px; line-height: 1.5;">サイズを指定して切り抜きする場合</span>は 画像の中心からサイズを測って切り取ってくれます。</div>
<div class="text" style="margin: 10px auto 20px; padding: 10px; width: 627px; clear: both; color: #442603; font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', Osaka, sans-serif; line-height: 21px; background: #eeeeee;"><span style="font-size: 18px; line-height: 1.5;">リサイズさせる場合</span>は、アップした画像の比率に合わせてリサイズされるので 指定したサイズの縦か横のどちらかで足りない状態で表示されます。</div>
<h2 style="font-weight: 400; font-size: 20px; line-height: 1.5; font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', Osaka, sans-serif; width: 607.1875px; height: 35px; margin: 40px auto 5px; padding: 25px 0px 0px 59.390625px; letter-spacing: -1px; color: #442603; background: url('http://www.aimin10.com/system/wp-content/themes/aimi10/img/common/blog/title_contents.jpg') no-repeat;">表示させたい場所に設定</h2>
<span style="color: #442603; font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', Osaka, sans-serif; line-height: 21px;">アイキャッチ画像を表示させたい箇所に以下を書きます。</span>
<div id="highlighter_312240" class="syntaxhighlighter  " style="margin: 0px auto; padding: 0px 10px; width: 653.390625px; clear: both; color: #442603; border: 1px solid #e0e0e0; outline: 0px; float: none; vertical-align: baseline; position: relative; left: auto; top: auto; right: auto; bottom: auto; height: auto; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; direction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<div class="lines" style="ction: ltr; background: none;">
<div class="line alt1" style="ction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">1</code></td>
<td class="content"><code class="comments" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; color: #008200; background: none;">//投稿させたい箇所に以下を書く▼</code></td>
</tr>
</tbody>
</table>
</div>
<div class="line alt2" style="ction: ltr; background: none #f8f8f8;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">2</code></td>
<td class="content">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
<div class="line alt1" style="ction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">3</code></td>
<td class="content"><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">&lt;?php the_post_thumbnail();?&gt;</code></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<h3 style="font-weight: normal; font-size: 20px; line-height: 1.5; font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', Osaka, sans-serif; margin: 30px auto 20px; color: #b72e26; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; padding: 6px 13.1875px 2px; width: 633.59375px; letter-spacing: -1px; background: url('http://www.aimin10.com/system/wp-content/themes/aimi10/img/common/blog/bg_h3.jpg');">サイズをリサイズする場合</h3>
<span style="color: #442603; font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', Osaka, sans-serif; line-height: 21px;">また、以下のようなパラメータを渡すことができます！ ループ内に記述してください。</span>
<div id="highlighter_445459" class="syntaxhighlighter  " style="margin: 0px auto; padding: 0px 10px; width: 653.390625px; clear: both; color: #442603; border: 1px solid #e0e0e0; outline: 0px; float: none; vertical-align: baseline; position: relative; left: auto; top: auto; right: auto; bottom: auto; height: auto; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; direction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<div class="lines" style="ction: ltr; background: none;">
<div class="line alt1" style="ction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">01</code></td>
<td class="content"><code class="comments" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; color: #008200; background: none;">//画像を縦横150pxにリサイズする場合</code></td>
</tr>
</tbody>
</table>
</div>
<div class="line alt2" style="ction: ltr; background: none #f8f8f8;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">02</code></td>
<td class="content">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
<div class="line alt1" style="ction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">03</code></td>
<td class="content"><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">&lt;?php the_post_thumbnail(</code><code class="keyword" style="line-height: 1.1em; color: #006699; background: none;">array</code><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">(150,150)); ?&gt;</code></td>
</tr>
</tbody>
</table>
</div>
<div class="line alt2" style="ction: ltr; background: none #f8f8f8;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">04</code></td>
<td class="content">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
<div class="line alt1" style="ction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">05</code></td>
<td class="content"><code class="comments" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; color: #008200; background: none;">//管理画面で設定したサイズを使う場合</code></td>
</tr>
</tbody>
</table>
</div>
<div class="line alt2" style="ction: ltr; background: none #f8f8f8;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">06</code></td>
<td class="content">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
<div class="line alt1" style="ction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">07</code></td>
<td class="content"><code class="comments" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; color: #008200; background: none;">//サムネイル</code></td>
</tr>
</tbody>
</table>
</div>
<div class="line alt2" style="ction: ltr; background: none #f8f8f8;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">08</code></td>
<td class="content"><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">&lt;?php the_post_thumbnail(</code><code class="string" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; color: blue; background: none;">'thumbnail'</code><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">); ?&gt;</code></td>
</tr>
</tbody>
</table>
</div>
<div class="line alt1" style="ction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">09</code></td>
<td class="content">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
<div class="line alt2" style="ction: ltr; background: none #f8f8f8;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">10</code></td>
<td class="content"><code class="comments" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; color: #008200; background: none;">//中サイズ</code></td>
</tr>
</tbody>
</table>
</div>
<div class="line alt1" style="ction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">11</code></td>
<td class="content"><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">&lt;?php the_post_thumbnail(</code><code class="string" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; color: blue; background: none;">'medium'</code><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">); ?&gt;</code></td>
</tr>
</tbody>
</table>
</div>
<div class="line alt2" style="ction: ltr; background: none #f8f8f8;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">12</code></td>
<td class="content">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
<div class="line alt1" style="ction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">13</code></td>
<td class="content"><code class="comments" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; color: #008200; background: none;">//大サイズ</code></td>
</tr>
</tbody>
</table>
</div>
<div class="line alt2" style="ction: ltr; background: none #f8f8f8;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">14</code></td>
<td class="content"><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">&lt;?php the_post_thumbnail(</code><code class="string" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; color: blue; background: none;">'large'</code><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">); ?&gt;</code></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<h3 style="font-weight: normal; font-size: 20px; line-height: 1.5; font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', Osaka, sans-serif; margin: 30px auto 20px; color: #b72e26; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; padding: 6px 13.1875px 2px; width: 633.59375px; letter-spacing: -1px; background: url('http://www.aimin10.com/system/wp-content/themes/aimi10/img/common/blog/bg_h3.jpg');">アイキャッチ画像が無い場合にサンプル画像を表示させる場合</h3>
<span style="color: #442603; font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', Osaka, sans-serif; line-height: 21px;">必ずしもアイキャッチがあるとは限らないですよね。 無かった時はもちろん画像が出ないわけでレイアウトも崩れてしまう。 なので、私はいつも以下を使います。 アイキャッチが無い場合も想定して、&nbsp;</span><span style="font-size: 18px; line-height: 1.5; font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', Osaka, sans-serif; color: #442603;">ある時は画像を表示</span><span style="color: #442603; font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', Osaka, sans-serif; line-height: 21px;">させ&nbsp;</span><span style="font-size: 18px; line-height: 1.5; font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', Osaka, sans-serif; color: #442603;">無い時は用意しておいた画像を表示</span><span style="color: #442603; font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', Osaka, sans-serif; line-height: 21px;">させます。 ついでにaltもtitleも設定できます！ 150pxでリサイズして title属性、ali属性も書き出し、画像が無い場合は他の画像を表示させる方法</span>
<div id="highlighter_791789" class="syntaxhighlighter  " style="margin: 0px auto; padding: 0px 10px; width: 653.390625px; clear: both; color: #442603; border: 1px solid #e0e0e0; outline: 0px; float: none; vertical-align: baseline; position: relative; left: auto; top: auto; right: auto; bottom: auto; height: auto; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; direction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<div class="bar                                show" style="ction: ltr; background: none;">
<div class="toolbar" style="margin: 0px auto; padding: 0px 10px; width: 72px; clear: both; border: 1px solid #e7e5dc; outline: 0px; float: none; vertical-align: baseline; position: absolute; left: auto; top: 0px; right: 0px; bottom: auto; height: auto; line-height: 1.1em; font-size: 1px; direction: ltr; background: none #f8f8f8;"><a href="http://www.aimin10.com/2012/06/%E3%82%A2%E3%82%A4%E3%82%AD%E3%83%A3%E3%83%83%E3%83%81%E7%94%BB%E5%83%8F%E3%82%92%E3%83%AA%E3%82%B5%E3%82%A4%E3%82%BA/#viewSource" title="ソースを表示" class="item viewSource" style="color: #00989d; width: 16px; height: 16px; display: block; float: left; margin-left: 8px; overflow: hidden; text-indent: -5000px; background-image: url('http://www.aimin10.com/system/wp-content/plugins/syntaxhighlighter/syntaxhighlighter2/styles/page_white_code.png'); background-repeat: no-repeat;">ソースを表示</a>
<div class="item copyToClipboard" style="margin: 0px auto; padding: 0px 10px; width: 16px; clear: both; border: 0px; outline: 0px; float: left; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; line-height: 1.1em; font-size: 1em; direction: ltr; overflow: visible; background: none;"></div>
<a href="http://www.aimin10.com/2012/06/%E3%82%A2%E3%82%A4%E3%82%AD%E3%83%A3%E3%83%83%E3%83%81%E7%94%BB%E5%83%8F%E3%82%92%E3%83%AA%E3%82%B5%E3%82%A4%E3%82%BA/#printSource" title="印刷" class="item printSource" style="color: #00989d; width: 16px; height: 16px; display: block; float: left; margin-left: 8px; overflow: hidden; text-indent: -5000px; background-image: url('http://www.aimin10.com/system/wp-content/plugins/syntaxhighlighter/syntaxhighlighter2/styles/printer.png'); background-repeat: no-repeat;">印刷</a><a href="http://www.aimin10.com/2012/06/%E3%82%A2%E3%82%A4%E3%82%AD%E3%83%A3%E3%83%83%E3%83%81%E7%94%BB%E5%83%8F%E3%82%92%E3%83%AA%E3%82%B5%E3%82%A4%E3%82%BA/#about" title="SyntaxHighlighterについて" class="item about" style="color: #00989d; width: 16px; height: 16px; display: block; float: left; margin-left: 8px; overflow: hidden; text-indent: -5000px; background-image: url('http://www.aimin10.com/system/wp-content/plugins/syntaxhighlighter/syntaxhighlighter2/styles/help.png'); background-repeat: no-repeat;">SyntaxHighlighterについて</a></div>
</div>
<div class="lines" style="ction: ltr; background: none;">
<div class="line alt1" style="ction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">1</code></td>
<td class="content"><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">&lt;?php&nbsp;</code><code class="keyword" style="line-height: 1.1em; color: #006699; background: none;">if</code>&nbsp;<code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">( has_post_thumbnail() ):&nbsp;</code><code class="comments" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; color: #008200; background: none;">// サムネイルを持っているときの処理 ?&gt;</code></td>
</tr>
</tbody>
</table>
</div>
<div class="line alt2" style="ction: ltr; background: none #f8f8f8;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">2</code></td>
<td class="content"><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">&lt;?php</code></td>
</tr>
</tbody>
</table>
</div>
<div class="line alt1" style="ction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">3</code></td>
<td class="content"><code class="variable" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; color: #aa7700; background: none;">$title</code><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">= get_the_title();</code></td>
</tr>
</tbody>
</table>
</div>
<div class="line alt2" style="ction: ltr; background: none #f8f8f8;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">4</code></td>
<td class="content"><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">the_post_thumbnail(</code><code class="keyword" style="line-height: 1.1em; color: #006699; background: none;">array</code><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">( 599,599 ),</code></td>
</tr>
</tbody>
</table>
</div>
<div class="line alt1" style="ction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">5</code></td>
<td class="content"><code class="keyword" style="line-height: 1.1em; color: #006699; background: none;">array</code><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">(&nbsp;</code><code class="string" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; color: blue; background: none;">'alt'</code>&nbsp;<code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">=&gt;</code><code class="variable" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; color: #aa7700; background: none;">$title</code><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">,&nbsp;</code><code class="string" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; color: blue; background: none;">'title'</code>&nbsp;<code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">=&gt;&nbsp;</code><code class="variable" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; color: #aa7700; background: none;">$title</code><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">)); ?&gt;</code></td>
</tr>
</tbody>
</table>
</div>
<div class="line alt2" style="ction: ltr; background: none #f8f8f8;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">6</code></td>
<td class="content"><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">&lt;?php&nbsp;</code><code class="keyword" style="line-height: 1.1em; color: #006699; background: none;">else</code><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">:&nbsp;</code><code class="comments" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; color: #008200; background: none;">// サムネイルを持っていないときの処理 ?&gt;</code></td>
</tr>
</tbody>
</table>
</div>
<div class="line alt1" style="ction: ltr; backgrounbackground-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">7</code></td>
<td class="content">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
<div class="line alt2" style="ction: ltr; background: none #f8f8f8;">
<table style="line-height: 1.1em; font-size: 1em; direction: ltr; border-collapse: collapse; background: none;">
<tbody style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<tr style="line-height: 1.1em; font-size: 1em; direction: ltr; background: none;">
<td class="number"><code style="margin: 0px; padding: 0px 0.3em 0px 0px; border: 0px; outline: 0px; text-align: right; float: none; vertical-align: baseline; position: static; left: auto; top: auto; right: auto; bottom: auto; height: auto; width: 2.7em; line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: block; background: none;">8</code></td>
<td class="content"><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">&lt;?php&nbsp;</code><code class="keyword" style="line-height: 1.1em; color: #006699; background: none;">endif</code><code class="plain" style="line-height: 1.1em; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; direction: ltr; display: inline; background: none;">; ?&gt;</code></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<span style="color: #442603; font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ ゴシック', Osaka, sans-serif; line-height: 21px;">これでスッキリ！ いちいち管理画面でサイズを設定しなくっても アイキャッチさえアップすれば思い通りのレイアウトで記事が書けます。 画像はSEO的にもあったほうが良いと言われています。 是非積極的にアイキャッチ画像を使いましょ0！！！</span><div style="clear:both"></div>]]></content:encoded>
    <dc:subject>wordpress</dc:subject>
    <dc:date>2014-08-07T19:23:11+09:00</dc:date>
    <dc:creator>No Name Ninja</dc:creator>
    <dc:publisher>NINJA BLOG</dc:publisher>
    <dc:rights>No Name Ninja</dc:rights>
  </item>
  <item rdf:about="http://flexfun.tosalog.com/wordpress/%E3%80%90wordpress%E3%80%91%E3%81%AE%E3%82%A2%E3%82%A4%E3%82%AD%E3%83%A3%E3%83%83%E3%83%81%E6%A9%9F%E8%83%BD%E3%82%92%E6%9C%89%E5%8A%B9%E5%8C%96">
    <link>http://flexfun.tosalog.com/wordpress/%E3%80%90wordpress%E3%80%91%E3%81%AE%E3%82%A2%E3%82%A4%E3%82%AD%E3%83%A3%E3%83%83%E3%83%81%E6%A9%9F%E8%83%BD%E3%82%92%E6%9C%89%E5%8A%B9%E5%8C%96</link>
    <title>【WordPress】のアイキャッチ機能を有効化</title>
    <description>アイキャッチ機能を有効化する方法
WordPressでアイキャッチ機能を有効化するには、利用しているテーマファイルの functions.php に以下のコードを追加してあげればOKです。






1



add_theme_support( &#039;post-thumbnails&#039;, array(...</description>
    <content:encoded><![CDATA[<h3 style="margin: 1em 0px 0.5em; padding: 8px; border-width: 0px 0px 1px 5px; border-bottom-style: solid; border-left-style: solid; border-bottom-color: #aaaaaa; border-left-color: #ff7f50; font-family: 'Droid Serif', 'Lucida Grande', 'segoe UI', 'Hiragino Kaku Gothic ProN', Helvetica, Arial, Verdana, 'Meiryo UI', Meiryo, sans-serif; font-size: 22px; line-height: 1.25; vertical-align: baseline; color: #181818; clear: both; background-color: #f5f5f5;">アイキャッチ機能を有効化する方法</h3>
<p style="margin: 0px 0px 18px; padding: 0px; border: 0px; font-family: 'Droid Serif', 'Lucida Grande', 'segoe UI', 'Hiragino Kaku Gothic ProN', Helvetica, Arial, Verdana, 'Meiryo UI', Meiryo, sans-serif; vertical-align: baseline; color: #555555; line-height: 2em !important; background-color: #f5f5f5;">WordPressでアイキャッチ機能を有効化するには、利用しているテーマファイルの functions.php に以下のコードを追加してあげればOKです。</p>
<div style="margin: 0px; padding: 0px; border: 0px; font-family: 'Droid Serif', 'Lucida Grande', 'segoe UI', 'Hiragino Kaku Gothic ProN', Helvetica, Arial, Verdana, 'Meiryo UI', Meiryo, sans-serif; line-height: 20px; vertical-align: baseline; color: #555555; background-color: #f5f5f5;">
<div id="highlighter_448172" class="syntaxhighlighter  php" style="margin: 0em 0px 1em !important; padding: 0px; border: 0px; font-family: inherit; font-size: 1em !important; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; vertical-align: baseline; width: 553.640625px; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important; background-color: white !important;">
<table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; border-collapse: collapse; border-spacing: 0px; width: 553px; margin: 0px !important; padding: 0px !important; border: 0px !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; background: none !important;">
<tbody style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; background: none !important;">
<tr style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; background: none !important;">
<td class="gutter" style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; color: #787878 !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; background-image: none !important; background-color: initial !important;">
<div class="line number1 index0 alt2" style="font-variant: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: #d4d0c8 !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">1</div>
</td>
<td class="code" style="font-variant: inherit; color: #333333; width: 521px; margin: 0px !important; padding: 0px !important; border: 0px !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; background-image: none !important; background-color: initial !important;">
<div class="container" style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; background: none !important;">
<div class="line number1 index0 alt2" style="font-variant: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="php plain" style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; display: inline !important; color: black !important; background: none !important;">add_theme_support( </code><code class="php string" style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; display: inline !important; color: #2a00ff !important; background: none !important;">'post-thumbnails'</code><code class="php plain" style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; display: inline !important; color: black !important; background: none !important;">, </code><code class="php keyword" style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; display: inline !important; color: #7f0055 !important; background: none !important;">array</code><code class="php plain" style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; display: inline !important; color: black !important; background: none !important;">( </code><code class="php string" style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; display: inline !important; color: #2a00ff !important; background: none !important;">'post'</code> <code class="php plain" style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; display: inline !important; color: black !important; background: none !important;">) );</code></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<p style="margin: 0px 0px 18px; padding: 0px; border: 0px; font-family: 'Droid Serif', 'Lucida Grande', 'segoe UI', 'Hiragino Kaku Gothic ProN', Helvetica, Arial, Verdana, 'Meiryo UI', Meiryo, sans-serif; vertical-align: baseline; color: #555555; line-height: 2em !important; background-color: #f5f5f5;">アイキャッチ画像を設定した時点でサイズも変えたい場合は、以下のように記述します。後述しますが、サムネイル画像のサイズは挿入する時にも指定できますので、set_post_thumbnail_size は省略しても構いません。</p>
<div style="margin: 0px; padding: 0px; border: 0px; font-family: 'Droid Serif', 'Lucida Grande', 'segoe UI', 'Hiragino Kaku Gothic ProN', Helvetica, Arial, Verdana, 'Meiryo UI', Meiryo, sans-serif; line-height: 20px; vertical-align: baseline; color: #555555; background-color: #f5f5f5;">
<div id="highlighter_399288" class="syntaxhighlighter  php" style="margin: 0em 0px 1em !important; padding: 0px; border: 0px; font-family: inherit; font-size: 1em !important; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; vertical-align: baseline; width: 553.640625px; position: relative !important; overflow-x: auto !important; overflow-y: hidden !important; background-color: white !important;">
<table border="0" cellpadding="0" cellspacing="0" style="font-variant: inherit; border-collapse: collapse; border-spacing: 0px; width: 553px; margin: 0px !important; padding: 0px !important; border: 0px !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; background: none !important;">
<tbody style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; background: none !important;">
<tr style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; background: none !important;">
<td class="gutter" style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; color: #787878 !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; background-image: none !important; background-color: initial !important;">
<div class="line number1 index0 alt2" style="font-variant: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: #d4d0c8 !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">1</div>
<div class="line number2 index1 alt1" style="font-variant: inherit; margin: 0px !important; padding: 0px 0.5em 0px 1em !important; border-width: 0px 3px 0px 0px !important; border-right-style: solid !important; border-right-color: #d4d0c8 !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;">2</div>
</td>
<td class="code" style="font-variant: inherit; color: #333333; width: 521px; margin: 0px !important; padding: 0px !important; border: 0px !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; background-image: none !important; background-color: initial !important;">
<div class="container" style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: relative !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; background: none !important;">
<div class="line number1 index0 alt2" style="font-variant: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="php plain" style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; display: inline !important; color: black !important; background: none !important;">add_theme_support( </code><code class="php string" style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; display: inline !important; color: #2a00ff !important; background: none !important;">'post-thumbnails'</code><code class="php plain" style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; display: inline !important; color: black !important; background: none !important;">, </code><code class="php keyword" style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; display: inline !important; color: #7f0055 !important; background: none !important;">array</code><code class="php plain" style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; display: inline !important; color: black !important; background: none !important;">( </code><code class="php string" style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; display: inline !important; color: #2a00ff !important; background: none !important;">'post'</code> <code class="php plain" style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; display: inline !important; color: black !important; background: none !important;">) );</code></div>
<div class="line number2 index1 alt1" style="font-variant: inherit; margin: 0px !important; padding: 0px 1em !important; border: 0px !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; white-space: pre !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"><code class="php plain" style="font-variant: inherit; margin: 0px !important; padding: 0px !important; border: 0px !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; line-height: 1.1em !important; vertical-align: baseline !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; bottom: auto !important; float: none !important; height: auto !important; left: auto !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; -webkit-box-shadow: none !important; box-shadow: none !important; display: inline !important; color: black !important; background: none !important;">set_post_thumbnail_size( 100, 100, true );</code></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<p style="margin: 0px 0px 18px; padding: 0px; border: 0px; font-family: 'Droid Serif', 'Lucida Grande', 'segoe UI', 'Hiragino Kaku Gothic ProN', Helvetica, Arial, Verdana, 'Meiryo UI', Meiryo, sans-serif; vertical-align: baseline; color: #555555; line-height: 2em !important; background-color: #f5f5f5;">set_post_thumbnail_size の第一引数で横幅、第二引数で縦幅を指定します。</p>
<p style="margin: 0px 0px 18px; padding: 0px; border: 0px; font-family: 'Droid Serif', 'Lucida Grande', 'segoe UI', 'Hiragino Kaku Gothic ProN', Helvetica, Arial, Verdana, 'Meiryo UI', Meiryo, sans-serif; vertical-align: baseline; color: #555555; line-height: 2em !important; background-color: #f5f5f5;">第三引数では画像の縮小時に切り抜きするかどうかを指定します。切り抜きする場合はtrue、しない場合はfalseを指定し、省略した場合はfalseになります。</p>
<p style="margin: 0px 0px 18px; padding: 0px; border: 0px; font-family: 'Droid Serif', 'Lucida Grande', 'segoe UI', 'Hiragino Kaku Gothic ProN', Helvetica, Arial, Verdana, 'Meiryo UI', Meiryo, sans-serif; vertical-align: baseline; color: #555555; line-height: 2em !important; background-color: #f5f5f5;">上記コードを追加してアイキャッチ画像が設定できるようになると、記事の編集画面にアイキャッチ画像の設定項目が出てきます。表示されない時は、表示オプションで「アイキャッチ画像」にチェックを入れてください。</p><div style="clear:both"></div>]]></content:encoded>
    <dc:subject>wordpress</dc:subject>
    <dc:date>2014-08-01T09:36:16+09:00</dc:date>
    <dc:creator>No Name Ninja</dc:creator>
    <dc:publisher>NINJA BLOG</dc:publisher>
    <dc:rights>No Name Ninja</dc:rights>
  </item>
</rdf:RDF>
