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);
Removing WordPress Default Image Link
When uploading images to your WordPress media library, different copies of the images in different sizes...
default image link removing wordpress
&nsbp;
#2
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
Also tagged with one or more of these keywords: default image link, removing, wordpress
Web Design →
CMS →
WebflowStarted by Logohugo, 03 Oct 2019 webflow, wordpress |
|
|
||
Web Design →
CMS →
How to build web with wordpress engine? please help me, thanksStarted by anzenamri, 16 May 2017 wordpress, engine, help, tips and 1 more... |
|
|
||
Designer's Resources →
Tutorials →
Add Free Live Chat in WordPressStarted by OneDes, 16 Dec 2013 free live chat, wordpress |
|
|
||
Web Design →
CMS →
Adding Google Maps in WordPress using a Widget and LightboxStarted by Ammar11, 26 Nov 2013 google maps, widget and lightbox and 1 more... |
|
|
||
Web Design →
CMS →
How to Manually add Google Maps in WordPress ?Started by Ammar11, 26 Nov 2013 google maps, wordpress |
|
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users