<?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/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Passing parameters from PHP to Javascripts in plugins</title>
	<atom:link href="http://ottopress.com/2010/passing-parameters-from-php-to-javascripts-in-plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://ottopress.com/2010/passing-parameters-from-php-to-javascripts-in-plugins/</link>
	<description>You have to use an Ottopress to get fresh squeezed Otto.</description>
	<lastBuildDate>Wed, 22 May 2013 16:53:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6-beta3-24284</generator>
	<item>
		<title>By: Passing PHP Array To JavaScript Using wp_localize_script() - RonakG.com</title>
		<link>http://ottopress.com/2010/passing-parameters-from-php-to-javascripts-in-plugins/comment-page-1/#comment-11525</link>
		<dc:creator>Passing PHP Array To JavaScript Using wp_localize_script() - RonakG.com</dc:creator>
		<pubDate>Thu, 03 Jan 2013 07:54:03 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=230#comment-11525</guid>
		<description><![CDATA[[...] variable to JavaScript for your WordPress plugin, go through this very good post by Otto &#8211; Passing parameters from PHP to Javascripts in plugins This is a very safe and straightforward way to pass your PHP variables into your [...]]]></description>
		<content:encoded><![CDATA[<p>[...] variable to JavaScript for your WordPress plugin, go through this very good post by Otto &#8211; Passing parameters from PHP to Javascripts in plugins This is a very safe and straightforward way to pass your PHP variables into your [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Otto</title>
		<link>http://ottopress.com/2010/passing-parameters-from-php-to-javascripts-in-plugins/comment-page-1/#comment-11290</link>
		<dc:creator>Otto</dc:creator>
		<pubDate>Mon, 08 Oct 2012 22:22:33 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=230#comment-11290</guid>
		<description><![CDATA[jqgrid doesn&#039;t rely on having an external PHP file, it relies on having a URL to talk to in order to get the data. So you give it the URL to the admin-ajax.php file, along with a query parameter, which you catch in your plugin and use to trigger the proper output.]]></description>
		<content:encoded><![CDATA[<p>jqgrid doesn&#8217;t rely on having an external PHP file, it relies on having a URL to talk to in order to get the data. So you give it the URL to the admin-ajax.php file, along with a query parameter, which you catch in your plugin and use to trigger the proper output.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alfonso Marrero</title>
		<link>http://ottopress.com/2010/passing-parameters-from-php-to-javascripts-in-plugins/comment-page-1/#comment-11288</link>
		<dc:creator>Alfonso Marrero</dc:creator>
		<pubDate>Mon, 08 Oct 2012 22:13:59 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=230#comment-11288</guid>
		<description><![CDATA[Hi All,
I am trying to use jqgrid in a plugin. jqgrid relies on the parameter url:&#039;external.php&#039; file.

I can not think any other way than ussing wp-load.php to allow the external.php file access the wpdb functions.

Does anyone knows how to implement jqgrid without using wp-load.php....any sample much appreciated.
Thanks.]]></description>
		<content:encoded><![CDATA[<p>Hi All,<br />
I am trying to use jqgrid in a plugin. jqgrid relies on the parameter url:&#8217;external.php&#8217; file.</p>
<p>I can not think any other way than ussing wp-load.php to allow the external.php file access the wpdb functions.</p>
<p>Does anyone knows how to implement jqgrid without using wp-load.php&#8230;.any sample much appreciated.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinícius Borriello</title>
		<link>http://ottopress.com/2010/passing-parameters-from-php-to-javascripts-in-plugins/comment-page-1/#comment-11247</link>
		<dc:creator>Vinícius Borriello</dc:creator>
		<pubDate>Fri, 21 Sep 2012 14:38:31 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=230#comment-11247</guid>
		<description><![CDATA[Very nice man. Thanks!]]></description>
		<content:encoded><![CDATA[<p>Very nice man. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: error 404 when requesting a .php as a styleheet in wp 3.0.1 &#171; maniac.vardhan</title>
		<link>http://ottopress.com/2010/passing-parameters-from-php-to-javascripts-in-plugins/comment-page-1/#comment-10675</link>
		<dc:creator>error 404 when requesting a .php as a styleheet in wp 3.0.1 &#171; maniac.vardhan</dc:creator>
		<pubDate>Sun, 18 Mar 2012 04:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=230#comment-10675</guid>
		<description><![CDATA[[...] For javascripts, there&#8217;s a better way : http://ottopress.com/2010/passing-parameters-from-php-to-javascripts-in-plugins/ [...]]]></description>
		<content:encoded><![CDATA[<p>[...] For javascripts, there&#8217;s a better way : <a href="http://ottopress.com/2010/passing-parameters-from-php-to-javascripts-in-plugins/" rel="nofollow">http://ottopress.com/2010/passing-parameters-from-php-to-javascripts-in-plugins/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dilip Krishna</title>
		<link>http://ottopress.com/2010/passing-parameters-from-php-to-javascripts-in-plugins/comment-page-1/#comment-10637</link>
		<dc:creator>Dilip Krishna</dc:creator>
		<pubDate>Sat, 10 Mar 2012 18:27:51 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=230#comment-10637</guid>
		<description><![CDATA[Is there a way to preserve boolean values with wp_localize_script?]]></description>
		<content:encoded><![CDATA[<p>Is there a way to preserve boolean values with wp_localize_script?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OleVik</title>
		<link>http://ottopress.com/2010/passing-parameters-from-php-to-javascripts-in-plugins/comment-page-1/#comment-10415</link>
		<dc:creator>OleVik</dc:creator>
		<pubDate>Thu, 12 Jan 2012 14:40:35 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=230#comment-10415</guid>
		<description><![CDATA[I wholeheartedly agree there, it is as much needed as &lt;b&gt;wp_localize_script&lt;/b&gt; probably was when first introduced. A temporary solution is to hook a function that outputs pure CSS into &lt;b&gt;wp_head&lt;/b&gt;.]]></description>
		<content:encoded><![CDATA[<p>I wholeheartedly agree there, it is as much needed as <b>wp_localize_script</b> probably was when first introduced. A temporary solution is to hook a function that outputs pure CSS into <b>wp_head</b>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://ottopress.com/2010/passing-parameters-from-php-to-javascripts-in-plugins/comment-page-1/#comment-10372</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Tue, 03 Jan 2012 17:45:14 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=230#comment-10372</guid>
		<description><![CDATA[If only something similar could be done for css...]]></description>
		<content:encoded><![CDATA[<p>If only something similar could be done for css&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fiji</title>
		<link>http://ottopress.com/2010/passing-parameters-from-php-to-javascripts-in-plugins/comment-page-1/#comment-10277</link>
		<dc:creator>Fiji</dc:creator>
		<pubDate>Fri, 16 Dec 2011 15:08:05 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=230#comment-10277</guid>
		<description><![CDATA[I&#039;m making a widget and I need to send parameters from the widget code to javascript file... I put the wp_enqueue_script code line before the class code and wp_localize script in a function from the class, beacuse that where i get the paramaters from the instance, but It doesn&#039;t send the parameters.. I must be doing something wrong... where should I put wp_enqueue_script and wp_localize_script?]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m making a widget and I need to send parameters from the widget code to javascript file&#8230; I put the wp_enqueue_script code line before the class code and wp_localize script in a function from the class, beacuse that where i get the paramaters from the instance, but It doesn&#8217;t send the parameters.. I must be doing something wrong&#8230; where should I put wp_enqueue_script and wp_localize_script?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rogaroga</title>
		<link>http://ottopress.com/2010/passing-parameters-from-php-to-javascripts-in-plugins/comment-page-1/#comment-10034</link>
		<dc:creator>rogaroga</dc:creator>
		<pubDate>Wed, 26 Oct 2011 14:54:21 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=230#comment-10034</guid>
		<description><![CDATA[Ok it&#039;s necessary that the array declaration and the wp_localize_script stay before wp_head() (so inside single.php, it has to be before the header.php call. )

now it&#039;s working.]]></description>
		<content:encoded><![CDATA[<p>Ok it&#8217;s necessary that the array declaration and the wp_localize_script stay before wp_head() (so inside single.php, it has to be before the header.php call. )</p>
<p>now it&#8217;s working.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Object Caching 421/437 objects using xcache

 Served from: ottodestruct.com @ 2013-05-25 00:24:13 by W3 Total Cache -->