<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>テーマでwp_enqueue_scriptを使う へのコメント</title>
	<atom:link href="http://waviaei.com/2009/05/15/using-wp-enqueue-script-in-themes/feed/" rel="self" type="application/rss+xml" />
	<link>http://waviaei.com/2009/05/15/using-wp-enqueue-script-in-themes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-wp-enqueue-script-in-themes</link>
	<description>WordPress、写真・カメラ、本、Web関連やガジェットなどの話題を書いているブログです。</description>
	<lastBuildDate>Tue, 13 Dec 2011 09:22:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>header.phpの「wp_enqueue_script」の役割について &#124; dico. より</title>
		<link>http://waviaei.com/2009/05/15/using-wp-enqueue-script-in-themes/#comment-10836</link>
		<dc:creator>header.phpの「wp_enqueue_script」の役割について &#124; dico.</dc:creator>
		<pubDate>Sat, 29 Jan 2011 21:12:35 +0000</pubDate>
		<guid isPermaLink="false">http://waviaei.com/?p=787#comment-10836</guid>
		<description>[...] 何なのだろうと思っていたが、ついに明らかとなった！ 書くのは面倒なので、こちらを参照するのだ！ ※作者の「Waviaei」さん、ありがとうございました。   カテゴリー: WORDPRESS &#160; パ [...]</description>
		<content:encoded><![CDATA[<p>[...] 何なのだろうと思っていたが、ついに明らかとなった！ 書くのは面倒なので、こちらを参照するのだ！ ※作者の「Waviaei」さん、ありがとうございました。   カテゴリー: WORDPRESS &nbsp; パ [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>wp_enqueue_scriptを使う（その２） &#171; Waviaei より</title>
		<link>http://waviaei.com/2009/05/15/using-wp-enqueue-script-in-themes/#comment-4730</link>
		<dc:creator>wp_enqueue_scriptを使う（その２） &#171; Waviaei</dc:creator>
		<pubDate>Sun, 17 May 2009 07:49:27 +0000</pubDate>
		<guid isPermaLink="false">http://waviaei.com/?p=787#comment-4730</guid>
		<description>[...] —テーマでwp_enqueue_scriptを使う « Waviaei  [...]</description>
		<content:encoded><![CDATA[<p>[...] —テーマでwp_enqueue_scriptを使う « Waviaei  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>をかもと より</title>
		<link>http://waviaei.com/2009/05/15/using-wp-enqueue-script-in-themes/#comment-4701</link>
		<dc:creator>をかもと</dc:creator>
		<pubDate>Fri, 15 May 2009 04:58:26 +0000</pubDate>
		<guid isPermaLink="false">http://waviaei.com/?p=787#comment-4701</guid>
		<description>&lt;blockquote&gt;これってwp_headの前でもOKなんですかね？それともやっぱりあとじゃなきゃだめなのかな。&lt;/blockquote&gt;

wp_enqueue_script() で登録された js は wp_head() の中で処理されるので、wp_head() より前に書かないとダメです。</description>
		<content:encoded><![CDATA[<blockquote><p>これってwp_headの前でもOKなんですかね？それともやっぱりあとじゃなきゃだめなのかな。</p></blockquote>
<p>wp_enqueue_script() で登録された js は wp_head() の中で処理されるので、wp_head() より前に書かないとダメです。</p>
]]></content:encoded>
	</item>
	<item>
		<title>Toru より</title>
		<link>http://waviaei.com/2009/05/15/using-wp-enqueue-script-in-themes/#comment-4700</link>
		<dc:creator>Toru</dc:creator>
		<pubDate>Fri, 15 May 2009 04:52:43 +0000</pubDate>
		<guid isPermaLink="false">http://waviaei.com/?p=787#comment-4700</guid>
		<description>おおおっ、そうなんですか！ありがとうございます。
これってwp_headの前でもOKなんですかね？それともやっぱりあとじゃなきゃだめなのかな。</description>
		<content:encoded><![CDATA[<p>おおおっ、そうなんですか！ありがとうございます。<br />
これってwp_headの前でもOKなんですかね？それともやっぱりあとじゃなきゃだめなのかな。</p>
]]></content:encoded>
	</item>
	<item>
		<title>をかもと より</title>
		<link>http://waviaei.com/2009/05/15/using-wp-enqueue-script-in-themes/#comment-4695</link>
		<dc:creator>をかもと</dc:creator>
		<pubDate>Thu, 14 May 2009 22:20:13 +0000</pubDate>
		<guid isPermaLink="false">http://waviaei.com/?p=787#comment-4695</guid>
		<description>どもです。
wp_enqueue_script をテーマで使うときは、わざわざフックを通さなくても大丈夫です。
header.php の冒頭にいかのように書くだけでおっけ。

&lt;code&gt;&lt;?php
wp_enqueue_script(&#039;PageScroller&#039;, get_settings(&#039;site_url&#039;).&#039;/wp-content/themes/WaviaeiDesign6/js/jquery.page-scroller-303.js&#039;, array(&#039;jquery&#039;), &#039;3.0.3&#039;);
?&gt;&lt;/code&gt;

こうしておけば、管理画面では呼び込まれないというメリットもあります。</description>
		<content:encoded><![CDATA[<p>どもです。<br />
wp_enqueue_script をテーマで使うときは、わざわざフックを通さなくても大丈夫です。<br />
header.php の冒頭にいかのように書くだけでおっけ。</p>
<p><code>&lt;?php<br />
wp_enqueue_script('PageScroller', get_settings('site_url').'/wp-content/themes/WaviaeiDesign6/js/jquery.page-scroller-303.js', array('jquery'), '3.0.3');<br />
?&gt;</code></p>
<p>こうしておけば、管理画面では呼び込まれないというメリットもあります。</p>
]]></content:encoded>
	</item>
</channel>
</rss>

