<?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>KADIMI [Web Dev, SEO, Linux...] &#187; WordPress</title>
	<atom:link href="http://www.kadimi.com/en/category/cms/wp/feed" rel="self" type="application/rss+xml" />
	<link>http://www.kadimi.com/en</link>
	<description>Blog &#38; Free Tech Support</description>
	<lastBuildDate>Mon, 28 Jun 2010 22:54:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>WordPress LTR/RTL</title>
		<link>http://www.kadimi.com/en/wordpress-ltr-rtl-556</link>
		<comments>http://www.kadimi.com/en/wordpress-ltr-rtl-556#comments</comments>
		<pubDate>Wed, 05 May 2010 12:14:33 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[arabic]]></category>
		<category><![CDATA[direction]]></category>
		<category><![CDATA[farsi]]></category>
		<category><![CDATA[persian]]></category>
		<category><![CDATA[RTL]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=556</guid>
		<description><![CDATA[<a href="http://www.kadimi.com/en/wordpress-ltr-rtl-556"><img align="left" hspace="5" width="150" height="134" src="http://www.kadimi.com/en/wp-content/uploads/rtl-150x134.png" class="alignleft tfe wp-post-image" alt="rtl" title="rtl" /></a>Hello, I found your website on a WordPress forum. Currently I am rebuilding a website in wordpress that is in English and Farsi. I am using the Qtranslate and a theme called suffusion which supports RTL. The theme does come a rtl.css which moves everything to the right which is great. The problem I am [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Hello,</p>
<p>I found your website on a WordPress forum. Currently I am rebuilding a website in wordpress that is in English and Farsi. I am using the Qtranslate and a theme called suffusion which supports RTL. The theme does come a rtl.css which moves everything to the right which is great. <strong>The problem I am having is switching from my LTR Style Sheet to RTL stylesheet when the language is switched.</strong> If you could be of any assistance on this it would be greatly appreciated.</p>
<p>Thank You &#8211; Chris</p></blockquote>
<p><span id="more-556"></span></p>
<p>First let&#8217;s assume that your language is xy_XY (replace with your real language like fr_FR, fa_IR, etc&#8230;)</p>
<p>The direction for the language is declared on a php file located on the same directory where your languages files reside, actually the folder <strong><code>/X/wp-content/languages/</code></strong> (where X is the path to the WP installation).</p>
<p>For each language there should be 3 files:</p>
<ul>
<li>xy_XY.mo [required]: compressed language file, all text strings are pulled from this file</li>
<li>xy_XY.po [not required]: Ignore it unless you want to modify the default WP text strings</li>
<li>xy_XY.php [not required]: Used for declaring the text direction for the xy_XY language, if not present LTR is assumed</li>
</ul>
<p><img class="alignnone size-full wp-image-563" title="rtl" src="http://www.kadimi.com/en/wp-content/uploads/rtl.png" alt="rtl" width="326" height="134" /></p>
<p>Don&#8217;t be surprised if you don&#8217;t find the php file xy_XY.php, your description suggests that it&#8217;s missing, so create it and add this line of code:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$text_direction</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;rtl&quot;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>This should fix your error and the direction will be set to RTL for your RTL language.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/wordpress-ltr-rtl-556/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Detect WordPress version</title>
		<link>http://www.kadimi.com/en/detect-wordpress-version-408</link>
		<comments>http://www.kadimi.com/en/detect-wordpress-version-408#comments</comments>
		<pubDate>Fri, 22 Jan 2010 14:03:55 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=408</guid>
		<description><![CDATA[<a href="http://www.kadimi.com/en/detect-wordpress-version-408"><img align="left" hspace="5" width="150" height="150" src="http://www.kadimi.com/en/wp-content/uploads/wordpress-version-150x150.png" class="alignleft wp-post-image tfe" alt="WordPress version" title="WordPress version" /></a>How can I detect the current WordPress version? Log in to your admin Dashboard and scroll to the bottom of the page, you&#8217;ll find your version number on the rightmost spot of the footer. Or you can view the source of one of the pages of your blog and look for the meta generator tag: [...]]]></description>
			<content:encoded><![CDATA[<h2>How can I detect the current WordPress version?</h2>
<p>Log in to your admin Dashboard and scroll to the bottom of the page, you&#8217;ll find your version number on the rightmost spot of the footer.</p>
<p><img class="alignnone size-full wp-image-409" title="WordPress version" src="http://www.kadimi.com/en/wp-content/uploads/wordpress-version.png" alt="WordPress version" width="379" height="259" /></p>
<p>Or you can view the source of one of the pages of your blog and look for the meta generator tag:</p>

<div class="wp_syntax"><div class="code"><pre class="xhtml" style="font-family:monospace;">&lt;meta name=&quot;generator&quot; content=&quot;WordPress 2.9.1&quot; /&gt;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/detect-wordpress-version-408/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress upgrade error (Allowed memory size of 33554432 bytes exhausted)</title>
		<link>http://www.kadimi.com/en/upgrade-error-387</link>
		<comments>http://www.kadimi.com/en/upgrade-error-387#comments</comments>
		<pubDate>Sat, 09 Jan 2010 09:15:28 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=387</guid>
		<description><![CDATA[The problem Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2516315 bytes) in /home/mydomain/public_html/blog/wp-includes/http.php on line 1370 This can happen at any line and with any file, not only http.php at line 1370! Explanation Don&#8217;t worry if you get this error, there is nothing wrong with your server or hosting plan [...]]]></description>
			<content:encoded><![CDATA[<h2>The problem</h2>
<blockquote><p>Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2516315 bytes) in /home/mydomain/public_html/blog/wp-includes/http.php on line 1370</p></blockquote>
<p>This can happen at any line and with any file, not only http.php at line 1370!</p>
<h2>Explanation</h2>
<p>Don&#8217;t worry if you get this error, there is nothing wrong with your server or hosting plan etc. Whenever a new version of WordPress is released, new features are added, thus more calculations, so logically more memory is needed.<br />
In older versions of WordPress (before 2.7&#8230; I think), the memory limit was set to 32M, if you are upgrading WordPress, you will probably get that error, you will have to edit the wp-settings.php file and set (I should say change) the constant WP_MEMORY_LIMIT value to 64M, giving PHP more memory to play with.</p>
<h2>The solution</h2>
<ul>
<li>Open the remote file wp-settings.php file located on the base directory where you installed your WP blog</li>
<li>find this code (probably at line 13)<br />
<blockquote><p><code>define('WP_MEMORY_LIMIT', '32M');</code></p></blockquote>
</li>
<li>Replace with<br />
<blockquote><p><code>define('WP_MEMORY_LIMIT', '64M');</code></p></blockquote>
</li>
<li>Run the upgrade process again</li>
<li>Enjoy your updated WP blog</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/upgrade-error-387/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How can I set a WordPress page as my blog homepage</title>
		<link>http://www.kadimi.com/en/page-as-homepage-362</link>
		<comments>http://www.kadimi.com/en/page-as-homepage-362#comments</comments>
		<pubDate>Tue, 27 Oct 2009 20:33:06 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=362</guid>
		<description><![CDATA[<a href="http://www.kadimi.com/en/page-as-homepage-362"><img align="left" hspace="5" width="150" height="150" src="http://www.kadimi.com/en/wp-content/uploads/wp-homepage-150x150.jpg" class="alignleft wp-post-image tfe" alt="WP homepage options " title="WP homepage options " /></a>This can be done with a few clicks from your WordPress blog control panel. So first login to your control panel, then under the Settings menu choose Reading, after the page finishes loading, choose A static page (select below) for the option Front page displays, then on the first drop-down list  that follows choose the [...]]]></description>
			<content:encoded><![CDATA[<p>This can be done with a few clicks from your WordPress blog control panel.</p>
<p>So first login to your control panel, then</p>
<ul>
<li> under the <strong>Settings</strong> menu choose <strong>Reading</strong>,</li>
<li>after the page finishes loading, choose <strong>A <span style="color: #0000ff;">static page</span> (select below)</strong> for the option <strong>Front page displays</strong>,</li>
<li>then on the first drop-down list  that follows choose the page you want to set as your blog homepage</li>
<li>save!.. you don&#8217;t wanna forget that one!</li>
</ul>
<p>You Reading settings should look as follows (in this example, the page title is &#8220;The company&#8221; ):<br />
<img class="alignnone size-full wp-image-364" title="WP homepage options " src="http://www.kadimi.com/en/wp-content/uploads/wp-homepage.jpg" alt="WP homepage options " width="413" height="199" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/page-as-homepage-362/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My category order not working after WordPress upgrade</title>
		<link>http://www.kadimi.com/en/emptymy-category-order-344</link>
		<comments>http://www.kadimi.com/en/emptymy-category-order-344#comments</comments>
		<pubDate>Thu, 13 Aug 2009 09:39:50 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=344</guid>
		<description><![CDATA[Description You just upgraded WordPress and &#8220;My Category Order&#8221; (widget and functions) do not display any categories. I hate to be you! But wait&#8230; Solution This is normal and you can fix it very easily by visiting the &#8220;My Category Order&#8221; page. When you visit the plugin page the first time after a WordPress upgrade, [...]]]></description>
			<content:encoded><![CDATA[<h3>Description</h3>
<p>You just upgraded WordPress and &#8220;My Category Order&#8221; (widget and functions) do not display any categories.<br />
I hate to be you! But wait&#8230;</p>
<h3>Solution</h3>
<p>This is normal and you can fix it very easily by visiting the &#8220;My Category Order&#8221; page. When you visit the plugin page the first time after a WordPress upgrade, it will show this message:</p>
<blockquote><p>File /home/advokata/public_html/wp-includes/taxonomy.php has been patched successfully</p></blockquote>
<p>That&#8217;s it&#8230;</p>
<p>This is the solution Andrew (plugin author) pointed out by email after I commented on the &#8220;<a href="http://geekyweekly.com/mycategoryorder">My Category Order</a>&#8221; plugin page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/emptymy-category-order-344/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On my WordPress theme, How can I find which page is being requested by the visitor?</title>
		<link>http://www.kadimi.com/en/conditional-tags-30</link>
		<comments>http://www.kadimi.com/en/conditional-tags-30#comments</comments>
		<pubDate>Tue, 10 Feb 2009 18:06:50 +0000</pubDate>
		<dc:creator>Nabil</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.kadimi.com/en/?p=30</guid>
		<description><![CDATA[So you want to know if the visitor is viewing the homepage, a category or a page? WordPress have easy functions for that: is_home() : returns true if the visitor is viewing your blog homepage is_category() : returns true if viewing a category archive is_category(&#8217;3&#8242;) : returns true if viewing the archive of the category [...]]]></description>
			<content:encoded><![CDATA[<p>So you want to know if the visitor is viewing the homepage, a category or a page?  WordPress have easy functions for that:</p>
<ul>
<li><strong>is_home()</strong> : returns <strong>true</strong> if the visitor is viewing your blog homepage</li>
<li><strong>is_category() : </strong>returns true if viewing a category archive</li>
<li><strong>is_category(&#8217;3&#8242;) : </strong>returns true if viewing the archive of the category with the id <strong>3</strong></li>
<li><strong>is_category(&#8216;People and society&#8217;): </strong>return true if viewing the archive of the category with the name <strong>People and society</strong></li>
<li><strong>is_category(&#8216;people-society&#8217;): </strong>return true if viewing the archive of the category with the slug <strong>people-society</strong></li>
</ul>
<p>These are the most used and you can find a lot more on the <a href="http://codex.wordpress.org/Conditional_Tags">WordPress Codex</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kadimi.com/en/conditional-tags-30/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
