Setting The Default Link for An Image to “None”

I usually don’t like to have an image in a post linked to anything by default. I just want to post an image, it’s more distracting for an user to click on it and realize it’s the same thing.

So, in order to have that, in your functions.php file, in the theme folder, add the following:update_option(‘image_default_link_type’,’none’);
Next time you’ll add an image to a post it will be just it, no link wrapping it.

Have fun!

129 Newbury Street, Suite 400
Boston, MA 02116