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

XF 1.4 How to open new posts at new tabs?


Well-known member
Could it be possible for members, when they choose "New Posts", every new post to open at a new tab?
Hi. Do you mean the new posts at he navbar? If so, at the navigation template find this code:

<li><a href="{xen:link 'find-new/posts'}" rel="nofollow">{xen:if $visitor.user_id, {xen:phrase new_posts}, {xen:phrase recent_posts}}</a></li>
Change it to this:

<li><a href="{xen:link 'find-new/posts'}" rel="nofollow" target="_blank">{xen:if $visitor.user_id, {xen:phrase new_posts}, {xen:phrase recent_posts}}</a></li>
And then save the changes.