Change position or remove thread prefix in Title tag in HTML output

Nulledinfo

Administrator
Registered
V.I.P Member
V.I.P Plus
PREMIUM
PREMIUM Plus
Anyone can change or remove the thread prefix who are using Xenforo 1.5 - 2.x
There is a Simple solution below.
Go to thread_view in Appearance > Styles >Templates and find following lines

  • For Remove Prefix from Title

Code:
<xen:title>{xen:helper threadPrefix, $thread, escaped}{$thread.title}{xen:helper pagenumber, $page}</xen:title>
<xen:h1>{xen:helper threadPrefix, $thread}{$thread.title}</xen:h1>
you can just remove the {xen:helper threadPrefix, $thread, escaped}

  • For Remove the "-" between prefix and thread title
Code:
<xen:title>{xen:helper threadPrefix, $thread, escaped, ''}{$thread.title}{xen:helper pagenumber, $page}</xen:title>
 
Toggle Sidebar

Latest resources

Top Bottom