Question

I have a wordpress site with like buttons that are generated for each post and given the_permalink as the url. I have set the standard opengraph tags in the header of the template, but then of course the problem is that every single like button will post the same title, description and image etc.

The problem lies in that I can't set the tags within the loop because the meta tags have to be in the header?

Is there any solution to this problem? I've tried a number of plugins but they all seem overly complicated and hard to position properly within the template.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top