Featured Image WordPress Content Editor Default Links To New Tab/Window

WordPress Content Editor Default Links To New Tab/Window

Cabe Nolan Author
Cabe Nolan October 10, 2017

Share:

This post was originally created on our sister site WP Cover.
View Original Article

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.

Share:

Cabe Nolan Author Image
Written by

Cabe Nolan