If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

WordPress. How to link a post image to a custom URL

Our Support team is ready to present you a new tutorial that shows how to insert an image to a post content and link it to any custom URL in WordPress.

WordPress. How to link a post image to a custom URL

  1. Navigate to Posts > Add new or open any existing post.

  2. Click on Add media button to add your image:

    wordpress_how_to_link_a_post_image_1

  3. You can select any image from the Media Library or upload a file from your computer.

  4. After selecting the image, see Attachment Display settings. Select Custom url in the Link to drop down and provide your URL in the field below:

    wordpress_how_to_link_a_post_image_2

  5. Click on Insert into post button when you are done.

  6. If you open the post in Text view, you will see the HTML code for the link and image:

    wordpress_how_to_link_a_post_image_3

  7. In case the image was inserted without a link, you can add it manually. Open Page/Post content in Text view and add HTML code for link. You will need to add the following code before the image:

    	 <a href="#">
    	 

    where # is your custom URL, and add the closing tag after the image code:

    	 </a>
    	 
  8. Save changes to post when you are done and check the result on your website.

Feel free to check the detailed video tutorial below:

WordPress. How to link a post image to a custom URL