Jump to content

  • Free consultations and support
  • Live chatClick Here for Live Chat
  • Call ico 1888-906-1888
    Phone support: Open

    Ready for your call :)

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams

    Phone support: Closed

    We are back in: 1h 20m

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams

Removing WordPress Default Image Link

default image link removing wordpress

  • Please log in to reply

#1 OneDes


    Senior Member

  • Designer
  • 282 posts

Posted 19 November 2013 - 03:12 AM

When uploading images to your WordPress media library, different copies of the images in different sizes are created. It also adds a link to the image by default. If you want to remove this default link for good simply edit your functions.php file by adding this code
function wpb_imagelink_setup() {
$image_set = get_option( 'image_default_link_type' );

if ($image_set !== 'none') {
update_option('image_default_link_type', 'none');
add_action('admin_init', 'wpb_imagelink_setup', 10);

#2 bizsol


    Apprentice Designer

  • Designer
  • 6 posts

Posted 27 February 2014 - 11:04 AM

Nice, but If any want to Remove some pictures then its not good for those peoples. It's best for those people how want remove link all picture other people follow this way

  • Add your Picture in post or page
  • Then click on the picture and GOTO to pictures setting
  • Remove link URL or change it what you want

#3 ptu12


    Senior Member

  • Designer
  • 238 posts

Posted 01 March 2014 - 07:21 AM

Thank for the tip.

Also tagged with one or more of these keywords: default image link, removing, wordpress

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users