<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Wordpress: Show Combined Categories</title>
	<link>http://www.franontanaya.com/blog/2008-02-17/wordpress-show-combined-categories/</link>
	<description>Diario de un escritor demasiado pobre, demasiado joven y demasiado poco posmodernista.</description>
	<pubDate>Fri, 25 Jul 2008 11:13:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Fran Ontanaya</title>
		<link>http://www.franontanaya.com/blog/2008-02-17/wordpress-show-combined-categories/#comment-1518</link>
		<dc:creator>Fran Ontanaya</dc:creator>
		<pubDate>Fri, 30 May 2008 23:38:08 +0000</pubDate>
		<guid>http://www.franontanaya.com/blog/2008-02-17/wordpress-show-combined-categories/#comment-1518</guid>
		<description>With a PHP setcookie. It can be done straight via javascript (look for javascript cookies and javascript page reload), but I didn't want to use javascript, so I needed to pass the option and catch it on reload thru $_GET['lang'], then do setcookie(...). From then on, the language is read from the cookie ($_COOKIE['whavever'], it's loaded automatically) and the lang argument isn't needed anymore. A regular form can work too for the same purpose.

Some of the template files need to declare the language variable as global, as in 'global $mylang;', to read the value previously retrieved from the cookie or the GET argument.</description>
		<content:encoded><![CDATA[<p>With a PHP setcookie. It can be done straight via javascript (look for javascript cookies and javascript page reload), but I didn&#8217;t want to use javascript, so I needed to pass the option and catch it on reload thru $_GET[&#8217;lang&#8217;], then do setcookie(&#8230;). From then on, the language is read from the cookie ($_COOKIE[&#8217;whavever&#8217;], it&#8217;s loaded automatically) and the lang argument isn&#8217;t needed anymore. A regular form can work too for the same purpose.</p>
<p>Some of the template files need to declare the language variable as global, as in &#8216;global $mylang;&#8217;, to read the value previously retrieved from the cookie or the GET argument.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lene</title>
		<link>http://www.franontanaya.com/blog/2008-02-17/wordpress-show-combined-categories/#comment-1517</link>
		<dc:creator>Lene</dc:creator>
		<pubDate>Fri, 30 May 2008 21:01:49 +0000</pubDate>
		<guid>http://www.franontanaya.com/blog/2008-02-17/wordpress-show-combined-categories/#comment-1517</guid>
		<description>Dear Fran,
thank you so much for sharing this. Clicking a specific language here on your site the URL changes to e.g. ".../?lang=en". Would you reveal to us, how you get and store the language code ($wpidioma -?) filled?</description>
		<content:encoded><![CDATA[<p>Dear Fran,<br />
thank you so much for sharing this. Clicking a specific language here on your site the URL changes to e.g. &#8220;&#8230;/?lang=en&#8221;. Would you reveal to us, how you get and store the language code ($wpidioma -?) filled?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#187; Wordpress: Filter Posts by Category at Home Page and Feed by The Transgenic Writer</title>
		<link>http://www.franontanaya.com/blog/2008-02-17/wordpress-show-combined-categories/#comment-1144</link>
		<dc:creator>&#187; Wordpress: Filter Posts by Category at Home Page and Feed by The Transgenic Writer</dc:creator>
		<pubDate>Sun, 17 Feb 2008 05:16:25 +0000</pubDate>
		<guid>http://www.franontanaya.com/blog/2008-02-17/wordpress-show-combined-categories/#comment-1144</guid>
		<description>[...] &#171; Wordpress: Show Combined Categorieswordpress [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] &laquo; Wordpress: Show Combined Categorieswordpress [&#8230;]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
