1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Alter Title Tag For Threads With Polls

Discussion in 'Styling and Customization Questions' started by BamaStangGuy, Oct 12, 2016.

  1. BamaStangGuy

    BamaStangGuy Well-Known Member

    I'd like to alter the <title> tags for threads that have polls. Is there a conditional I can use?
  2. Chris D

    Chris D XenForo Developer Staff Member

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

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

    BamaStangGuy Well-Known Member

Share This Page