1
I’m wanting to use the Facebook plugins on comment, only I don’t want to have to keep changing the code on each page just because of the link. You can do a function that picks up the link automatically and assigns it to a variable to put this variable in the data-href
in the code below?
<div class="fb-comments" data-href="http://developers.facebook.com/docs/plugins/comments/" data-numposts="5" data-colorscheme="light"></div>
Miguel, could you [Dit] your question by adding an example of how your code is? This makes it easier in the answer.
– Filipe Oliveira