Open Social Links in a new tab rather than in the same tab

Status: Requested 1 Vote
Sloanish
Mar 30, 2021 11:05 AM
Joined Jun, 2018 132 posts

I noticed this in the websites created by Owner Reservations
The Social Header Icons open in the same tab. They need to open in their own tab so that the website does not disappear from the list of tabs. This IMHO should be default behaviour.
Otherwise, the prospective guest will end up in Facebook or Twitter and never get back to booking their vacation.

In HTML coding you do this by adding: target="_blank"
and then for security: rel="noopener noreferrer"

Example:
<p>Check out <a href="https://captainmorsehouse.com/" target="_blank" rel="noopener noreferrer"> the Captain Morse House</a>.</p>

Source Reading:
https://www.freecodecamp.org/news/how-to-use-html-to-open-link-in-new-tab/

KEH
Mar 30, 2021 12:23 PM
Joined Feb, 2021 37 posts

I agree with you, in fact personally I think all external links should open in a new window, not just social media.

But slightly confused as captainmorsehouse.com is a wordpress site and not an Ownerrez hosted site and even on the wordpress site, the social links are set to open in the same tab.

<li class="et-social-icon et-social-facebook">
<a href="https://www.facebook.com/captainmorsehouse/" class="icon">
<span>Facebook</span>
</a>
</li>
<li class="et-social-icon et-social-twitter">
<a href="https://twitter.com/captainmorse/" class="icon">
<span>Twitter</span>
</a>
</li>
<li class="et-social-icon et-social-instagram">
<a href="https://www.instagram.com/captainmorsehouse" class="icon">
<span>Instagram</span>
</a>
</li>