XF 2.2 How do I call a reaction title to display on a post?

Tony Cossio

Member
So I have a piece of code;

<xf:foreach loop="$post.reactions" key="$reactionID" value="$reaction"><xf:trim>
<li><xf:reaction id="{$reactionID}" small="true" /><span class="reactionCount"><span class="reactionCountSmall">x</span>{$reaction}</span></li>

What it does is lists a reaction, plus it's count. It works fine, but the raeaction title name does not show up (only the Icon).

So instead of;

:) x2

I want it to look like;

:)smile x2

What am I missing? I presume reactionsTitle or something....
 
Top Bottom