<?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"
	>
<channel>
	<title>Comments on: How To: Load Javascript With Your WordPress Plugin</title>
	<atom:link href="http://planetozh.com/blog/2008/04/how-to-load-javascript-with-your-wordpress-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://planetozh.com/blog/2008/04/how-to-load-javascript-with-your-wordpress-plugin/?source=rss</link>
	<description>A bit of my personal life, mainly focused on my kids. A bit of code, mainly focused on Wordpress and PHP. Overall, bits of nothing in particular.</description>
	<pubDate>Thu, 28 Aug 2008 13:07:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: 2008 Plugin Competition Review, Part One &#171; planetOzh</title>
		<link>http://planetozh.com/blog/2008/04/how-to-load-javascript-with-your-wordpress-plugin/#comment-65560</link>
		<dc:creator>2008 Plugin Competition Review, Part One &#171; planetOzh</dc:creator>
		<pubDate>Thu, 07 Aug 2008 09:27:25 +0000</pubDate>
		<guid isPermaLink="false">http://planetozh.com/blog/?p=784#comment-65560</guid>
		<description>[...] make the wp-config.php including fully WP 2.6 compliant, and I would make sure the javascripts are correctly added, those are my thoughts when looking at this plugin. I will definitely give this plugin a real [...]</description>
		<content:encoded><![CDATA[<p>[...] make the wp-config.php including fully WP 2.6 compliant, and I would make sure the javascripts are correctly added, those are my thoughts when looking at this plugin. I will definitely give this plugin a real [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: teo</title>
		<link>http://planetozh.com/blog/2008/04/how-to-load-javascript-with-your-wordpress-plugin/#comment-58559</link>
		<dc:creator>teo</dc:creator>
		<pubDate>Tue, 01 Jul 2008 19:00:55 +0000</pubDate>
		<guid isPermaLink="false">http://planetozh.com/blog/?p=784#comment-58559</guid>
		<description>I want to put java script in a page created by my plugin.</description>
		<content:encoded><![CDATA[<p>I want to put java script in a page created by my plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DennisBB</title>
		<link>http://planetozh.com/blog/2008/04/how-to-load-javascript-with-your-wordpress-plugin/#comment-58481</link>
		<dc:creator>DennisBB</dc:creator>
		<pubDate>Mon, 30 Jun 2008 13:59:13 +0000</pubDate>
		<guid isPermaLink="false">http://planetozh.com/blog/?p=784#comment-58481</guid>
		<description>Good tutorial. Everything works in wp 2.5</description>
		<content:encoded><![CDATA[<p>Good tutorial. Everything works in wp 2.5</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Stone</title>
		<link>http://planetozh.com/blog/2008/04/how-to-load-javascript-with-your-wordpress-plugin/#comment-56966</link>
		<dc:creator>Tom Stone</dc:creator>
		<pubDate>Mon, 16 Jun 2008 11:20:51 +0000</pubDate>
		<guid isPermaLink="false">http://planetozh.com/blog/?p=784#comment-56966</guid>
		<description>Weeell, I might have exaggerated a bit. I guess it really only was 15 hours. And it is my second plugin experiment ever.
I'm very grateful for the download, which is the first really clear example I've seen. While there might be hundreds of plugins out there, doing it right, only two in my plugin-folder use "admin_print_scripts-", the rest adds everything to all admin pages.
I'm not sure, but looking at your example, gives me the feeling that I might have attempted it in the wrong order, and that I tried to add something to the head too late, when the head was already assembled. Just guessing.

As it turned out, the jquery color-picker I wanted to add didn't work in the admin page, so those hours was spent in vain in any case. Still, with your example, I now have a headstart, if I attempt something similar again.
Thanks!</description>
		<content:encoded><![CDATA[<p>Weeell, I might have exaggerated a bit. I guess it really only was 15 hours. And it is my second plugin experiment ever.<br />
I&#8217;m very grateful for the download, which is the first really clear example I&#8217;ve seen. While there might be hundreds of plugins out there, doing it right, only two in my plugin-folder use &#8220;admin_print_scripts-&#8221;, the rest adds everything to all admin pages.<br />
I&#8217;m not sure, but looking at your example, gives me the feeling that I might have attempted it in the wrong order, and that I tried to add something to the head too late, when the head was already assembled. Just guessing.</p>
<p>As it turned out, the jquery color-picker I wanted to add didn&#8217;t work in the admin page, so those hours was spent in vain in any case. Still, with your example, I now have a headstart, if I attempt something similar again.<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ozh</title>
		<link>http://planetozh.com/blog/2008/04/how-to-load-javascript-with-your-wordpress-plugin/#comment-56951</link>
		<dc:creator>Ozh</dc:creator>
		<pubDate>Mon, 16 Jun 2008 07:10:20 +0000</pubDate>
		<guid isPermaLink="false">http://planetozh.com/blog/?p=784#comment-56951</guid>
		<description>Tom Stone » I really can't imagine how it's possible to waste 17 hours on this. I've updated this page with an example plugin doing just what's explained here, no more, no less. You could have found similar examples in literally *hundreds* of plugins.</description>
		<content:encoded><![CDATA[<p>Tom Stone » I really can&#8217;t imagine how it&#8217;s possible to waste 17 hours on this. I&#8217;ve updated this page with an example plugin doing just what&#8217;s explained here, no more, no less. You could have found similar examples in literally *hundreds* of plugins.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Stone</title>
		<link>http://planetozh.com/blog/2008/04/how-to-load-javascript-with-your-wordpress-plugin/#comment-56923</link>
		<dc:creator>Tom Stone</dc:creator>
		<pubDate>Mon, 16 Jun 2008 01:03:39 +0000</pubDate>
		<guid isPermaLink="false">http://planetozh.com/blog/?p=784#comment-56923</guid>
		<description>Are all these tips deprecated in WP 2.5.1? I've struggled for 17 hours straight, but the only thing that works is the hook 'admin_head'.
 
"admin_print_scripts-$mypage" results in absolutely nothing, and the same with "wp_enqueue_script". Most plugin authors seem to use the plain 'admin_head', and it seems they have a really good reason - to actually get the plugin to work.
I've spend considerable time googling for any tutorial, or any readable and clear documentation, and there is none - which also seem to indicate that the advice given here isn't really supported by WP.</description>
		<content:encoded><![CDATA[<p>Are all these tips deprecated in WP 2.5.1? I&#8217;ve struggled for 17 hours straight, but the only thing that works is the hook &#8216;admin_head&#8217;.</p>
<p>&#8220;admin_print_scripts-$mypage&#8221; results in absolutely nothing, and the same with &#8220;wp_enqueue_script&#8221;. Most plugin authors seem to use the plain &#8216;admin_head&#8217;, and it seems they have a really good reason - to actually get the plugin to work.<br />
I&#8217;ve spend considerable time googling for any tutorial, or any readable and clear documentation, and there is none - which also seem to indicate that the advice given here isn&#8217;t really supported by WP.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://planetozh.com/blog/2008/04/how-to-load-javascript-with-your-wordpress-plugin/#comment-55649</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Wed, 04 Jun 2008 15:18:36 +0000</pubDate>
		<guid isPermaLink="false">http://planetozh.com/blog/?p=784#comment-55649</guid>
		<description>I did some more tinkering and found that if I merged my 2 functions so that I had on action adding the admin pages and with this function the action calls to the scripts were made that things worked very nicely.

Great tip and thanks for your help.</description>
		<content:encoded><![CDATA[<p>I did some more tinkering and found that if I merged my 2 functions so that I had on action adding the admin pages and with this function the action calls to the scripts were made that things worked very nicely.</p>
<p>Great tip and thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ozh</title>
		<link>http://planetozh.com/blog/2008/04/how-to-load-javascript-with-your-wordpress-plugin/#comment-55517</link>
		<dc:creator>Ozh</dc:creator>
		<pubDate>Tue, 03 Jun 2008 17:15:14 +0000</pubDate>
		<guid isPermaLink="false">http://planetozh.com/blog/?p=784#comment-55517</guid>
		<description>Matt » This doesnt make a difference</description>
		<content:encoded><![CDATA[<p>Matt » This doesnt make a difference</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://planetozh.com/blog/2008/04/how-to-load-javascript-with-your-wordpress-plugin/#comment-55490</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Tue, 03 Jun 2008 12:26:26 +0000</pubDate>
		<guid isPermaLink="false">http://planetozh.com/blog/?p=784#comment-55490</guid>
		<description>Great post but how would this work with a plugin written as a class?</description>
		<content:encoded><![CDATA[<p>Great post but how would this work with a plugin written as a class?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WordPress Weekly News, 16-2008: security and much more</title>
		<link>http://planetozh.com/blog/2008/04/how-to-load-javascript-with-your-wordpress-plugin/#comment-51296</link>
		<dc:creator>WordPress Weekly News, 16-2008: security and much more</dc:creator>
		<pubDate>Fri, 25 Apr 2008 08:52:43 +0000</pubDate>
		<guid isPermaLink="false">http://planetozh.com/blog/?p=784#comment-51296</guid>
		<description>[...] By PlanetOzh, how to use WordPress 2.5 tooltips to show useful info in your plugins, and how to load JavaScript code in your WordPress plugins. [...]</description>
		<content:encoded><![CDATA[<p>[...] By PlanetOzh, how to use WordPress 2.5 tooltips to show useful info in your plugins, and how to load JavaScript code in your WordPress plugins. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
