[Resolved] Get permalink for Facebook Sharing
Hi, after trying everything and still no sucess, I had to come here.
At the end of every post I use the following:
<center><a href="http://www.facebook.com/sharer.php?&u=http://zkbtz.tk/10l2HO6"><img src="http://www.zunkabitz.com/wp-content/uploads/2013/05/CompartilharFacebook.png"></a></center>
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
The thing is, the address “zkbtz.tk/1012HO6” I only get AFTER I post the article, so, if I schedule a post, I can not use this function.
How can I use something like “the_permalink” so I don’t have to put manually the post URL?
And also, is it possible to put this code, I don’t know, maybe inside single.php so I don’t have to always put manually?
- The topic ‘[Resolved] Get permalink for Facebook Sharing’ is closed to new replies.