WordPress Content Editor Default Links To New Tab/Window

Feb 14, 2018

WordPress Content Editor Default Links To New Tab/Window


This post was originally created on our sister site WP Cover.
View Original Article
February 14, 2018

When writing a new blog post or creating a new page, you’ll often use the Link icon to embed new links into the content editor.  Most know that they can force the link to open in a new tab/window by ticking the checkbox when creating the link.

While the process is easy, it is an extra click.  Extra clicks equate to more human error.  I’ve had clients ask for this checkbox to be defaulted.  It’s a pretty quick little function that can be added to your themes functions.php file:

 

function default_blank_wp_tiny_mce() {
    ?>  

The post WordPress Content Editor Default Links To New Tab/Window appeared first on WP Cover.

Additional News

Perfect!

Let's get started. Fill out the form below to email us or request a call back.