[RSS Feed/News] adding multiple titles to elements within same xf:button

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I am trying to add a title for data-sk-follow and another title for data-sk-unfollow but struggled to do that. Here is my code, any advice would be much appreciated

HTML:

Code:
<xf:if is="$user is not empty AND $xf.visitor.canFollowUser($user)">
                <xf:button href="{{ link('members/follow', $user) }}"
                    class="button--link"
                    data-xf-click="switch"
                    data-sk-follow= "addClass:fa-bell,removeClass:fa-bell-slash,"...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom