XF 2.2 Custom widget title link

So, it seems that I didn't quite understand the question. 🤬:ROFLMAO:
I thought he was referring to the navigation menu, not the widget link.
I'M SORRY.
 
@nicodak , I've found a way thanks to this post. Go to the template used for your widget. In this case, widget_new_threads.

Find
Code:
                    <h3 class="block-minorHeader">
                     <a href="{$link}" rel="nofollow">{$title}</a>
                    </h3>
And edit like this:
Code:
                    <h3 class="block-minorHeader">
                        <xf:if is="$title == 'YourWidgeTtitle'">
                    <a href="your URL" rel="nofollow">{$title}</a>
                            <xf:elseif is="$title == 'AnotherWidgetTitle'" />
                    <a href="another URL" rel="nofollow">{$title}</a>
                            <xf:else/>
                        <a href="{$link}" rel="nofollow">{$title}</a>
                        </xf:if>
                    </h3>
This worked for me :)
 
Back
Top Bottom