Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.

Add class to {home_link} links of this type? [RESOLVED]

Hi there,

{home_link}
outputs
<a href="theforum/index.php" class>Home</a>

I'd like to output
<a href="theforum/index.php" class="someclass">Home</a>

{home_link class='someclass'} has no effect suggesting it does not accept parrams?

Kind regards
Gary

Comments

  • i found a reference in another theme. So I figured it out :
    {home_link format='<a href="%url" class="nav-link">%text</a>'}

Sign In or Register to comment.