XF 2.2 Can we hide prefixes on social shares?

drastic

Well-known member
If you're using prefixes and share a thread to Facebook, the prefix appears before the title.

Is there something I can edit in the template so the prefixes are no longer part of the titles at all?

Screenshot_44.webp
 
Solution
You can edit the thread_view template and change line 1 to this:
Code:
<xf:title page="{$page}">{$thread.title}</xf:title>

Although that will also remove the prefix and hyphen from the browser tab.
You can edit the thread_view template and change line 1 to this:
Code:
<xf:title page="{$page}">{$thread.title}</xf:title>

Although that will also remove the prefix and hyphen from the browser tab.
 
Solution
Top Bottom