<?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: Get the URL of the current page or post with PHP in WordPress</title>
	<atom:link href="http://www.axelsegebrecht.com/how-to/get-url-current-page-post-with-php-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.axelsegebrecht.com/how-to/get-url-current-page-post-with-php-wordpress/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=get-url-current-page-post-with-php-wordpress</link>
	<description>Media Producer and Technology Consultant</description>
	<lastBuildDate>Wed, 09 May 2012 14:09:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: suaskyat</title>
		<link>http://www.axelsegebrecht.com/how-to/get-url-current-page-post-with-php-wordpress/#comment-633</link>
		<dc:creator>suaskyat</dc:creator>
		<pubDate>Wed, 09 May 2012 14:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.axelsegebrecht.com/?p=13024#comment-633</guid>
		<description>your tips is what i actually looking for! my problem till now is dynamically getting the url of a page to pass it into the href parameter of facebook comments..so still i am not getting any luck to integrate the any social media inside the subpages of my site! 
 so how can i pass the url dynamically to href in this case:

  
      
    &lt;fb:comments href=&quot;&quot; width=&quot;880&quot;&gt;  

when i echo by using your code on one of my page i get: http://localhost/kripalphotography/home/kripal/IMG_0393.JPG
and i want this to get passed into href using some variable by 
$ link = http://localhost/kripalphotography/home/kripal/IMG_0393.JPG          
			

but i get the error : &quot;The comments plugin requires an href parameter.&quot; please help me to solve this problem. I am using this concept with wordpress in CMS site.

Thanks a lot!!</description>
		<content:encoded><![CDATA[<p>your tips is what i actually looking for! my problem till now is dynamically getting the url of a page to pass it into the href parameter of facebook comments..so still i am not getting any luck to integrate the any social media inside the subpages of my site!<br />
 so how can i pass the url dynamically to href in this case:</p>
<p> <br />
     <br />
    &lt;fb:comments href=&quot;&#8221; width=&#8221;880&#8243;&gt;  </p>
<p>when i echo by using your code on one of my page i get: <a href="http://localhost/kripalphotography/home/kripal/IMG_0393.JPG" rel="nofollow">http://localhost/kripalphotography/home/kripal/IMG_0393.JPG</a><br />
and i want this to get passed into href using some variable by<br />
$ link = <a href="http://localhost/kripalphotography/home/kripal/IMG_0393.JPG" rel="nofollow">http://localhost/kripalphotography/home/kripal/IMG_0393.JPG</a>          </p>
<p>but i get the error : &#8220;The comments plugin requires an href parameter.&#8221; please help me to solve this problem. I am using this concept with wordpress in CMS site.</p>
<p>Thanks a lot!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc
Database Caching 1/13 queries in 0.010 seconds using memcached
Object Caching 586/598 objects using apc

Served from: www.axelsegebrecht.com @ 2012-05-18 17:51:21 -->
