XF 1.1 Embed Like in a Post?


Well-known member

Is it possible in any way to embed Like link in a post? and work the same way (ajax) as it does in its own position.


Jake Bunce

XenForo moderator
Staff member
As in a "like" link for another post? It requires HTML in your post which isn't supported. But you can install this addon to allow HTML:


Then you can enter this code into a post to setup a "like" link to another post:

Rich (BB code):
<a href="posts/249/like" class="LikeLink item control like" data-container="#likes-post-249"><span></span><span class="LikeLabel">Like</span></a>
AJAX will work here, but the like/unlike text won't update correctly on refresh.