Quick tip: How to fix the version update bug regarding the image hyperlink

Quick tip: How to fix the version update bug regarding the image hyperlink

Quick tip: How to fix the version update bug regarding the image hyperlink

Upgrading your WordPress blog to the latest version, you can notice that images are now automatically made into hyperlinks to themselves. This is not quite ok in special when you are working with small size images. Here is a quick tip to fix the bug, and avoid it on future upgrades.

Open your function.php file from theme folder, and:

Add this code to set to “none” the links for images:
[code='php']update_option('image_default_link_type' , '');[/code]

Add this code to make like default option, link of images to the post:
[code='php']update_option('image_default_link_type' , 'post');[/code]

About reADactor

Try to be a mixer of inspiration, source of tutorials, tips and a reactor of your future design ideas, a place from where you can download freebies, vectors and web templates. Follow us on Twitter and Facebook

View all posts

Network News

Feedbox

Share this!

Subscribe to our RSS feed. Tweet this! StumbleUpon Reddit Digg This! Bookmark on Delicious Share on Facebook
  1. July 23, 2010 at 5:00 pm

    Nice post! ;-)

    Flying Tech

Leave a reply

*

*

Your email address will not be published. Required fields are marked *