<?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: Hard coded theme links</title>
	<atom:link href="http://wpml.org/documentation/support/creating-multilingual-wordpress-themes/hard-coded-theme-links/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpml.org</link>
	<description>Using WordPress to build full multilingual websites</description>
	<lastBuildDate>Tue, 09 Mar 2010 02:31:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Michael Joanisse</title>
		<link>http://wpml.org/documentation/support/creating-multilingual-wordpress-themes/hard-coded-theme-links/comment-page-1/#comment-5313</link>
		<dc:creator>Michael Joanisse</dc:creator>
		<pubDate>Thu, 25 Feb 2010 16:10:56 +0000</pubDate>
		<guid isPermaLink="false">http://wpml.org/?page_id=1815#comment-5313</guid>
		<description>Hi there, i&#039;m using the following parameters: 



--

How can i provide the translated, alternative text for the post/page it&#039;s referencing to? Right now, this points to a page title &#039;Welcome Parents to . . .&#039; and it&#039;s anchor as intended, is replaced by words specified in parameter. 

But, how can i achieve the same thing, translating it to second language? 
I would need something similar.. 






Thank you in advance for any help.</description>
		<content:encoded><![CDATA[<p>Hi there, i&#8217;m using the following parameters: </p>
<p>&#8211;</p>
<p>How can i provide the translated, alternative text for the post/page it&#8217;s referencing to? Right now, this points to a page title &#8216;Welcome Parents to . . .&#8217; and it&#8217;s anchor as intended, is replaced by words specified in parameter. </p>
<p>But, how can i achieve the same thing, translating it to second language?<br />
I would need something similar.. </p>
<p>Thank you in advance for any help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K</title>
		<link>http://wpml.org/documentation/support/creating-multilingual-wordpress-themes/hard-coded-theme-links/comment-page-1/#comment-4807</link>
		<dc:creator>K</dc:creator>
		<pubDate>Fri, 29 Jan 2010 22:48:08 +0000</pubDate>
		<guid isPermaLink="false">http://wpml.org/?page_id=1815#comment-4807</guid>
		<description>I got my solution: I use get_permalink() from WP, with your icl_object_id, get get exactly what I want: &lt;code&gt;get_permalink(icl_object_id(2, &#039;page&#039;, true))&lt;/code&gt;, replace 2 with the page to link to.</description>
		<content:encoded><![CDATA[<p>I got my solution: I use get_permalink() from WP, with your icl_object_id, get get exactly what I want: <code>get_permalink(icl_object_id(2, 'page', true))</code>, replace 2 with the page to link to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K</title>
		<link>http://wpml.org/documentation/support/creating-multilingual-wordpress-themes/hard-coded-theme-links/comment-page-1/#comment-4805</link>
		<dc:creator>K</dc:creator>
		<pubDate>Fri, 29 Jan 2010 22:33:47 +0000</pubDate>
		<guid isPermaLink="false">http://wpml.org/?page_id=1815#comment-4805</guid>
		<description>Is there a function to get only the URI? I have a 3 huge boxes as links on the front pages and everything is contained in the &quot;a&quot; tags.

I know I can use the text variable inside this function, but it looks messy, I want less functionality for more flexibility :)</description>
		<content:encoded><![CDATA[<p>Is there a function to get only the URI? I have a 3 huge boxes as links on the front pages and everything is contained in the &#8220;a&#8221; tags.</p>
<p>I know I can use the text variable inside this function, but it looks messy, I want less functionality for more flexibility <img src='http://wpml.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ieviesis</title>
		<link>http://wpml.org/documentation/support/creating-multilingual-wordpress-themes/hard-coded-theme-links/comment-page-1/#comment-3715</link>
		<dc:creator>ieviesis</dc:creator>
		<pubDate>Mon, 07 Dec 2009 19:05:19 +0000</pubDate>
		<guid isPermaLink="false">http://wpml.org/?page_id=1815#comment-3715</guid>
		<description>It would be great if this function contained one more argument that could hold valueso of link attributes, such as title,class etc..</description>
		<content:encoded><![CDATA[<p>It would be great if this function contained one more argument that could hold valueso of link attributes, such as title,class etc..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://wpml.org/documentation/support/creating-multilingual-wordpress-themes/hard-coded-theme-links/comment-page-1/#comment-3198</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Thu, 05 Nov 2009 16:38:51 +0000</pubDate>
		<guid isPermaLink="false">http://wpml.org/?page_id=1815#comment-3198</guid>
		<description>sorry i&#039;m being stupid. The previous developer had set  the css text-transform property to lowercase. doh!</description>
		<content:encoded><![CDATA[<p>sorry i&#8217;m being stupid. The previous developer had set  the css text-transform property to lowercase. doh!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amir</title>
		<link>http://wpml.org/documentation/support/creating-multilingual-wordpress-themes/hard-coded-theme-links/comment-page-1/#comment-3197</link>
		<dc:creator>amir</dc:creator>
		<pubDate>Thu, 05 Nov 2009 16:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://wpml.org/?page_id=1815#comment-3197</guid>
		<description>Add your textdomain to the Gettext call. You&#039;re probably getting translation from WordPress .mo file.</description>
		<content:encoded><![CDATA[<p>Add your textdomain to the Gettext call. You&#8217;re probably getting translation from WordPress .mo file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://wpml.org/documentation/support/creating-multilingual-wordpress-themes/hard-coded-theme-links/comment-page-1/#comment-3196</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Thu, 05 Nov 2009 16:31:58 +0000</pubDate>
		<guid isPermaLink="false">http://wpml.org/?page_id=1815#comment-3196</guid>
		<description>Hi I&#039;m trying to use this method:
icl_link_to_element(16, &#039;post&#039;, __(&#039;Home&#039;))
The translation itself works fine, however it returns everything in lower case for some reason. Any ideas?</description>
		<content:encoded><![CDATA[<p>Hi I&#8217;m trying to use this method:<br />
icl_link_to_element(16, &#8216;post&#8217;, __(&#8216;Home&#8217;))<br />
The translation itself works fine, however it returns everything in lower case for some reason. Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maggy</title>
		<link>http://wpml.org/documentation/support/creating-multilingual-wordpress-themes/hard-coded-theme-links/comment-page-1/#comment-2672</link>
		<dc:creator>Maggy</dc:creator>
		<pubDate>Fri, 02 Oct 2009 16:04:41 +0000</pubDate>
		<guid isPermaLink="false">http://wpml.org/?page_id=1815#comment-2672</guid>
		<description>Of course. you can find it here:
http://forum.wpml.org/topic.php?id=421&amp;replies=1#post-2172

also with the right link, saw I missed the `` above.

Maggy</description>
		<content:encoded><![CDATA[<p>Of course. you can find it here:<br />
<a href="http://forum.wpml.org/topic.php?id=421&amp;replies=1#post-2172" rel="nofollow">http://forum.wpml.org/topic.php?id=421&amp;replies=1#post-2172</a></p>
<p>also with the right link, saw I missed the &#8220; above.</p>
<p>Maggy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amir</title>
		<link>http://wpml.org/documentation/support/creating-multilingual-wordpress-themes/hard-coded-theme-links/comment-page-1/#comment-2671</link>
		<dc:creator>amir</dc:creator>
		<pubDate>Fri, 02 Oct 2009 15:49:48 +0000</pubDate>
		<guid isPermaLink="false">http://wpml.org/?page_id=1815#comment-2671</guid>
		<description>Can you start a thread about that in the &lt;a href=&quot;http://forum.wpml.org&quot; rel=&quot;nofollow&quot;&gt;forum&lt;/a&gt;? Would be easier to track it there.</description>
		<content:encoded><![CDATA[<p>Can you start a thread about that in the <a href="http://forum.wpml.org" rel="nofollow">forum</a>? Would be easier to track it there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maggy</title>
		<link>http://wpml.org/documentation/support/creating-multilingual-wordpress-themes/hard-coded-theme-links/comment-page-1/#comment-2669</link>
		<dc:creator>Maggy</dc:creator>
		<pubDate>Fri, 02 Oct 2009 15:40:14 +0000</pubDate>
		<guid isPermaLink="false">http://wpml.org/?page_id=1815#comment-2669</guid>
		<description>Thanks for your reply. 
However the link to the image is to an image in a custom field, like this: 
&lt;img class=&quot;&quot; src=&quot;&quot; alt=&quot;&quot; /&gt;
No idea how to Include the ICL_LANGUAGE_CODE code into such link... i tried it in different ways, without luck. Is there a way to do it with a link like this one? I use the same image for all languages only the link should go to the page in the selected language.

Thank you,
Maggy</description>
		<content:encoded><![CDATA[<p>Thanks for your reply.<br />
However the link to the image is to an image in a custom field, like this:<br />
&lt;img class=&quot;&quot; src=&quot;&#8221; alt=&#8221;" /&gt;<br />
No idea how to Include the ICL_LANGUAGE_CODE code into such link&#8230; i tried it in different ways, without luck. Is there a way to do it with a link like this one? I use the same image for all languages only the link should go to the page in the selected language.</p>
<p>Thank you,<br />
Maggy</p>
]]></content:encoded>
	</item>
</channel>
</rss>
