XF 1.5 Alter Title Tag For Threads With Polls

Brent W

Well-known member
I'd like to alter the <title> tags for threads that have polls. Is there a conditional I can use?
 

Chris D

XenForo developer
Staff member
You would do it in the thread_view template itself, and edit the <xen:title> tag.

Code:
<xen:title><xen:if is="{$thread.discussion_type} == 'poll'">[POLL] </xen:if>Blah blah...</xen:title>
 
Top