Facebook like button within post vanishes
-
Hello WordPress community,
I am having a minor issue that I cannot solve. Unfortunately, my search on the Internet and this forum yielded no results.
Basically, what I want to do is to include a Facebook like button right in the middle of a post/page. To accomplish this I add the following code within the text editor:
<div style=”text-align: center;”><div class=”fb-like” data-href=”http://www.URL.com” data-layout=”button_count” data-action=”like” data-show-faces=”true” data-share=”true”></div></div>
or
<div style=”text-align: center;”>
<div class=”fb-like” data-href=”http://www.URL.com” data-layout=”button_count” data-action=”like” data-show-faces=”true” data-share=”true”></div>
</div>After publishing the page looks fine and the button displays. However, after making an update the bottom vanishes and the following line of code is left:
<div style=”text-align: center;”></div>
I simply cannot find a solution to this problem, so I would be very grateful if anyone could point me in the right direction. Thank you so much!
The topic ‘Facebook like button within post vanishes’ is closed to new replies.