XF 2.2 How do I add my own custom buttons next to "what's new" and "post thread"?

cdub

Well-known member
I would like to add an additional custom button next to the What's New and post thread buttons on the forum list page.

What template do I need to edit to add that?
 
Code:
<xf:button href="{{ $xf.options.forumsDefaultPage == 'new_posts' ? link('forums/new-posts') : link('whats-new/posts') }}" icon="bolt">
            {{ phrase('new_posts') }}
        </xf:button>

The icon="bolt"

I made a second button and pretty well duplicated the code above and edited the link.

To differentiate the button I would like to add a Solid Bolt instead of a regular bolt.

The font awesome code is
Code:
<i class="fa-solid fa-bolt-lightning"></i>

So how do I replace "bolt" with "solid-bolt" ??
 
Back
Top Bottom