• Category Category: Wordpress
  • Comment Comments: 0
  • View View: 5786
  • View Word Count: 87

Many of you have had an issue with images being linked to an attachment page or perhaps a link to the current page in the  new WordPress. Image Linking to Attachment As you can see the image  link URL links to the attachment post URL by default. Now while some people may want this most bloggers would certainly want images to not link to anywhere unless specified. Luckily you can change the images to link to nowhere by default.


Just add the following code to your function.php page in your theme.


About the Author Gold Star Staff Member

Mohammad Permalink: http://www.articlevoid.com/?action=permalink&article=843
Website: https://mohammadg.com
About me: The webmaster of ArticleVoid. I own many other websites and I am fluent in X(HTML), PHP, Javascript, Java and C++. I spend a lot of my time online and currently own many websites. I love writing and created this website so users can share their knowledge in order to make the world just a little bit smarter!

  • authorBy:
  • writerPosted On:
  • live Published articles: 43

Post Comment