<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>マスタッシュスタッフブログ &#187; WEB系のはなし</title>
	<atom:link href="http://mustache-web.com/blog/?cat=5&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://mustache-web.com/blog</link>
	<description>マスタッシュのスタッフブログです。日常のどうでもいいことや、ちょっと使えるWEBの話とかを発信していくと思います。</description>
	<lastBuildDate>Mon, 11 Jul 2011 10:36:42 +0000</lastBuildDate>
	<language>ja</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.7.41</generator>
	<item>
		<title>【wordpress】 検索のカスタマイズ【プラグイン】</title>
		<link>http://mustache-web.com/blog/?p=41</link>
		<comments>http://mustache-web.com/blog/?p=41#comments</comments>
		<pubDate>Mon, 11 Jul 2011 09:51:21 +0000</pubDate>
		<dc:creator><![CDATA[EbiharaE]]></dc:creator>
				<category><![CDATA[WEB系のはなし]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://mustache-web.com/blog/?p=41</guid>
		<description><![CDATA[今回はwordpressカスタマイズ検索関連のお話。 wordpressをカスタマイズし、CMSサイトとして利用する際重要なのが記事の検索です。 デフォルト機能の検索はキーワード検索のみですので物足りないと思った方も多い [...]]]></description>
				<content:encoded><![CDATA[<p>今回はwordpressカスタマイズ検索関連のお話。</p>
<p>wordpressをカスタマイズし、CMSサイトとして利用する際重要なのが記事の検索です。</p>
<p>デフォルト機能の検索はキーワード検索のみですので物足りないと思った方も多いはず。</p>
<p>そこで便利なプラグイン <a href="http://wordpress.org/extend/plugins/wp-custom-fields-search/" target=_blank>wp-custom-fields-search</a></p>
<p>プラグインを導入することにより、カテゴリ・タグ・カスタムフィールド・投稿タイプで記事を絞り込むことが出来ます。</p>
<p>&nbsp;</p>
<p>■設置方法</p>
<p>・<a href="http://wordpress.org/extend/plugins/wp-custom-fields-search/" target=_blank>wp-custom-fields-search</a>にてプラグインファイルをダウンロードし、http://hogehoge/wordpress/wp-content/pluginsに解凍。</p>
<p>・<a href="http://lovelog.eternal-tears.com/wordpress/wp-plugin-ja/wp-custom-fields-search/">WP Custom Fields Searchの日本語版を配布</a> こちらのサイトに日本語化moファイルがありますので、ダウンロードしhttp://hogehoge/wordpress/wp-content/plugins/wp-fielsds-searchフォルダ内に設置。</p>
<p>・管理画面＞プラグイン　で有効化します。</p>
<p>・設定＞wp-fielsds-searchで検索条件を設定していきます。</p>
<p><a href="http://mustache-web.com/blog/wp-content/uploads/2011/07/ae46b1f460ee46f789c27b264a6cb421.jpg" rel="lightbox[41]"><img class="aligncenter size-large wp-image-55" title="名称未設定-1" src="http://mustache-web.com/blog/wp-content/uploads/2011/07/ae46b1f460ee46f789c27b264a6cb421-490x232.jpg" alt="" width="490" height="232" /></a> 設定では以下を設定できます。</p>
<p>・ラベル（ウィジェット名）</p>
<p>・データタイプ（カテゴリ・タグ・カスタムフィールド・投稿タイプの中から）</p>
<p>・データフィールド（ここでデータタイプ内の絞り込みが出来ます）</p>
<p>・ウィジェット（テキストフィールド・ラジオボタン・ドロップダウン・非表示から選べます）</p>
<p>※非表示を選ぶことで隠しの値として、事前に絞り込む事ができますが、検索結果に条件を表示するとこの非表示の値も出てしまいます。</p>
<p>また、複数のプリセットを作る事によりページごとに違う検索条件を設定出来ます。</p>
<p>&nbsp;</p>
<p>・WorｄPressのテーマファイルの任意の箇所に検索部分を出したい場合は、<br /> 以下のコードを追加します。</p>
<pre>&lt;?php if(function_exists(&#039;wp_custom_fields_search&#039;)) 
	wp_custom_fields_search&lt;/code&gt;(); ?&gt;
</pre>


プリセットを追加した場合は、


<pre>&lt;?php if(function_exists(&#039;wp_custom_fields_search&#039;)) 
	wp_custom_fields_search&lt;/code&gt;(&#039;preset-1&#039;); ?&gt;
</pre>



のようにプリセット番号が入ります。<br /><br />このプラグインかなり便利ですが、じつはor検索ができず、＆検索しかできないのが残念です。<br />現在無料の絞り込み検索カスタマイズ系のプラグインがこれしか見当たらず、有料プラグインでしたら<br /><a href="http://www.firstelement.jp/fe-advanced-search/" target=_blank>FE Advanced search</a>がor検索もできチェックボックスも使えるので便利そうです。<br /><br />かなりほしい・・・。<br />
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://mustache-web.com/blog/?feed=rss2&#038;p=41</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPressのデフォルト検索をカスタマイズ</title>
		<link>http://mustache-web.com/blog/?p=44</link>
		<comments>http://mustache-web.com/blog/?p=44#comments</comments>
		<pubDate>Mon, 11 Jul 2011 08:45:30 +0000</pubDate>
		<dc:creator><![CDATA[EbiharaE]]></dc:creator>
				<category><![CDATA[WEB系のはなし]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://mustache-web.com/blog/?p=44</guid>
		<description><![CDATA[Wordpressのデフォルトのキーワード検索で特定のカテゴリや投稿タイプ内で検索させたい場合]]></description>
				<content:encoded><![CDATA[<p>備忘録</p>
<p>&nbsp;</p>
<p>WordPressのデフォルトのキーワード検索で特定のカテゴリや投稿タイプ内で検索させたい場合</p>
<p>&nbsp;</p>
<pre>
 &lt;input name=&quot;cat&quot; type=&quot;hidden&quot; value=&quot;カテゴリーID&quot; /&gt;

&lt;input name=&quot;post_type&quot; type=&quot;hidden&quot; value=&quot;投稿タイプ名&quot; /&gt; 
</pre>


<p>&nbsp;</p>
<p>投稿タイプについてはデフォルトの投稿のみならvalue=&#8221;post&#8221;、カスタム投稿タイプならfunctoins.phpで設定した名前にするだけ。</p>
<p>ちなみにvalueにマイナスの値を入れれば除外することができます。</p>
<p>投稿タイプもマイナスできるのかな？不明。</p>
<p>&nbsp;</p>
<p>カテゴリーの指定はブログ記事とかで簡単に見つかったけど、まさか投稿タイプの指定もできるとは。</p>
<p>name属性変えればタグとかも使えるかもしれないです。試してないけど。</p>
<p>複数指定したい場合もちょっと分からないです。</p>
<p>&nbsp;</p>
<p>あとこの指定があれば検索結果ページでカテゴリーごと・投稿タイプごとにデザインの変更が簡単にできるっていう利点も付いてきます。</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://mustache-web.com/blog/?feed=rss2&#038;p=44</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE6ブラウザチェックに便利なツール「IE Tester」</title>
		<link>http://mustache-web.com/blog/?p=21</link>
		<comments>http://mustache-web.com/blog/?p=21#comments</comments>
		<pubDate>Tue, 15 Feb 2011 09:41:14 +0000</pubDate>
		<dc:creator><![CDATA[EbiharaE]]></dc:creator>
				<category><![CDATA[WEB系のはなし]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[IE6]]></category>

		<guid isPermaLink="false">http://mustache-web.com/blog/?p=21</guid>
		<description><![CDATA[ウェブサイト制作者みんなの悩みの種IE6。 最近では大分シェアも減り1割に満たないくらいになりましたが、まだまだ対応せざる負えないのが現状です。 今日ご紹介するのはコチラ！！IE Tester タブブラウザ形式でIE5. [...]]]></description>
				<content:encoded><![CDATA[
<p>ウェブサイト制作者みんなの悩みの種IE6。</p>
<p>最近では大分シェアも減り1割に満たないくらいになりましたが、まだまだ対応せざる負えないのが現状です。</p>
<p>今日ご紹介するのはコチラ！！<a title="IE Tester" href="http://www.my-debugbar.com/wiki/IETester/HomePage">IE Tester</a></p>
<p><a href="http://mustache-web.com/blog/wp-content/uploads/2011/04/ae46b1f460ee46f789c27b264a6cb421.jpg" rel="lightbox[21]"><img class="aligncenter size-large wp-image-23" title="IE Tester" src="http://mustache-web.com/blog/wp-content/uploads/2011/04/ae46b1f460ee46f789c27b264a6cb421-490x275.jpg" alt="" width="490" height="275" /></a>タブブラウザ形式でIE5.5～IE8までを一気にチェックできる素晴らしいツールです。</p>
<p>まだ使用していない方は是非一度お試しください。もちろん無料です。</p>
<p>&nbsp;</p>
<p>またその他ブラウザチェックできる<a title="Adobe BrouserLob" href="https://browserlab.adobe.com/" target="_blank">Adobe® Browser Lab</a></p>
<p>こちらも大変便利なツールです。</p>
<p><a href="http://mustache-web.com/blog/wp-content/uploads/2011/04/8089e50294910c6cb163e5cb54ad137b.jpg" rel="lightbox[21]"><img class="aligncenter size-large wp-image-24" title="Adobe Brouser Lab" src="http://mustache-web.com/blog/wp-content/uploads/2011/04/8089e50294910c6cb163e5cb54ad137b-490x236.jpg" alt="" width="490" height="236" /></a></p>
<p>いろいろなバージョンのOSでスクリーンショットをとってくれるというツールです。</p>
<p>大量のページのブラウザチェックには向きませんが大変イカしたツールです。</p>
<p>また使用には登録が必要ですが無料で使用できます。</p>
<p>対応は以下</p>
<p>IE6.0～9.0</p>
<p>FireFox2.0～4.0（OSX対応）</p>
<p>Chrome7.0～10.0</p>
<p>Safari3.0～5.0</p>
<p>いつかブラウザチェックがなくなる時代が来ることを祈っております。</p>
<p><span style="color: #999999;">とりあえずIE6は無くなれ。</span></p>
]]></content:encoded>
			<wfw:commentRss>http://mustache-web.com/blog/?feed=rss2&#038;p=21</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
