XF 2.2 Remove extra view link for Tweets?


Well-known member
When posting a twitter link in a thread, it always shows the tweet link next to it.

Can we disable it from showing the link next to the embedded tweet?

Looks like this on all tweets after the recent update. Never saw this before...

That will most likely be from the Twitter embed template.

It should be this:

<xf:page option="jsState.twitter" value="{{ true }}" />
<xf:js src="xf/embed.js" min="1" />

<div class="bbMediaJustifier bbCode-tweet"
      data-theme="{{ property('styleType') }}"
      ><a href="https://twitter.com/i/web/status/{$id}" rel="external" target="_blank">
    <i class="fab fa-twitter" aria-hidden="true"></i> https://twitter.com/i/web/status/{$id}</a></div>
That looks like the default markup for the autoEmbedMedia option that says "Auto-embed media, and add a link to the content within this BB code". Those links are added to the posts themselves so even if you change it back to "Auto-embed media links" you'll still have to edit old posts to remove them.
Top Bottom