HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

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.