Jump to content

Adding Site Name To Title Tag


Recommended Posts

  • Administrator

This mod will add the site name to the title of all the thread listings and the thread pages. Go to FORUMDISPLAY template and find.

 <title>{vb:raw foruminfo.title_clean}<vb:if condition="$pagenumber > 1"> - {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if></title>
Replace line with.
 <title>{vb:raw vboptions.bbtitle} {vb:raw foruminfo.title_clean}<vb:if condition="$pagenumber > 1"> - {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if></title>
Go to SHOWTHREAD template and find.
 <title>{vb:raw thread.prefix_plain_html} {vb:raw thread.title}<vb:if condition="$pagenumber > '1'"> - {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if></title>
Replace with.
 <title>{vb:raw vboptions.bbtitle} - {vb:raw thread.prefix_plain_html} {vb:raw thread.title}<vb:if condition="$pagenumber > '1'"> - {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if></title>
Link to comment
Share on other sites

×
×
  • Create New...