OPEN EXTERNAL LINKS IN NEW TABS

June 8, 2019, 12:45 am

OPEN EXTERNAL LINKS IN NEW TABS

June 8, 2019, 12:45 am by

There are a few methods of setting links to different websites open in a new tab. Here’s a simple jQuery snippet I wrote that filters through elements and sets each one’s attribute to _blank (new tab) if the link’s domain differs from the current domain:

See the Pen Open External Links in New Window by Tony Ciccarone (@tciccarone) on CodePen.

Generate Table of Contents Using H-Tags

Slugged navigation and internal links are important in search engine optimization ranking and scoring.

Open External Links in a New Tab

Here’s a simple jQuery snippet I wrote that filters through elements.

WordPress Auto Add Alt Tags

WordPress function to automatically add ALT tags to images on upload based off of the file name.

Gutenberg and ACF Pro

After updating to WordPress 5 I was getting errors when attempting to add any block to a post. Here's how I fixed it.

How to Make a Free Website

After updating to WordPress 5 I was getting errors when attempting to add any block to a post. Here's how I fixed it.