<?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>Comments on: Best practice for adding JavaScript code to WordPress plugins</title> <atom:link href="http://www.prelovac.com/vladimir/best-practice-for-adding-javascript-code-to-wordpress-plugin/feed" rel="self" type="application/rss+xml" /><link>http://www.prelovac.com/vladimir/best-practice-for-adding-javascript-code-to-wordpress-plugin</link> <description>Web 2.0, Web Analytics, WordPress SEO</description> <lastBuildDate>Sat, 07 Nov 2009 15:10:06 -0600</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: Admiyn</title><link>http://www.prelovac.com/vladimir/best-practice-for-adding-javascript-code-to-wordpress-plugin/comment-page-1#comment-15247</link> <dc:creator>Admiyn</dc:creator> <pubDate></pubDate> <guid
isPermaLink="false">http://www.prelovac.com/vladimir/?p=820#comment-15247</guid> <description>Great tips, and great book
this type of tips helps a lot of new wordpress developers</description> <content:encoded><![CDATA[<p>Great tips, and great book<br
/> this type of tips helps a lot of new wordpress developers</p> ]]></content:encoded> </item> <item><title>By: WordPress优化宝典(ZZ) @ yin的个人空间</title><link>http://www.prelovac.com/vladimir/best-practice-for-adding-javascript-code-to-wordpress-plugin/comment-page-1#comment-13730</link> <dc:creator>WordPress优化宝典(ZZ) @ yin的个人空间</dc:creator> <pubDate></pubDate> <guid
isPermaLink="false">http://www.prelovac.com/vladimir/?p=820#comment-13730</guid> <description>[...] 将 CSS 文件放在网页顶部确保他们可以优先载入是一条黄金定律。JavaScript 文件应该放在网页顶部（如果可能的话）。我开发了一个简单的插件，可以将正确注册的 JavaScript 文件移到网页底部。这个插件叫做 Footer javaScript 。 [...]</description> <content:encoded><![CDATA[<p>[...] 将 CSS 文件放在网页顶部确保他们可以优先载入是一条黄金定律。JavaScript 文件应该放在网页顶部（如果可能的话）。我开发了一个简单的插件，可以将正确注册的 JavaScript 文件移到网页底部。这个插件叫做 Footer javaScript 。 [...]</p> ]]></content:encoded> </item> <item><title>By: Doug Whitney</title><link>http://www.prelovac.com/vladimir/best-practice-for-adding-javascript-code-to-wordpress-plugin/comment-page-1#comment-12993</link> <dc:creator>Doug Whitney</dc:creator> <pubDate></pubDate> <guid
isPermaLink="false">http://www.prelovac.com/vladimir/?p=820#comment-12993</guid> <description>Thanks for sharing your your expertise on developing WP plugins. They&#039;ve been a great help, especially the tips on loading javascript properly and improving security with nonce.</description> <content:encoded><![CDATA[<p>Thanks for sharing your your expertise on developing WP plugins. They've been a great help, especially the tips on loading javascript properly and improving security with nonce.</p> ]]></content:encoded> </item> <item><title>By: Smartphone</title><link>http://www.prelovac.com/vladimir/best-practice-for-adding-javascript-code-to-wordpress-plugin/comment-page-1#comment-12529</link> <dc:creator>Smartphone</dc:creator> <pubDate></pubDate> <guid
isPermaLink="false">http://www.prelovac.com/vladimir/?p=820#comment-12529</guid> <description>Excellent advise. It really help me to add JS script. Before I read your post I spent more the 3 hours trying to add JS script into my plugin.</description> <content:encoded><![CDATA[<p>Excellent advise. It really help me to add JS script. Before I read your post I spent more the 3 hours trying to add JS script into my plugin.</p> ]]></content:encoded> </item> <item><title>By: Peter</title><link>http://www.prelovac.com/vladimir/best-practice-for-adding-javascript-code-to-wordpress-plugin/comment-page-1#comment-11168</link> <dc:creator>Peter</dc:creator> <pubDate></pubDate> <guid
isPermaLink="false">http://www.prelovac.com/vladimir/?p=820#comment-11168</guid> <description>Quote :&quot;
if (!is_admin())The code above checks if the opened page is not an admin page as we do not want to load scripts there. &quot;You have no idea how much that sentence helped me. It avoided me loading unnecessary Javascript files into the admin pages.Thank you so much and thanks for sharing this.</description> <content:encoded><![CDATA[<p>Quote :</p><p>"<br
/> if (!is_admin())</p><p>The code above checks if the opened page is not an admin page as we do not want to load scripts there. "</p><p>You have no idea how much that sentence helped me. It avoided me loading unnecessary Javascript files into the admin pages.</p><p>Thank you so much and thanks for sharing this.</p> ]]></content:encoded> </item> <item><title>By: WordPress Optimization Bible - From www.prelovac.com &#124; My Web Notes</title><link>http://www.prelovac.com/vladimir/best-practice-for-adding-javascript-code-to-wordpress-plugin/comment-page-1#comment-10946</link> <dc:creator>WordPress Optimization Bible - From www.prelovac.com &#124; My Web Notes</dc:creator> <pubDate></pubDate> <guid
isPermaLink="false">http://www.prelovac.com/vladimir/?p=820#comment-10946</guid> <description>[...] on the bottom of the page (when possible). I have created a simple plugin which will move the properly registered JavaScript files to the bottom of your pages. The plugin is called Footer [...]</description> <content:encoded><![CDATA[<p>[...] on the bottom of the page (when possible). I have created a simple plugin which will move the properly registered JavaScript files to the bottom of your pages. The plugin is called Footer [...]</p> ]]></content:encoded> </item> <item><title>By: Total Fucked? &#187; Blog Archive &#187; WordPress News: Plugins Reach Milestone, New WordPress Community Project, Help to Search for WordPress Help</title><link>http://www.prelovac.com/vladimir/best-practice-for-adding-javascript-code-to-wordpress-plugin/comment-page-1#comment-10879</link> <dc:creator>Total Fucked? &#187; Blog Archive &#187; WordPress News: Plugins Reach Milestone, New WordPress Community Project, Help to Search for WordPress Help</dc:creator> <pubDate></pubDate> <guid
isPermaLink="false">http://www.prelovac.com/vladimir/?p=820#comment-10879</guid> <description>[...] also points to AJAX in Plugins from the WordPress Codex, the online manual for WordPress Users, and Best Practice for Adding JavaScript Code to WordPress Plugins by Vladimir Prelovac, worthwhile reads for all Plugin [...]</description> <content:encoded><![CDATA[<p>[...] also points to AJAX in Plugins from the WordPress Codex, the online manual for WordPress Users, and Best Practice for Adding JavaScript Code to WordPress Plugins by Vladimir Prelovac, worthwhile reads for all Plugin [...]</p> ]]></content:encoded> </item> <item><title>By: HOWTO: Make WordPress plugins work with WP Super Cache</title><link>http://www.prelovac.com/vladimir/best-practice-for-adding-javascript-code-to-wordpress-plugin/comment-page-1#comment-10738</link> <dc:creator>HOWTO: Make WordPress plugins work with WP Super Cache</dc:creator> <pubDate></pubDate> <guid
isPermaLink="false">http://www.prelovac.com/vladimir/?p=820#comment-10738</guid> <description>[...] uses to load Javascript files. That page links to a couple of good pages too including this best practices post. As of this writing, Thaya&#8217;s example don&#8217;t use wp_enqueue_script() but it&#8217;s [...]</description> <content:encoded><![CDATA[<p>[...] uses to load Javascript files. That page links to a couple of good pages too including this best practices post. As of this writing, Thaya&#8217;s example don&#8217;t use wp_enqueue_script() but it&#8217;s [...]</p> ]]></content:encoded> </item> <item><title>By: WordPress 优化宝典 &#124; Wpfans</title><link>http://www.prelovac.com/vladimir/best-practice-for-adding-javascript-code-to-wordpress-plugin/comment-page-1#comment-10650</link> <dc:creator>WordPress 优化宝典 &#124; Wpfans</dc:creator> <pubDate></pubDate> <guid
isPermaLink="false">http://www.prelovac.com/vladimir/?p=820#comment-10650</guid> <description>[...] 将 CSS 文件放在网页顶部确保他们可以优先载入是一条黄金定律。JavaScript 文件应该放在网页顶部（如果可能的话）。我开发了一个简单的插件，可以将正确注册的 JavaScript 文件移到网页底部。这个插件叫做 Footer javaScript 。 [...]</description> <content:encoded><![CDATA[<p>[...] 将 CSS 文件放在网页顶部确保他们可以优先载入是一条黄金定律。JavaScript 文件应该放在网页顶部（如果可能的话）。我开发了一个简单的插件，可以将正确注册的 JavaScript 文件移到网页底部。这个插件叫做 Footer javaScript 。 [...]</p> ]]></content:encoded> </item> <item><title>By: WordPress 最好的速度优化宝典 - Jeff-Chen.Com</title><link>http://www.prelovac.com/vladimir/best-practice-for-adding-javascript-code-to-wordpress-plugin/comment-page-1#comment-10552</link> <dc:creator>WordPress 最好的速度优化宝典 - Jeff-Chen.Com</dc:creator> <pubDate></pubDate> <guid
isPermaLink="false">http://www.prelovac.com/vladimir/?p=820#comment-10552</guid> <description>[...] 将 CSS 文件放在网页顶部确保他们可以优先载入是一条黄金定律。JavaScript 文件应该放在网页顶部（如果可能的话）。我开发了一个简单的插件，可以将正确注册的 JavaScript 文件移到网页底部。这个插件叫做 Footer javaScript 。 [...]</description> <content:encoded><![CDATA[<p>[...] 将 CSS 文件放在网页顶部确保他们可以优先载入是一条黄金定律。JavaScript 文件应该放在网页顶部（如果可能的话）。我开发了一个简单的插件，可以将正确注册的 JavaScript 文件移到网页底部。这个插件叫做 Footer javaScript 。 [...]</p> ]]></content:encoded> </item> <item><title>By: Mike</title><link>http://www.prelovac.com/vladimir/best-practice-for-adding-javascript-code-to-wordpress-plugin/comment-page-1#comment-10442</link> <dc:creator>Mike</dc:creator> <pubDate></pubDate> <guid
isPermaLink="false">http://www.prelovac.com/vladimir/?p=820#comment-10442</guid> <description>Awesome - this is just what I needed.</description> <content:encoded><![CDATA[<p>Awesome - this is just what I needed.</p> ]]></content:encoded> </item> <item><title>By: WordPress 优化宝典 &#124; 独立博客空间站</title><link>http://www.prelovac.com/vladimir/best-practice-for-adding-javascript-code-to-wordpress-plugin/comment-page-1#comment-10264</link> <dc:creator>WordPress 优化宝典 &#124; 独立博客空间站</dc:creator> <pubDate></pubDate> <guid
isPermaLink="false">http://www.prelovac.com/vladimir/?p=820#comment-10264</guid> <description>[...] 将 CSS 文件放在网页顶部确保他们可以优先载入是一条黄金定律。JavaScript 文件应该放在网页顶部（如果可能的话）。我开发了一个简单的插件，可以将正确注册的 JavaScript 文件移到网页底部。这个插件叫做 Footer javaScript 。 [...]</description> <content:encoded><![CDATA[<p>[...] 将 CSS 文件放在网页顶部确保他们可以优先载入是一条黄金定律。JavaScript 文件应该放在网页顶部（如果可能的话）。我开发了一个简单的插件，可以将正确注册的 JavaScript 文件移到网页底部。这个插件叫做 Footer javaScript 。 [...]</p> ]]></content:encoded> </item> <item><title>By: Best practice for adding JavaScript code to WordPress plugins &#187; WordPressURL</title><link>http://www.prelovac.com/vladimir/best-practice-for-adding-javascript-code-to-wordpress-plugin/comment-page-1#comment-10017</link> <dc:creator>Best practice for adding JavaScript code to WordPress plugins &#187; WordPressURL</dc:creator> <pubDate></pubDate> <guid
isPermaLink="false">http://www.prelovac.com/vladimir/?p=820#comment-10017</guid> <description>[...] Read more:  Best practice for adding JavaScript code to WordPress plugins [...]</description> <content:encoded><![CDATA[<p>[...] Read more:  Best practice for adding JavaScript code to WordPress plugins [...]</p> ]]></content:encoded> </item> <item><title>By: WordPress News: WordPress 2.7 Awesome, WordPress.com 5 Million, Plugins Updated, and WordCamp News &#187; T Jantunen.com</title><link>http://www.prelovac.com/vladimir/best-practice-for-adding-javascript-code-to-wordpress-plugin/comment-page-1#comment-7406</link> <dc:creator>WordPress News: WordPress 2.7 Awesome, WordPress.com 5 Million, Plugins Updated, and WordCamp News &#187; T Jantunen.com</dc:creator> <pubDate></pubDate> <guid
isPermaLink="false">http://www.prelovac.com/vladimir/?p=820#comment-7406</guid> <description>[...] Practice for JavaScript in WordPress Plugins: Validimir Prelovac offers some best practices for adding JavaScript to WordPress Plugins, especially for WordPress 2.7 versions which rely [...]</description> <content:encoded><![CDATA[<p>[...] Practice for JavaScript in WordPress Plugins: Validimir Prelovac offers some best practices for adding JavaScript to WordPress Plugins, especially for WordPress 2.7 versions which rely [...]</p> ]]></content:encoded> </item> <item><title>By: sibble</title><link>http://www.prelovac.com/vladimir/best-practice-for-adding-javascript-code-to-wordpress-plugin/comment-page-1#comment-7361</link> <dc:creator>sibble</dc:creator> <pubDate></pubDate> <guid
isPermaLink="false">http://www.prelovac.com/vladimir/?p=820#comment-7361</guid> <description>Thank you, I was looking for something like this :)Extremely useful!!!</description> <content:encoded><![CDATA[<p>Thank you, I was looking for something like this :)</p><p>Extremely useful!!!</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Served from: 67.222.145.100 @ 2009-11-08 01:51:33 by W3 Total Cache -->