<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Desclaux.fr &#187; Post Tags &#187; Wordpress @en</title>
	<atom:link href="http://www.desclaux.fr/en/tag/wordpress-en/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.desclaux.fr/en/</link>
	<description>Web oriented development</description>
	<lastBuildDate>Thu, 29 Jul 2010 00:52:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>WPtouch in french &#8211; Update 1.9.5</title>
		<link>http://www.desclaux.fr/en/2009/11/14/wptouch-in-french-1-9-5/</link>
		<comments>http://www.desclaux.fr/en/2009/11/14/wptouch-in-french-1-9-5/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 01:57:54 +0000</pubDate>
		<dc:creator>Guillaume</dc:creator>
				<category><![CDATA[Wordpress @en]]></category>
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.desclaux.fr/?p=283</guid>
		<description><![CDATA[The translation for the WPtouch 1.9.5 update is available ! You can download the language file.]]></description>
			<content:encoded><![CDATA[<p>The translation for the WPtouch 1.9.5 update is available ! You can download <a href="/wp-content/uploads/wptouch/languages_1.9.5.zip">the language file</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.desclaux.fr/en/2009/11/14/wptouch-in-french-1-9-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to secure your WordPress blog ?</title>
		<link>http://www.desclaux.fr/en/2009/10/31/how-to-secure-wordpress/</link>
		<comments>http://www.desclaux.fr/en/2009/10/31/how-to-secure-wordpress/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 13:58:49 +0000</pubDate>
		<dc:creator>Guillaume</dc:creator>
				<category><![CDATA[Wordpress @en]]></category>
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.desclaux.fr/?p=214</guid>
		<description><![CDATA[A little tip to secure your WordPress blog (you can use it with another CMS indeed) : just put a .htaccess into you admin folder : for WordPress it&#8217;s in wp-admin Example .htaccess AuthUserFile /dev/null AuthGroupFile /dev/null AuthName "Access Control" AuthType Basic &#60;LIMIT GET&#62; order deny,allow deny from all # whitelist home IP address allow [...]]]></description>
			<content:encoded><![CDATA[<p>A little tip to secure your WordPress blog (you can use it with another CMS indeed) : just put a .htaccess into you admin folder : for WordPress it&#8217;s in wp-admin</p>
<p>Example .htaccess</p>
<pre>AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName "Access Control"
AuthType Basic
&lt;LIMIT GET&gt;
order deny,allow
deny from all
# whitelist home IP address
allow from my.ip.at.home
# whitelist work IP address
allow from my.ip.at.work
&lt;/LIMIT&gt;</pre>
<p>And of course, you change this file with your own IP addresses&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.desclaux.fr/en/2009/10/31/how-to-secure-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPML, multi language and search engine</title>
		<link>http://www.desclaux.fr/en/2009/10/31/wpml-multi-language-search-engine/</link>
		<comments>http://www.desclaux.fr/en/2009/10/31/wpml-multi-language-search-engine/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 00:35:06 +0000</pubDate>
		<dc:creator>Guillaume</dc:creator>
				<category><![CDATA[Wordpress @en]]></category>
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.desclaux.fr/?p=146</guid>
		<description><![CDATA[If you are using WordPress and the WPML plugin to manage your web site in multi language, you have surely noticed that when a visitor uses the search engine, WordPress displays the result list of the default language and not of the language currently used by the visitor&#8230; To upgrade this feature, I&#8217;ve done a [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using WordPress and the WPML plugin to manage your web site in multi language, you have surely noticed that when a visitor uses the search engine, WordPress displays the result list of the default language and not of the language currently used by the visitor&#8230;</p>
<p>To upgrade this feature, I&#8217;ve done a little patch&#8230; It&#8217;s a quick and dirty one but it works (you can easily optimise this by using a function to overload the default behavior of WordPress instead of directly modifying the standard WordPress files (and loosing your modification during the next upgrade&#8230;)</p>
<p>Update the file wp-includes/general-template.php for the function get_bloginfo like this :</p>
<pre>case 'short_language':
  $output = get_locale();
  $short_language = explode("_", $output);
  $output = $short_language[0];
break;</pre>
<p>And the on your theme (e.g. <a href="http://wordpress.org/extend/themes/inove" target="_blank">iNove</a> in wp-content/themes/inove/templates/header.php file) :</p>
<p>You just have to modify the form like this :</p>
<pre>&lt;form action="&lt;?php bloginfo('home'); ?&gt;/&lt;?php bloginfo('short_language'); ?&gt;/"
      method="get"&gt;</pre>
<p>Have fun with WordPress and WPML !</p>
<p>ps : you can also modify the links to your title/home to avoid switching language when a user click on the logo</p>
<pre>&lt;h1 id="title"&gt;
  &lt;a href="&lt;?php bloginfo('url'); ?&gt;/&lt;?php bloginfo('short_language'); ?&gt;/"&gt;
    &lt;?php bloginfo('name'); ?&gt;
  &lt;/a&gt;
&lt;/h1&gt;</pre>
<p>and for the breadcrumbs&#8230;</p>
<pre>&lt;a title="&lt;?php _e('Home', 'inove'); ?&gt;"
   href="&lt;?php echo get_settings('home'); ?&gt;/&lt;?php bloginfo('short_language'); ?&gt;/"&gt;
  &lt;?php _e('Home', 'inove'); ?&gt;
&lt;/a&gt;</pre>
<p>By the way, the idea comes from <a href="http://wpml.org/2008/12/themes-for-wordpress-cms/" target="_blank">this thread&#8230;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.desclaux.fr/en/2009/10/31/wpml-multi-language-search-engine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPtouch in french</title>
		<link>http://www.desclaux.fr/en/2009/10/31/wptouch-in-french/</link>
		<comments>http://www.desclaux.fr/en/2009/10/31/wptouch-in-french/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 23:05:22 +0000</pubDate>
		<dc:creator>Guillaume</dc:creator>
				<category><![CDATA[Wordpress @en]]></category>
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.desclaux.fr/?p=136</guid>
		<description><![CDATA[If, like me, you are using WPtouch to manage the display of your web site in &#8220;iPhone mode&#8221;&#8230; You can use the french translation I did. You have just to add this code in the beginning of your wptouch.php file under the line define( 'WPTOUCH_PROWL_APPNAME', 'WPtouch'); /** l10n */ function wptouch_plugin_localization(){ load_plugin_textdomain('wptouch', false, 'wptouch/locale'); } [...]]]></description>
			<content:encoded><![CDATA[<p>If, like me, you are using <a href="http://www.bravenewcode.com/wptouch/" target="_blank">WPtouch</a> to manage the display of your web site in &#8220;iPhone mode&#8221;&#8230; You can use the french translation I did.</p>
<p>You have just to add this code in the beginning of your <strong>wptouch.php</strong> file under the line<br />
<code>define( 'WPTOUCH_PROWL_APPNAME', 'WPtouch');</code></p>
<pre>/** l10n */
function wptouch_plugin_localization(){
  load_plugin_textdomain('wptouch', false, 'wptouch/locale');
}
add_action ('init', 'wptouch_plugin_localization');
</pre>
<p>And then unzip the <a href="/wp-content/uploads/wptouch/languages_1.9.16.zip">translation file for WPtouch 1.9.16</a> into your wptouch/locale folder.</p>
<p>You should have the following treeview :</p>
<p>./wptouch/locale<br />
./wptouch/locale/wptouch-fr_FR.mo<br />
./wptouch/locale/wptouch-fr_FR.po</p>
<p>That&#8217;s all folks<br />
The frontoffice and backoffice side of this plugin are then translated in french.</p>
<p>You can use this &#8220;addon&#8221; for free, don&#8217;t hesitate to upgrade it or send me a comment !</p>
<p>See alse :</p>
<ul>
<li><a href="http://www.desclaux.fr/en/2010/02/14/wptouch-in-french-1-9-8-1/">Bug</a></li>
<li><a href="/2009/10/31/wptouch-en-francais/#comment-160">Comment #27</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.desclaux.fr/en/2009/10/31/wptouch-in-french/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
