XenForo Buttons for Widget Homepage header position

GuDron

Super Moderator
Staff member
Super Moderator
Jan 28, 2020
666
7
134
Language
English
GuDron submitted a new resource:

Buttons for Widget Homepage header position - Add Buttons for Widget In Homepage Header

As requested, I'm adding this customization here.

First, this will be the result:
View attachment 38

To achieve that, create an HTML widget and set the widget key for it.
View attachment 39

In Display condition field add: $xf.visitor.user_id

This means the widget will show only to registered users.


In the Template field add this:
HTML:
<div class="wh-header-buttons-container">
    <a class="wh-header-buttons-1"...

Read more about this resource...