I want to remove the links from all my images in my posts because I now have links in my captions. I know how to do it one by one but I have hundreds of images so that isn’t an ideal option.
I know there is some code you can add to your functions.php page but my theme wont let me touch that file. If I do, it takes down the site.
Is there some other file I can edit? I looked at media.php, but wasn’t sure what to do.
In case you need it, my site is BitsyBride.com.
All your links and images are stored in the database, you can use an extension such as this one to do a mass search and replace from within the WordPress admin panel
another [hacky] approach is that you can use Javascript that loads on every page that finds all links containing images and removes the link, and retains the image.